diff options
author | Tobias Brunner <tobias@strongswan.org> | 2008-05-22 11:55:05 +0000 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2008-05-22 11:55:05 +0000 |
commit | 346e9c5712e947549eb24f57128ef8075c3dd47b (patch) | |
tree | a8f842ea438cb3c28cdbbb27a7b9267da3f2be70 /src/libstrongswan/crypto/diffie_hellman.h | |
parent | fc1a31d54b324625cca413583abc43406d70e930 (diff) | |
download | strongswan-346e9c5712e947549eb24f57128ef8075c3dd47b.tar.bz2 strongswan-346e9c5712e947549eb24f57128ef8075c3dd47b.tar.xz |
added the ECP groups from RFC 5114
Diffstat (limited to 'src/libstrongswan/crypto/diffie_hellman.h')
-rw-r--r-- | src/libstrongswan/crypto/diffie_hellman.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstrongswan/crypto/diffie_hellman.h b/src/libstrongswan/crypto/diffie_hellman.h index 53d89c377..b94c679dc 100644 --- a/src/libstrongswan/crypto/diffie_hellman.h +++ b/src/libstrongswan/crypto/diffie_hellman.h @@ -35,7 +35,7 @@ typedef struct diffie_hellman_t diffie_hellman_t; * The modulus (or group) to use for a Diffie-Hellman calculation. * See IKEv2 RFC 3.3.2 and RFC 3526. * - * ECP groups are defined in RFC 4753. + * ECP groups are defined in RFC 4753 and RFC 5114. */ enum diffie_hellman_group_t { MODP_NONE = 0, @@ -50,6 +50,8 @@ enum diffie_hellman_group_t { ECP_256_BIT = 19, ECP_384_BIT = 20, ECP_521_BIT = 21, + ECP_192_BIT = 25, + ECP_224_BIT = 26, }; |