diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2024-08-17 12:36:19 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-08-24 21:39:15 +0800 |
commit | 7ccb750dcac8abbfc7743aab0db6a72c1c3703c7 (patch) | |
tree | 339e83ba986dc94ec6bb5715a2b08048eddeec96 /mm/page_alloc.c | |
parent | 311eea7e37c4c0b44b557d0c100860a03b4eab65 (diff) |
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 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions