summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/inside-secure/safexcel.c
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@bootlin.com>2018-05-29 14:13:46 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2018-06-22 17:03:02 +0200
commitb460edb6230ac2877b0d176b9122736fed6f3c6e (patch)
treef37158480ae6c85a36b73a6c7755132214597ef5 /drivers/crypto/inside-secure/safexcel.c
parentcrypto: sha512_generic - add a sha512 0-length pre-computed hash (diff)
downloadlinux-b460edb6230ac2877b0d176b9122736fed6f3c6e.tar.xz
linux-b460edb6230ac2877b0d176b9122736fed6f3c6e.zip
crypto: inside-secure - sha512 support
This patch adds the sha512 algorithm support to the Inside Secure SafeXcel driver. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/inside-secure/safexcel.c')
-rw-r--r--drivers/crypto/inside-secure/safexcel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/inside-secure/safexcel.c b/drivers/crypto/inside-secure/safexcel.c
index 8691f6369a13..126def0b4450 100644
--- a/drivers/crypto/inside-secure/safexcel.c
+++ b/drivers/crypto/inside-secure/safexcel.c
@@ -790,6 +790,7 @@ static struct safexcel_alg_template *safexcel_algs[] = {
&safexcel_alg_sha1,
&safexcel_alg_sha224,
&safexcel_alg_sha256,
+ &safexcel_alg_sha512,
&safexcel_alg_hmac_sha1,
&safexcel_alg_hmac_sha224,
&safexcel_alg_hmac_sha256,