aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/transform.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-08-18 20:16:03 +0200
committerMartin Willi <martin@revosec.ch>2010-08-19 19:02:34 +0200
commit77b55e8a96ae985e13da9d267f1e455f5a3a0478 (patch)
tree56797bc0c8381759e161a84d7207c750672a744b /src/libstrongswan/crypto/transform.c
parente09a87d652a3727c2288f9752c9ef12c473387ba (diff)
downloadstrongswan-77b55e8a96ae985e13da9d267f1e455f5a3a0478.tar.bz2
strongswan-77b55e8a96ae985e13da9d267f1e455f5a3a0478.tar.xz
Added support for AEAD algorithms to crypto factory
Diffstat (limited to 'src/libstrongswan/crypto/transform.c')
-rw-r--r--src/libstrongswan/crypto/transform.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libstrongswan/crypto/transform.c b/src/libstrongswan/crypto/transform.c
index af40f4de6..cec90a616 100644
--- a/src/libstrongswan/crypto/transform.c
+++ b/src/libstrongswan/crypto/transform.c
@@ -15,11 +15,12 @@
#include <crypto/transform.h>
-ENUM_BEGIN(transform_type_names, UNDEFINED_TRANSFORM_TYPE, RANDOM_NUMBER_GENERATOR,
+ENUM_BEGIN(transform_type_names, UNDEFINED_TRANSFORM_TYPE, AEAD_ALGORITHM,
"UNDEFINED_TRANSFORM_TYPE",
"HASH_ALGORITHM",
- "RANDOM_NUMBER_GENERATOR");
-ENUM_NEXT(transform_type_names, ENCRYPTION_ALGORITHM, EXTENDED_SEQUENCE_NUMBERS, RANDOM_NUMBER_GENERATOR,
+ "RANDOM_NUMBER_GENERATOR",
+ "AEAD_ALGORITHM");
+ENUM_NEXT(transform_type_names, ENCRYPTION_ALGORITHM, EXTENDED_SEQUENCE_NUMBERS, AEAD_ALGORITHM,
"ENCRYPTION_ALGORITHM",
"PSEUDO_RANDOM_FUNCTION",
"INTEGRITY_ALGORITHM",