summaryrefslogtreecommitdiffstats
path: root/crypto/cast_common.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
commitc8c36413ca8ccbf7a0afe71247fc4617ee2dfcfe (patch)
tree5d93fa8434763f697ddde4f90833f0ab563ea5f2 /crypto/cast_common.c
parentda7a0ab5b4babbe5d7a46f852582be06a00a28f0 (diff)
downloadlinux-stable-c8c36413ca8ccbf7a0afe71247fc4617ee2dfcfe.tar.gz
linux-stable-c8c36413ca8ccbf7a0afe71247fc4617ee2dfcfe.tar.bz2
linux-stable-c8c36413ca8ccbf7a0afe71247fc4617ee2dfcfe.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/cast_common.c')
0 files changed, 0 insertions, 0 deletions