summaryrefslogtreecommitdiff
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
commitdaff9a2c033ab93fbfcb9caba07252ba7ab5e76e (patch)
tree215a7a728926fc636ef09605b381c604083a1135 /crypto/tcrypt.h
parent029b017910d8d9dcaa9416dff7115961fad70a3a (diff)
downloadlinux-crypto-daff9a2c033ab93fbfcb9caba07252ba7ab5e76e.tar.gz
linux-crypto-daff9a2c033ab93fbfcb9caba07252ba7ab5e76e.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 5be1fc8c..cd206852 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};