diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2024-08-17 12:13:23 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-08-24 21:39:15 +0800 |
commit | 311eea7e37c4c0b44b557d0c100860a03b4eab65 (patch) | |
tree | c26cb01c066c554e1e7c974c9f319cda8c44edf9 /crypto/algapi.c | |
parent | 87a3fcf5fec5fb59ec8f23d12a56bcf2b2ee6db7 (diff) | |
download | linux-311eea7e37c4c0b44b557d0c100860a03b4eab65.tar.gz linux-311eea7e37c4c0b44b557d0c100860a03b4eab65.tar.bz2 linux-311eea7e37c4c0b44b557d0c100860a03b4eab65.zip |
crypto: octeontx - Fix authenc setkey
Use the generic crypto_authenc_extractkeys helper instead of custom
parsing code that is slightly broken. Also fix a number of memory
leaks by moving memory allocation from setkey to init_tfm (setkey
can be called multiple times over the life of a tfm).
Finally accept all hash key lengths by running the digest over
extra-long keys.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions