diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2024-08-17 06:36:19 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-08-24 15:39:15 +0200 |
commit | 7ccb750dcac8abbfc7743aab0db6a72c1c3703c7 (patch) | |
tree | 339e83ba986dc94ec6bb5715a2b08048eddeec96 /crypto | |
parent | crypto: octeontx - Fix authenc setkey (diff) | |
download | linux-7ccb750dcac8abbfc7743aab0db6a72c1c3703c7.tar.xz linux-7ccb750dcac8abbfc7743aab0db6a72c1c3703c7.zip |
crypto: octeontx2 - 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')
0 files changed, 0 insertions, 0 deletions