added the ECP groups from RFC 5114
This commit is contained in:
@@ -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,
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user