summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGaurav Jain <gaurav.jain@nxp.com>2024-01-18 14:55:57 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2024-01-26 16:35:55 +0800
commitc5a2f74db71a849f3a60bc153d684d6d28a0c665 (patch)
tree9f1c26b98878404cd293494ae07c344cc8c432f4 /arch
parente1d54d153fc3e697b841999df7cbad51492def8e (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 'arch')
0 files changed, 0 insertions, 0 deletions