aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorLEROY Christophe <christophe.leroy@c-s.fr>2018-03-22 10:57:01 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-31 01:33:10 +0800
commit2b1227301a8e4729409694e323b72c064c47cb6b (patch)
treeee36a0f3a2a8bc2962a831f57ac7a226edc091ca /crypto
parentcrypto: Deduplicate le32_to_cpu_array() and cpu_to_le32_array() (diff)
downloadlinux-dev-2b1227301a8e4729409694e323b72c064c47cb6b.tar.xz
linux-dev-2b1227301a8e4729409694e323b72c064c47cb6b.zip
crypto: talitos - fix IPsec cipher in length
For SEC 2.x+, cipher in length must contain only the ciphertext length. In case of using hardware ICV checking, the ICV length is provided via the "extent" field of the descriptor pointer. Cc: <stable@vger.kernel.org> # 4.8+ Fixes: 549bd8bc5987 ("crypto: talitos - Implement AEAD for SEC1 using HMAC_SNOOP_NO_AFEU") Reported-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Tested-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions