aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/diffie_hellman.h
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.h
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.h')
-rw-r--r--src/libstrongswan/crypto/diffie_hellman.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstrongswan/crypto/diffie_hellman.h b/src/libstrongswan/crypto/diffie_hellman.h
index edf6bbd6d..00d700314 100644
--- a/src/libstrongswan/crypto/diffie_hellman.h
+++ b/src/libstrongswan/crypto/diffie_hellman.h
@@ -64,6 +64,11 @@ enum diffie_hellman_group_t {
MODP_NULL = 1024,
/** MODP group with custom generator/prime */
MODP_CUSTOM = 1025,
+ /** Parameters defined by IEEE 1363.1, in PRIVATE USE */
+ NTRU_112_BIT = 1030,
+ NTRU_128_BIT = 1031,
+ NTRU_192_BIT = 1032,
+ NTRU_256_BIT = 1033
};
/**