summaryrefslogtreecommitdiff
path: root/crypto/cmac.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2017-04-06 16:16:08 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2017-04-10 19:17:26 +0800
commit813e2f3cf818bb3dfbc6f26b350909f171bf0914 (patch)
treeacde20d3da88cf46ce31af1cac69159887c08bff /crypto/cmac.c
parent4192f2e526f5ad437b00eab5774de5160f826838 (diff)
downloadlinux-crypto-813e2f3cf818bb3dfbc6f26b350909f171bf0914.tar.gz
linux-crypto-813e2f3cf818bb3dfbc6f26b350909f171bf0914.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/cmac.c')
0 files changed, 0 insertions, 0 deletions