diff options
author | LEROY Christophe <[email protected]> | 2018-03-22 10:57:01 +0100 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2018-03-31 01:33:10 +0800 |
commit | 2b1227301a8e4729409694e323b72c064c47cb6b (patch) | |
tree | ee36a0f3a2a8bc2962a831f57ac7a226edc091ca /lib/test_overflow.c | |
parent | 9def051018c08e65c532822749e857eb4b2e12e7 (diff) |
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: <[email protected]> # 4.8+
Fixes: 549bd8bc5987 ("crypto: talitos - Implement AEAD for SEC1 using HMAC_SNOOP_NO_AFEU")
Reported-by: Horia Geantă <[email protected]>
Signed-off-by: Christophe Leroy <[email protected]>
Tested-by: Horia Geantă <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions