FROMGIT: crypto: speck - add test vectors for Speck128-XTS
authorEric Biggers <ebiggers@google.com>
Wed, 14 Feb 2018 18:42:22 +0000 (10:42 -0800)
committerEric Biggers <ebiggers@google.com>
Thu, 22 Feb 2018 21:22:13 +0000 (13:22 -0800)
commitdfd5e0277af3249994cbf23508727322ad293503
tree3c856d29d2cb7e3301f09dfb3a27be2d0972e967
parent7931411663e85917eca8e26423fd28d3cacd1544
FROMGIT: crypto: speck - add test vectors for Speck128-XTS

Add test vectors for Speck128-XTS, generated in userspace using C code.
The inputs were borrowed from the AES-XTS test vectors.

Both xts(speck128-generic) and xts-speck128-neon pass these tests.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit c3bb521bb6ac3023ae236a3a361f951f8d78ecc4
 git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master)
Change-Id: Ifd701d5df4a6602c207cfb28decc620ef7e5f896
Signed-off-by: Eric Biggers <ebiggers@google.com>
crypto/testmgr.c
crypto/testmgr.h