diff options
author | Horia Geanta <horia.geanta@freescale.com> | 2013-11-28 15:11:18 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-11-28 22:25:17 +0800 |
commit | cf0acf8791d9d67787193f6534534528ef624f57 (patch) | |
tree | ca87c29bceac5662af70d65dcadd89042ab0a919 /crypto/algif_hash.c | |
parent | 56d38dc462d86153f761afb1f8b51caa86c6b952 (diff) | |
download | linux-crypto-cf0acf8791d9d67787193f6534534528ef624f57.tar.gz linux-crypto-cf0acf8791d9d67787193f6534534528ef624f57.zip |
crypto: testmgr - fix sglen in test_aead for case 'dst != src'
Commit ff4753bed81e930a6cbc88bf362e6ce0a83f4dd5 (crypto: testmgr - make
test_aead also test 'dst != src' code paths) added support for different
source and destination buffers in test_aead.
This patch modifies the source and destination buffer lengths accordingly:
the lengths are not equal since encryption / decryption adds / removes
the ICV.
Cc: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algif_hash.c')
0 files changed, 0 insertions, 0 deletions