summaryrefslogtreecommitdiffstats
path: root/crypto/af_alg.c
diff options
context:
space:
mode:
authorHerbert Xu2017-04-06 10:16:08 +0200
committerHerbert Xu2017-04-10 13:17:26 +0200
commit4473710df1f8779c59b33737eeaa151596907761 (patch)
tree1c2a0a8e17befe7dc53385d20808300af58d599e /crypto/af_alg.c
parenthwrng: timeriomem - Improve performance for sub-jiffie update periods (diff)
downloadkernel-qcow2-linux-4473710df1f8779c59b33737eeaa151596907761.tar.gz
kernel-qcow2-linux-4473710df1f8779c59b33737eeaa151596907761.tar.xz
kernel-qcow2-linux-4473710df1f8779c59b33737eeaa151596907761.zip
crypto: user - Prepare for CRYPTO_MAX_ALG_NAME expansion
This patch hard-codes CRYPTO_MAX_NAME in the user-space API to 64, which is the current value of CRYPTO_MAX_ALG_NAME. This patch also replaces all remaining occurences of CRYPTO_MAX_ALG_NAME in the user-space API with CRYPTO_MAX_NAME. This way the user-space API will not be modified when we raise the value of CRYPTO_MAX_ALG_NAME. Furthermore, the code has been updated to handle names longer than the user-space API. They will be truncated. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: Alexander Sverdlin <alexander.sverdlin@nokia.com> Tested-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Diffstat (limited to 'crypto/af_alg.c')
0 files changed, 0 insertions, 0 deletions