added RNG test vectors
[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(blowfish1)
17 TEST_VECTOR_CRYPTER(blowfish2)
18 TEST_VECTOR_CRYPTER(aes_cbc1)
19 TEST_VECTOR_CRYPTER(aes_cbc2)
20 TEST_VECTOR_CRYPTER(aes_cbc3)
21
22 TEST_VECTOR_SIGNER(aes_xcbc_s1)
23 TEST_VECTOR_SIGNER(aes_xcbc_s2)
24 TEST_VECTOR_SIGNER(aes_xcbc_s3)
25 TEST_VECTOR_SIGNER(aes_xcbc_s4)
26 TEST_VECTOR_SIGNER(aes_xcbc_s5)
27
28 TEST_VECTOR_HASHER(md5_1)
29 TEST_VECTOR_HASHER(md5_2)
30 TEST_VECTOR_HASHER(md5_3)
31 TEST_VECTOR_HASHER(md5_4)
32 TEST_VECTOR_HASHER(md5_5)
33 TEST_VECTOR_HASHER(md5_6)
34 TEST_VECTOR_HASHER(md5_7)
35
36 TEST_VECTOR_PRF(aes_xcbc_p1)
37 TEST_VECTOR_PRF(aes_xcbc_p2)
38 TEST_VECTOR_PRF(aes_xcbc_p3)
39 TEST_VECTOR_PRF(aes_xcbc_p4)
40 TEST_VECTOR_PRF(aes_xcbc_p5)
41 TEST_VECTOR_PRF(aes_xcbc_p6)
42 TEST_VECTOR_PRF(aes_xcbc_p7)
43
44 TEST_VECTOR_RNG(rng_monobit_1)
45 TEST_VECTOR_RNG(rng_monobit_2)
46 TEST_VECTOR_RNG(rng_monobit_3)
47 TEST_VECTOR_RNG(rng_poker_1)
48 TEST_VECTOR_RNG(rng_poker_2)
49 TEST_VECTOR_RNG(rng_poker_3)
50 TEST_VECTOR_RNG(rng_runs_1)
51 TEST_VECTOR_RNG(rng_runs_2)
52 TEST_VECTOR_RNG(rng_runs_3)
53