gcrypt blowfish supports 128 bit key size only
[strongswan.git] / src / libstrongswan / crypto / transform.h
1 /*
2 * Copyright (C) 2006 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 /**
17 * @defgroup transforms transforms
18 * @{ @ingroup crypto
19 */
20
21 #ifndef TRANSFORM_H_
22 #define TRANSFORM_H_
23
24 typedef enum transform_type_t transform_type_t;
25
26 #include <library.h>
27
28 /**
29 * Type of a transform, as in IKEv2 RFC 3.3.2.
30 */
31 enum transform_type_t {
32 UNDEFINED_TRANSFORM_TYPE = 241,
33 ENCRYPTION_ALGORITHM = 1,
34 PSEUDO_RANDOM_FUNCTION = 2,
35 INTEGRITY_ALGORITHM = 3,
36 DIFFIE_HELLMAN_GROUP = 4,
37 EXTENDED_SEQUENCE_NUMBERS = 5
38 };
39
40 /**
41 * enum names for transform_type_t.
42 */
43 extern enum_name_t *transform_type_names;
44
45 #endif /** TRANSFORM_H_ @}*/