diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2020-03-08 16:57:09 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-03-12 13:00:16 +0100 |
commit | 0eae14a067c5b2596c5a1049561cbc86b990c7ce (patch) | |
tree | c9b3dc666ab2d371b31830089c292d191cc5729b /drivers/opp | |
parent | crypto: ccree - use crypto_ipsec_check_assoclen() (diff) | |
download | linux-0eae14a067c5b2596c5a1049561cbc86b990c7ce.tar.xz linux-0eae14a067c5b2596c5a1049561cbc86b990c7ce.zip |
crypto: ccree - refactor AEAD IV in AAD handling
Our handling of ciphers with IV trailing the AAD was correct
but overly complicated. Refactor to simplify and possibly
save one DMA burst.
This has the added bonus of behaving the same as the generic
rfc4543 implementation for none compliants inputs where the
IV in the iv field was not the same as the IV in the AAD.
There should be no change in behaviour with correct inputs.
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/opp')
0 files changed, 0 insertions, 0 deletions