]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - crypto/testmgr.c
crypto: testmgr - make test_skcipher also test 'dst != src' code paths
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Fri, 21 Sep 2012 07:26:47 +0000 (10:26 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 27 Sep 2012 05:32:16 +0000 (13:32 +0800)
commit08d6af8c160b6bd9b21a3177e2b1bebc72a21041
tree648d260d5961f85d6774362fd413da913a962c3e
parent549595a0c782c1271cbcda51b6d07a95de1f894d
crypto: testmgr - make test_skcipher also test 'dst != src' code paths

Currrently test_skcipher uses same buffer for destination and source. However
in any places, 'dst != src' take different path than 'dst == src' case.

Therefore make test_skcipher also run tests with destination buffer being
different than source buffer.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c