48cb62958ca04da7008ebc80d27620d29bb54a6f
[strongswan.git] / src / libstrongswan / plugins / test_vectors / test_vectors.h
1 /*
2 * Copyright (C) 2009 Martin Willi
3 * Hochschule fuer Technik Rapperswil
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * for more details.
14 */
15
16 TEST_VECTOR_CRYPTER(aes_cbc1)
17 TEST_VECTOR_CRYPTER(aes_cbc2)
18 TEST_VECTOR_CRYPTER(aes_cbc3)
19 TEST_VECTOR_CRYPTER(aes_cbc4)
20 TEST_VECTOR_CRYPTER(aes_cbc5)
21 TEST_VECTOR_CRYPTER(aes_cbc6)
22 TEST_VECTOR_CRYPTER(blowfish1)
23 TEST_VECTOR_CRYPTER(blowfish2)
24 TEST_VECTOR_CRYPTER(camellia_cbc1)
25 TEST_VECTOR_CRYPTER(camellia_cbc2)
26 TEST_VECTOR_CRYPTER(camellia_cbc3)
27 TEST_VECTOR_CRYPTER(camellia_cbc4)
28 TEST_VECTOR_CRYPTER(camellia_cbc5)
29 TEST_VECTOR_CRYPTER(camellia_cbc6)
30 TEST_VECTOR_CRYPTER(cast1)
31 TEST_VECTOR_CRYPTER(des3_cbc1)
32 TEST_VECTOR_CRYPTER(des3_cbc2)
33 TEST_VECTOR_CRYPTER(idea1)
34 TEST_VECTOR_CRYPTER(idea2)
35 TEST_VECTOR_CRYPTER(rc5_1)
36 TEST_VECTOR_CRYPTER(rc5_2)
37 TEST_VECTOR_CRYPTER(serpent_cbc1)
38 TEST_VECTOR_CRYPTER(serpent_cbc2)
39 TEST_VECTOR_CRYPTER(serpent_cbc3)
40 TEST_VECTOR_CRYPTER(serpent_cbc4)
41 TEST_VECTOR_CRYPTER(serpent_cbc5)
42 TEST_VECTOR_CRYPTER(serpent_cbc6)
43 TEST_VECTOR_CRYPTER(twofish_cbc1)
44 TEST_VECTOR_CRYPTER(twofish_cbc2)
45 TEST_VECTOR_CRYPTER(twofish_cbc3)
46
47 TEST_VECTOR_SIGNER(aes_xcbc_s1)
48 TEST_VECTOR_SIGNER(aes_xcbc_s2)
49 TEST_VECTOR_SIGNER(aes_xcbc_s3)
50 TEST_VECTOR_SIGNER(aes_xcbc_s4)
51 TEST_VECTOR_SIGNER(aes_xcbc_s5)
52 TEST_VECTOR_SIGNER(md5_hmac_s1)
53 TEST_VECTOR_SIGNER(md5_hmac_s2)
54 TEST_VECTOR_SIGNER(md5_hmac_s3)
55 TEST_VECTOR_SIGNER(md5_hmac_s4)
56 TEST_VECTOR_SIGNER(sha1_hmac_s1)
57 TEST_VECTOR_SIGNER(sha1_hmac_s2)
58 TEST_VECTOR_SIGNER(sha1_hmac_s3)
59 TEST_VECTOR_SIGNER(sha1_hmac_s4)
60 TEST_VECTOR_SIGNER(sha1_hmac_s5)
61 TEST_VECTOR_SIGNER(sha1_hmac_s6)
62 TEST_VECTOR_SIGNER(sha256_hmac_s1)
63 TEST_VECTOR_SIGNER(sha256_hmac_s2)
64 TEST_VECTOR_SIGNER(sha256_hmac_s3)
65 TEST_VECTOR_SIGNER(sha384_hmac_s1)
66 TEST_VECTOR_SIGNER(sha384_hmac_s2)
67 TEST_VECTOR_SIGNER(sha384_hmac_s3)
68 TEST_VECTOR_SIGNER(sha512_hmac_s1)
69 TEST_VECTOR_SIGNER(sha512_hmac_s2)
70 TEST_VECTOR_SIGNER(sha512_hmac_s3)
71
72 TEST_VECTOR_HASHER(md5_1)
73 TEST_VECTOR_HASHER(md5_2)
74 TEST_VECTOR_HASHER(md5_3)
75 TEST_VECTOR_HASHER(md5_4)
76 TEST_VECTOR_HASHER(md5_5)
77 TEST_VECTOR_HASHER(md5_6)
78 TEST_VECTOR_HASHER(md5_7)
79 TEST_VECTOR_HASHER(sha1_1)
80 TEST_VECTOR_HASHER(sha1_2)
81 TEST_VECTOR_HASHER(sha1_3)
82 TEST_VECTOR_HASHER(sha256_1)
83 TEST_VECTOR_HASHER(sha256_2)
84 TEST_VECTOR_HASHER(sha256_3)
85 TEST_VECTOR_HASHER(sha384_1)
86 TEST_VECTOR_HASHER(sha384_2)
87 TEST_VECTOR_HASHER(sha384_3)
88 TEST_VECTOR_HASHER(sha512_1)
89 TEST_VECTOR_HASHER(sha512_2)
90 TEST_VECTOR_HASHER(sha512_3)
91
92 TEST_VECTOR_PRF(aes_xcbc_p1)
93 TEST_VECTOR_PRF(aes_xcbc_p2)
94 TEST_VECTOR_PRF(aes_xcbc_p3)
95 TEST_VECTOR_PRF(aes_xcbc_p4)
96 TEST_VECTOR_PRF(aes_xcbc_p5)
97 TEST_VECTOR_PRF(aes_xcbc_p6)
98 TEST_VECTOR_PRF(aes_xcbc_p7)
99 TEST_VECTOR_PRF(md5_hmac_p1)
100 TEST_VECTOR_PRF(md5_hmac_p2)
101 TEST_VECTOR_PRF(md5_hmac_p3)
102 TEST_VECTOR_PRF(md5_hmac_p4)
103 TEST_VECTOR_PRF(md5_hmac_p5)
104 TEST_VECTOR_PRF(md5_hmac_p6)
105 TEST_VECTOR_PRF(sha1_hmac_p1)
106 TEST_VECTOR_PRF(sha1_hmac_p2)
107 TEST_VECTOR_PRF(sha1_hmac_p3)
108 TEST_VECTOR_PRF(sha1_hmac_p4)
109 TEST_VECTOR_PRF(sha1_hmac_p5)
110 TEST_VECTOR_PRF(sha1_hmac_p6)
111 TEST_VECTOR_PRF(sha256_hmac_p1)
112 TEST_VECTOR_PRF(sha256_hmac_p2)
113 TEST_VECTOR_PRF(sha256_hmac_p3)
114 TEST_VECTOR_PRF(sha256_hmac_p4)
115 TEST_VECTOR_PRF(sha256_hmac_p5)
116 TEST_VECTOR_PRF(sha256_hmac_p6)
117 TEST_VECTOR_PRF(sha384_hmac_p1)
118 TEST_VECTOR_PRF(sha384_hmac_p2)
119 TEST_VECTOR_PRF(sha384_hmac_p3)
120 TEST_VECTOR_PRF(sha384_hmac_p4)
121 TEST_VECTOR_PRF(sha384_hmac_p5)
122 TEST_VECTOR_PRF(sha384_hmac_p6)
123 TEST_VECTOR_PRF(sha512_hmac_p1)
124 TEST_VECTOR_PRF(sha512_hmac_p2)
125 TEST_VECTOR_PRF(sha512_hmac_p3)
126 TEST_VECTOR_PRF(sha512_hmac_p4)
127 TEST_VECTOR_PRF(sha512_hmac_p5)
128 TEST_VECTOR_PRF(sha512_hmac_p6)
129 TEST_VECTOR_PRF(fips_prf_1)
130
131 TEST_VECTOR_RNG(rng_monobit_1)
132 TEST_VECTOR_RNG(rng_monobit_2)
133 TEST_VECTOR_RNG(rng_monobit_3)
134 TEST_VECTOR_RNG(rng_poker_1)
135 TEST_VECTOR_RNG(rng_poker_2)
136 TEST_VECTOR_RNG(rng_poker_3)
137 TEST_VECTOR_RNG(rng_runs_1)
138 TEST_VECTOR_RNG(rng_runs_2)
139 TEST_VECTOR_RNG(rng_runs_3)
140