Commit 9011847b authored by James Morris's avatar James Morris Committed by Linus Torvalds

[PATCH] crypto: fix test vectors

Looks like a cleanup broke the test vectors:
http://linux.bkbits.net:8080/linux-2.5/gnupatch@41ad5cd9EXGuUhmmotTFBIZdIkTm0ASigned-off-by: default avatarJames Morris <jmorris@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ff930604
...@@ -1986,7 +1986,7 @@ static struct cipher_testvec arc4_dec_tv_template[] = ...@@ -1986,7 +1986,7 @@ static struct cipher_testvec arc4_dec_tv_template[] =
#define TEA_ENC_TEST_VECTORS 4 #define TEA_ENC_TEST_VECTORS 4
#define TEA_DEC_TEST_VECTORS 4 #define TEA_DEC_TEST_VECTORS 4
static struct cipher_testvec xtea_enc_tv_template[] = static struct cipher_testvec tea_enc_tv_template[] =
{ {
{ {
.key = { [0 ... 15] = 0x00 }, .key = { [0 ... 15] = 0x00 },
...@@ -2080,7 +2080,7 @@ static struct cipher_testvec tea_dec_tv_template[] = ...@@ -2080,7 +2080,7 @@ static struct cipher_testvec tea_dec_tv_template[] =
#define XTEA_ENC_TEST_VECTORS 4 #define XTEA_ENC_TEST_VECTORS 4
#define XTEA_DEC_TEST_VECTORS 4 #define XTEA_DEC_TEST_VECTORS 4
static struct cipher_testvec tea_enc_tv_template[] = static struct cipher_testvec xtea_enc_tv_template[] =
{ {
{ {
.key = { [0 ... 15] = 0x00 }, .key = { [0 ... 15] = 0x00 },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment