crypto: caam - fix SHA support detection
authorHoria Geantă <horia.geanta@nxp.com>
Fri, 21 Dec 2018 12:47:46 +0000 (14:47 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2019 13:37:31 +0000 (21:37 +0800)
commit2dd3fde41bf3dc68e38de23da87e72a07719b708
tree15a68d8de0dfa57a3db654230c26a4683e41d752
parent04e6d25c5bb244c1a37eb9fe0b604cc11a04e8c5
crypto: caam - fix SHA support detection

The addition of Chacha20 + Poly1305 authenc support inadvertently broke
detection of algorithms supported by MDHA (Message Digest Hardware
Accelerator), fix it.

Fixes: d6bbd4eea243 ("crypto: caam/jr - add support for Chacha20 + Poly1305")
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg.c
drivers/crypto/caam/desc.h
drivers/crypto/caam/error.h