summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorLEROY Christophe <christophe.leroy@c-s.fr>2018-03-22 12:57:01 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-09 10:50:19 +0300
commit23fb8f797e6bee5c39b43e6f4c6f15203ee8ea14 (patch)
tree472e8f17ac27f95517c5a6ae99442cde789b25b3 /drivers/tty
parentb8beca48a5504a790f3e308adcb965c6d9c657dc (diff)
downloadlinux-23fb8f797e6bee5c39b43e6f4c6f15203ee8ea14.tar.xz
crypto: talitos - fix IPsec cipher in length
commit 2b1227301a8e4729409694e323b72c064c47cb6b upstream. 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> [backported to 4.9.y, 4.14.y] Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions