aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/diffie_hellman.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2013-11-18 21:11:03 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2013-11-27 20:21:40 +0100
commit146ad86be5817ec7cdd0996c3764601f94b3ef8c (patch)
tree4b5253b5f7c1ab121ed8a5d9bb5b727d1d54f349 /src/libstrongswan/crypto/diffie_hellman.c
parente9b49d412b3f226ac4701cb1e9525b77f4693f82 (diff)
downloadstrongswan-146ad86be5817ec7cdd0996c3764601f94b3ef8c.tar.bz2
strongswan-146ad86be5817ec7cdd0996c3764601f94b3ef8c.tar.xz
Prototype implementation of IKE key exchange via NTRU encryption
Diffstat (limited to 'src/libstrongswan/crypto/diffie_hellman.c')
-rw-r--r--src/libstrongswan/crypto/diffie_hellman.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libstrongswan/crypto/diffie_hellman.c b/src/libstrongswan/crypto/diffie_hellman.c
index 3d319d2d4..f71ebc671 100644
--- a/src/libstrongswan/crypto/diffie_hellman.c
+++ b/src/libstrongswan/crypto/diffie_hellman.c
@@ -45,7 +45,12 @@ ENUM_NEXT(diffie_hellman_group_names, MODP_1024_160, ECP_512_BP, ECP_521_BIT,
ENUM_NEXT(diffie_hellman_group_names, MODP_NULL, MODP_CUSTOM, ECP_512_BP,
"MODP_NULL",
"MODP_CUSTOM");
-ENUM_END(diffie_hellman_group_names, MODP_CUSTOM);
+ENUM_NEXT(diffie_hellman_group_names, NTRU_112_BIT, NTRU_256_BIT, MODP_CUSTOM,
+ "NTRU_112",
+ "NTRU_128",
+ "NTRU_192",
+ "NTRU_256");
+ENUM_END(diffie_hellman_group_names, NTRU_256_BIT);
/**