diff options
author | Antoine Tenart <antoine.tenart@bootlin.com> | 2019-05-27 16:51:04 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-06-06 14:38:56 +0800 |
commit | 082ec2d48467b61aa89783e954645ec441714c4e (patch) | |
tree | c156852b9c23ba343a24614f6ccc5469b6d744c3 /drivers/crypto/inside-secure/safexcel.h | |
parent | crypto: inside-secure - implement IV retrieval (diff) | |
download | linux-dev-082ec2d48467b61aa89783e954645ec441714c4e.tar.xz linux-dev-082ec2d48467b61aa89783e954645ec441714c4e.zip |
crypto: inside-secure - add support for HMAC updates
This patch adds support for HMAC updates in the Inside Secure SafeXcel
crypto engine driver. Updates were supported for hash algorithms, but
were never enabled for HMAC ones. This fixes boot time test issues.
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.h')
-rw-r--r-- | drivers/crypto/inside-secure/safexcel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/inside-secure/safexcel.h b/drivers/crypto/inside-secure/safexcel.h index ca6ece5607cd..e0c202f33674 100644 --- a/drivers/crypto/inside-secure/safexcel.h +++ b/drivers/crypto/inside-secure/safexcel.h @@ -644,7 +644,7 @@ struct safexcel_ahash_export_state { u32 digest; u32 state[SHA512_DIGEST_SIZE / sizeof(u32)]; - u8 cache[SHA512_BLOCK_SIZE]; + u8 cache[SHA512_BLOCK_SIZE << 1]; }; /* |