diff options
author | Martin Willi <martin@strongswan.org> | 2008-11-22 16:14:55 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2008-11-22 16:14:55 +0000 |
commit | a20abb81e9ffcc7e7b6baecb971272de20a17755 (patch) | |
tree | 159ebb976de95aa64fe8e31c15850708e8af4c1d /src/libstrongswan/crypto/diffie_hellman.h | |
parent | 8f45ece098abf2a5a970fee54bbbccc2b77d426a (diff) | |
download | strongswan-a20abb81e9ffcc7e7b6baecb971272de20a17755.tar.bz2 strongswan-a20abb81e9ffcc7e7b6baecb971272de20a17755.tar.xz |
added a MODP_NULL Diffie Hellman group to avoid calculation overhead in load-testing
Diffstat (limited to 'src/libstrongswan/crypto/diffie_hellman.h')
-rw-r--r-- | src/libstrongswan/crypto/diffie_hellman.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstrongswan/crypto/diffie_hellman.h b/src/libstrongswan/crypto/diffie_hellman.h index 65a6714c5..04ed9eaeb 100644 --- a/src/libstrongswan/crypto/diffie_hellman.h +++ b/src/libstrongswan/crypto/diffie_hellman.h @@ -52,6 +52,8 @@ enum diffie_hellman_group_t { ECP_521_BIT = 21, ECP_192_BIT = 25, ECP_224_BIT = 26, + /** insecure NULL diffie hellman group for testing, in PRIVATE USE */ + MODP_NULL = 1024, }; /** |