diff options
author | Martin Hicks <mort@bork.org> | 2017-05-02 13:38:35 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-12-13 03:16:49 (GMT) |
commit | d773489c0d5e10cd6f48baab7a746e4f3eca27b2 (patch) | |
tree | 758fe412d230d45c2b72dcda70af23ebe96f0ae9 /lib/test_module.c | |
parent | 85464a211ccb5e3874b323623a7cf2f07bce9fc1 (diff) | |
download | linux-d773489c0d5e10cd6f48baab7a746e4f3eca27b2.tar.xz |
crypto: talitos - Extend max key length for SHA384/512-HMAC and AEAD
commit 03d2c5114c95797c0aa7d9f463348b171a274fd4 upstream.
An updated patch that also handles the additional key length requirements
for the AEAD algorithms.
The max keysize is not 96. For SHA384/512 it's 128, and for the AEAD
algorithms it's longer still. Extend the max keysize for the
AEAD size for AES256 + HMAC(SHA512).
Fixes: 357fb60502ede ("crypto: talitos - add sha224, sha384 and sha512 to existing AEAD algorithms")
Signed-off-by: Martin Hicks <mort@bork.org>
Acked-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_module.c')
0 files changed, 0 insertions, 0 deletions