adding MD4 and DES (ECB) to openssl plugin
[strongswan.git] / src / libstrongswan / crypto / crypters / crypter.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 * $Id$
17 */
18
19 #include "crypter.h"
20
21 ENUM_BEGIN(encryption_algorithm_names, ENCR_UNDEFINED, ENCR_UNDEFINED,
22 "UNDEFINED");
23 ENUM_NEXT(encryption_algorithm_names, ENCR_DES_IV64, ENCR_DES_IV32, ENCR_UNDEFINED,
24 "DES_IV64",
25 "DES",
26 "3DES",
27 "RC5",
28 "IDEA",
29 "CAST",
30 "BLOWFISH",
31 "3IDEA",
32 "DES_IV32");
33 ENUM_NEXT(encryption_algorithm_names, ENCR_NULL, ENCR_AES_CCM_ICV16, ENCR_DES_IV32,
34 "NULL",
35 "AES_CBC",
36 "AES_CTR",
37 "AES_CCM_8",
38 "AES_CCM_12",
39 "AES_CCM_16");
40 ENUM_NEXT(encryption_algorithm_names, ENCR_AES_GCM_ICV8, ENCR_AES_GCM_ICV16, ENCR_AES_CCM_ICV16,
41 "AES_GCM_8",
42 "AES_GCM_12",
43 "AES_GCM_16");
44 ENUM_END(encryption_algorithm_names, ENCR_AES_GCM_ICV16);
45