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 | 4473710df1f8779c59b33737eeaa151596907761 (patch) | |
tree | 1c2a0a8e17befe7dc53385d20808300af58d599e /crypto/algif_hash.c | |
parent | ca3bff70ab320a9132c5524c495455526df4b078 (diff) | |
download | linux-4473710df1f8779c59b33737eeaa151596907761.tar.bz2 |
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/algif_hash.c')
0 files changed, 0 insertions, 0 deletions