commit | 6d6e71feb183aa588c849e20e7baa47cb162928a | [log] [tgz] |
---|---|---|
author | Lars Persson <lars.persson@axis.com> | Tue Dec 12 12:40:22 2017 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Dec 22 19:52:40 2017 +1100 |
tree | 23fb884b460cb256c954bba773e41a0455e85ff4 | |
parent | f5c421d545356e90d9c6bc544d29c700dc91a488 [diff] |
crypto: artpec6 - set correct iv size for gcm(aes) The IV size should not include the 32 bit counter. Because we had the IV size set as 16 the transform only worked when the IV input was zero padded. Fixes: a21eb94fc4d3 ("crypto: axis - add ARTPEC-6/7 crypto accelerator driver") Signed-off-by: Lars Persson <larper@axis.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>