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.c | |
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.c')
-rw-r--r-- | src/libstrongswan/crypto/diffie_hellman.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libstrongswan/crypto/diffie_hellman.c b/src/libstrongswan/crypto/diffie_hellman.c index a91507454..feb0029ed 100644 --- a/src/libstrongswan/crypto/diffie_hellman.c +++ b/src/libstrongswan/crypto/diffie_hellman.c @@ -33,5 +33,8 @@ ENUM_NEXT(diffie_hellman_group_names, MODP_2048_BIT, ECP_521_BIT, MODP_1536_BIT, "ECP_256_BIT", "ECP_384_BIT", "ECP_521_BIT"); -ENUM_END(diffie_hellman_group_names, ECP_521_BIT); +ENUM_NEXT(diffie_hellman_group_names, ECP_192_BIT, ECP_224_BIT, ECP_521_BIT, + "ECP_192_BIT", + "ECP_224_BIT"); +ENUM_END(diffie_hellman_group_names, ECP_224_BIT); |