aboutsummaryrefslogtreecommitdiff
path: root/drivers/crypto/marvell/cesa.c
diff options
context:
space:
mode:
authorArnaud Ebalard <arno@natisbad.org>2015-06-18 15:46:25 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2015-06-19 22:18:04 +0800
commitf85a762e49bda3cba143ab0db8bde6d2bbe8baf9 (patch)
tree70931d6d7ffe2e3286dac6d7b8a77629a2d1bf5c /drivers/crypto/marvell/cesa.c
parent7aeef693d18d359134f47bf7b6621ec303b570f9 (diff)
downloadlinux-f85a762e49bda3cba143ab0db8bde6d2bbe8baf9.tar.gz
crypto: marvell/cesa - add SHA256 support
Add support for SHA256 operations. Signed-off-by: Arnaud Ebalard <arno@natisbad.org> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/marvell/cesa.c')
-rw-r--r--drivers/crypto/marvell/cesa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/marvell/cesa.c b/drivers/crypto/marvell/cesa.c
index 047c1c0e7eb4..9c43cd7e5d1d 100644
--- a/drivers/crypto/marvell/cesa.c
+++ b/drivers/crypto/marvell/cesa.c
@@ -180,8 +180,10 @@ static struct crypto_alg *armada_370_cipher_algs[] = {
static struct ahash_alg *armada_370_ahash_algs[] = {
&mv_md5_alg,
&mv_sha1_alg,
+ &mv_sha256_alg,
&mv_ahmac_md5_alg,
&mv_ahmac_sha1_alg,
+ &mv_ahmac_sha256_alg,
};
static const struct mv_cesa_caps armada_370_caps = {