blob: 96aa36a9d96b2d620e74c7b903b97fe478f3d751 [file] [log] [blame]
Paul Bakkerfab5c822012-02-06 16:45:10 +00001Cipher Selftest
2depends_on:POLARSSL_SELF_TEST
3cipher_selftest:
4
5Decrypt empty buffer
6dec_empty_buf:
7
8NULL Encrypt and decrypt 0 bytes
9depends_on:POLARSSL_CIPHER_NULL_CIPHER
10enc_dec_buf:POLARSSL_CIPHER_NULL:NULL:0:0
11
12NULL Encrypt and decrypt 1 bytes
13depends_on:POLARSSL_CIPHER_NULL_CIPHER
14enc_dec_buf:POLARSSL_CIPHER_NULL:NULL:0:1
15
16NULL Encrypt and decrypt 2 bytes
17depends_on:POLARSSL_CIPHER_NULL_CIPHER
18enc_dec_buf:POLARSSL_CIPHER_NULL:NULL:0:2
19
20NULL Encrypt and decrypt 7 bytes
21depends_on:POLARSSL_CIPHER_NULL_CIPHER
22enc_dec_buf:POLARSSL_CIPHER_NULL:NULL:0:7
23
24NULL Encrypt and decrypt 8 bytes
25depends_on:POLARSSL_CIPHER_NULL_CIPHER
26enc_dec_buf:POLARSSL_CIPHER_NULL:NULL:0:8
27
28NULL Encrypt and decrypt 9 bytes
29depends_on:POLARSSL_CIPHER_NULL_CIPHER
30enc_dec_buf:POLARSSL_CIPHER_NULL:NULL:0:9
31
32NULL Encrypt and decrypt 15 bytes
33depends_on:POLARSSL_CIPHER_NULL_CIPHER
34enc_dec_buf:POLARSSL_CIPHER_NULL:NULL:0:15
35
36NULL Encrypt and decrypt 16 bytes
37depends_on:POLARSSL_CIPHER_NULL_CIPHER
38enc_dec_buf:POLARSSL_CIPHER_NULL:NULL:0:16
39
40NULL Encrypt and decrypt 31 bytes
41depends_on:POLARSSL_CIPHER_NULL_CIPHER
42enc_dec_buf:POLARSSL_CIPHER_NULL:NULL:0:31
43
44NULL Encrypt and decrypt 32 bytes
45depends_on:POLARSSL_CIPHER_NULL_CIPHER
46enc_dec_buf:POLARSSL_CIPHER_NULL:NULL:0:32
47
48NULL Encrypt and decrypt 33 bytes
49depends_on:POLARSSL_CIPHER_NULL_CIPHER
50enc_dec_buf:POLARSSL_CIPHER_NULL:NULL:0:33
51
52NULL Encrypt and decrypt 47 bytes
53depends_on:POLARSSL_CIPHER_NULL_CIPHER
54enc_dec_buf:POLARSSL_CIPHER_NULL:NULL:0:47
55
56NULL Encrypt and decrypt 48 bytes
57depends_on:POLARSSL_CIPHER_NULL_CIPHER
58enc_dec_buf:POLARSSL_CIPHER_NULL:NULL:0:48
59
60NULL Encrypt and decrypt 49 bytes
61depends_on:POLARSSL_CIPHER_NULL_CIPHER
62enc_dec_buf:POLARSSL_CIPHER_NULL:NULL:0:49
63
64NULL Encrypt and decrypt 1 bytes in multiple parts 1
65depends_on:POLARSSL_CIPHER_NULL_CIPHER
66enc_dec_buf_multipart:POLARSSL_CIPHER_NULL:0:1:0:
67
68NULL Encrypt and decrypt 1 bytes in multiple parts 2
69depends_on:POLARSSL_CIPHER_NULL_CIPHER
70enc_dec_buf_multipart:POLARSSL_CIPHER_NULL:0:0:1:
71
72NULL Encrypt and decrypt 16 bytes in multiple parts 1
73depends_on:POLARSSL_CIPHER_NULL_CIPHER
74enc_dec_buf_multipart:POLARSSL_CIPHER_NULL:0:16:0:
75
76NULL Encrypt and decrypt 16 bytes in multiple parts 2
77depends_on:POLARSSL_CIPHER_NULL_CIPHER
78enc_dec_buf_multipart:POLARSSL_CIPHER_NULL:0:0:16:
79
80NULL Encrypt and decrypt 16 bytes in multiple parts 3
81depends_on:POLARSSL_CIPHER_NULL_CIPHER
82enc_dec_buf_multipart:POLARSSL_CIPHER_NULL:0:1:15:
83
84NULL Encrypt and decrypt 16 bytes in multiple parts 4
85depends_on:POLARSSL_CIPHER_NULL_CIPHER
86enc_dec_buf_multipart:POLARSSL_CIPHER_NULL:0:15:1:
87
88NULL Encrypt and decrypt 22 bytes in multiple parts 1
89depends_on:POLARSSL_CIPHER_NULL_CIPHER
90enc_dec_buf_multipart:POLARSSL_CIPHER_NULL:0:15:7:
91
92NULL Encrypt and decrypt 22 bytes in multiple parts 1
93depends_on:POLARSSL_CIPHER_NULL_CIPHER
94enc_dec_buf_multipart:POLARSSL_CIPHER_NULL:0:16:6:
95
96NULL Encrypt and decrypt 22 bytes in multiple parts 1
97depends_on:POLARSSL_CIPHER_NULL_CIPHER
98enc_dec_buf_multipart:POLARSSL_CIPHER_NULL:0:17:6:
99
100NULL Encrypt and decrypt 32 bytes in multiple parts 1
101depends_on:POLARSSL_CIPHER_NULL_CIPHER
102enc_dec_buf_multipart:POLARSSL_CIPHER_NULL:0:16:16: