diff options
Diffstat (limited to 'crypto/tcrypt.h')
-rw-r--r-- | crypto/tcrypt.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/crypto/tcrypt.h b/crypto/tcrypt.h index 801e0c288862..c6254a1776fe 100644 --- a/crypto/tcrypt.h +++ b/crypto/tcrypt.h | |||
@@ -39,7 +39,7 @@ struct cipher_testvec { | |||
39 | char *iv; | 39 | char *iv; |
40 | char *input; | 40 | char *input; |
41 | char *result; | 41 | char *result; |
42 | unsigned char tap[MAX_TAP]; | 42 | unsigned short tap[MAX_TAP]; |
43 | int np; | 43 | int np; |
44 | unsigned char fail; | 44 | unsigned char fail; |
45 | unsigned char wk; /* weak key flag */ | 45 | unsigned char wk; /* weak key flag */ |
@@ -5111,6 +5111,8 @@ static struct cipher_testvec aes_ctr_enc_tv_template[] = { | |||
5111 | "\x4b\xef\x31\x18\xea\xac\xb1\x84" | 5111 | "\x4b\xef\x31\x18\xea\xac\xb1\x84" |
5112 | "\x21\xed\xda\x86", | 5112 | "\x21\xed\xda\x86", |
5113 | .rlen = 4100, | 5113 | .rlen = 4100, |
5114 | .np = 2, | ||
5115 | .tap = { 4064, 36 }, | ||
5114 | }, | 5116 | }, |
5115 | }; | 5117 | }; |
5116 | 5118 | ||
@@ -8126,7 +8128,9 @@ static struct cipher_testvec salsa20_stream_enc_tv_template[] = { | |||
8126 | "\xfc\x3f\x09\x7a\x0b\xdc\xc5\x1b" | 8128 | "\xfc\x3f\x09\x7a\x0b\xdc\xc5\x1b" |
8127 | "\x87\x13\xc6\x5b\x59\x8d\xf2\xc8" | 8129 | "\x87\x13\xc6\x5b\x59\x8d\xf2\xc8" |
8128 | "\xaf\xdf\x11\x95", | 8130 | "\xaf\xdf\x11\x95", |
8129 | .rlen = 4100, | 8131 | .rlen = 4100, |
8132 | .np = 2, | ||
8133 | .tap = { 4064, 36 }, | ||
8130 | }, | 8134 | }, |
8131 | }; | 8135 | }; |
8132 | 8136 | ||