diff options
author | Eric Biggers <ebiggers@google.com> | 2019-11-29 10:23:04 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-12-11 16:36:56 +0800 |
commit | 332d314e25825a5dd6548664d427bfac49409af1 (patch) | |
tree | 4b671d8095d8e4837d072ce8b41845517b8f8878 /crypto/poly1305_generic.c | |
parent | 1c6a6fa8c0813c279cb0095b83b923390543666e (diff) | |
download | linux-crypto-332d314e25825a5dd6548664d427bfac49409af1.tar.gz linux-crypto-332d314e25825a5dd6548664d427bfac49409af1.zip |
crypto: skcipher - remove crypto_skcipher::keysize
Due to the removal of the blkcipher and ablkcipher algorithm types,
crypto_skcipher::keysize is now redundant since it always equals
crypto_skcipher_alg(tfm)->max_keysize.
Remove it and update crypto_skcipher_default_keysize() accordingly.
Also rename crypto_skcipher_default_keysize() to
crypto_skcipher_max_keysize() to clarify that it specifically returns
the maximum key size, not some unspecified "default".
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/poly1305_generic.c')
0 files changed, 0 insertions, 0 deletions