diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2017-04-06 16:16:08 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-04-10 19:17:26 +0800 |
commit | 813e2f3cf818bb3dfbc6f26b350909f171bf0914 (patch) | |
tree | acde20d3da88cf46ce31af1cac69159887c08bff /crypto/mcryptd.c | |
parent | 4192f2e526f5ad437b00eab5774de5160f826838 (diff) | |
download | linux-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/mcryptd.c')
0 files changed, 0 insertions, 0 deletions