diff options
author | Gaurav Jain <gaurav.jain@nxp.com> | 2024-01-18 14:55:57 +0530 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-01-26 16:35:55 +0800 |
commit | c5a2f74db71a849f3a60bc153d684d6d28a0c665 (patch) | |
tree | 9f1c26b98878404cd293494ae07c344cc8c432f4 /mm/page_io.c | |
parent | e1d54d153fc3e697b841999df7cbad51492def8e (diff) |
crypto: caam - fix asynchronous hash
ahash_alg->setkey is updated to ahash_nosetkey in ahash.c
so checking setkey() function to determine hmac algorithm is not valid.
to fix this added is_hmac variable in structure caam_hash_alg to determine
whether the algorithm is hmac or not.
Fixes: 2f1f34c1bf7b ("crypto: ahash - optimize performance when wrapping shash")
Signed-off-by: Gaurav Jain <gaurav.jain@nxp.com>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'mm/page_io.c')
0 files changed, 0 insertions, 0 deletions