summaryrefslogtreecommitdiff
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-02-14 10:42:20 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-02-22 22:16:54 +0800
commit24771b19a37b3d1753e2cb8c0ed561c5deeb479f (patch)
tree492fafecb8f90568b1c8bafa1aae50e97f362af7 /crypto/testmgr.c
parent38534275c9b3ea828cbb384c9e30fa6e1a2da67b (diff)
downloadlinux-crypto-24771b19a37b3d1753e2cb8c0ed561c5deeb479f.tar.gz
linux-crypto-24771b19a37b3d1753e2cb8c0ed561c5deeb479f.zip
crypto: speck - export common helpers
Export the Speck constants and transform context and the ->setkey(), ->encrypt(), and ->decrypt() functions so that they can be reused by the ARM NEON implementation of Speck-XTS. The generic key expansion code will be reused because it is not performance-critical and is not vectorizable, while the generic encryption and decryption functions are needed as fallbacks and for the XTS tweak encryption. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
0 files changed, 0 insertions, 0 deletions