crypto: testmgr - fix sglen in test_aead for case 'dst != src'
authorHoria Geanta <horia.geanta@freescale.com>
Thu, 28 Nov 2013 13:11:18 +0000 (15:11 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 28 Nov 2013 14:25:17 +0000 (22:25 +0800)
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>
crypto/testmgr.c

Simple merge