eaa34b2fc847a1c7757431d973171babb3b576de
[strongswan.git] / src / libstrongswan / crypto / prfs / prf.c
1 /*
2 * Copyright (C) 2005-2006 Martin Willi
3 * Copyright (C) 2005 Jan Hutter
4 * Hochschule fuer Technik Rapperswil
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * for more details.
15 */
16
17 #include "prf.h"
18
19 ENUM_BEGIN(pseudo_random_function_names, PRF_UNDEFINED, PRF_KEYED_SHA1,
20 "PRF_UNDEFINED",
21 "PRF_FIPS_SHA1_160",
22 "PRF_FIPS_DES",
23 "PRF_KEYED_SHA1");
24 ENUM_NEXT(pseudo_random_function_names, PRF_HMAC_MD5, PRF_HMAC_SHA2_512, PRF_KEYED_SHA1,
25 "PRF_HMAC_MD5",
26 "PRF_HMAC_SHA1",
27 "PRF_HMAC_TIGER",
28 "PRF_AES128_CBC",
29 "PRF_HMAC_SHA2_256",
30 "PRF_HMAC_SHA2_384",
31 "PRF_HMAC_SHA2_512");
32 ENUM_END(pseudo_random_function_names, PRF_HMAC_SHA2_512);
33