summaryrefslogtreecommitdiffstats
path: root/crypto/tcrypt.h
diff options
context:
space:
mode:
authorJohannes Goetzfried <Johannes.Goetzfried@informatik.stud.uni-erlangen.de>2012-07-11 19:37:21 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2012-08-01 17:47:29 +0800
commita2c5826095562983bf316e3a7eb137ef04a71a24 (patch)
treec8b5176a619caca8841462da46a019c622065b59 /crypto/tcrypt.h
parent270b0c6b406a0ae7673ee880d1d7cc6bd6c904de (diff)
downloadlinux-stable-a2c5826095562983bf316e3a7eb137ef04a71a24.tar.gz
linux-stable-a2c5826095562983bf316e3a7eb137ef04a71a24.tar.bz2
linux-stable-a2c5826095562983bf316e3a7eb137ef04a71a24.zip
crypto: testmgr - add larger cast5 testvectors
New ECB, CBC and CTR testvectors for cast5. We need larger testvectors to check parallel code paths in the optimized implementation. Tests have also been added to the tcrypt module. Signed-off-by: Johannes Goetzfried <Johannes.Goetzfried@informatik.stud.uni-erlangen.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/tcrypt.h')
-rw-r--r--crypto/tcrypt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/tcrypt.h b/crypto/tcrypt.h
index 5be1fc8c1ab3..cd2068524f3f 100644
--- a/crypto/tcrypt.h
+++ b/crypto/tcrypt.h
@@ -47,6 +47,7 @@ static struct cipher_speed_template des3_speed_template[] = {
*/
static u8 speed_template_8[] = {8, 0};
static u8 speed_template_24[] = {24, 0};
+static u8 speed_template_8_16[] = {8, 16, 0};
static u8 speed_template_8_32[] = {8, 32, 0};
static u8 speed_template_16_32[] = {16, 32, 0};
static u8 speed_template_16_24_32[] = {16, 24, 32, 0};