crypto: caam/qi2 - fix error reporting for caam_hash_alloc
authorHoria Geantă <horia.geanta@nxp.com>
Wed, 22 Jul 2020 12:14:53 +0000 (15:14 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 31 Jul 2020 08:25:27 +0000 (18:25 +1000)
commitd9f2d010302e858cada492c99da301858916ff28
tree932b893cb68028201d053ae27a55df4378906a76
parent81f2288805ca7f00f8f10e249488f0c6c2abf2aa
crypto: caam/qi2 - fix error reporting for caam_hash_alloc

Fix error reporting when preparation of an hmac algorithm
for registration fails: print the hmac algorithm name, not the unkeyed
hash algorithm name.

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg_qi2.c