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 | 8ec25c51291681bd68bdc290b35f2e61fa601c21 (patch) | |
tree | 985f9c3c6a790555230680c16f85297e4eeffefb /include/crypto | |
parent | 62293a37de0138b2e9c965f0a3b803c0f40a6581 (diff) | |
download | lwn-8ec25c51291681bd68bdc290b35f2e61fa601c21.tar.gz lwn-8ec25c51291681bd68bdc290b35f2e61fa601c21.zip |
crypto: testmgr - fix sglen in test_aead for case 'dst != src'
Commit d8a32ac25698cd60b02bed2100379803c7f964e3 (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 'include/crypto')
0 files changed, 0 insertions, 0 deletions