diffie-hellman: Add DH group identifiers for Curve25519 and Curve448
This commit is contained in:
committed by
Andreas Steffen
parent
ee5da1633a
commit
a4195d3841
@@ -37,6 +37,7 @@ typedef struct diffie_hellman_params_t diffie_hellman_params_t;
|
||||
*
|
||||
* ECP groups are defined in RFC 4753 and RFC 5114.
|
||||
* ECC Brainpool groups are defined in RFC 6954.
|
||||
* Curve25519 and Curve448 groups are defined in RFC 8031.
|
||||
*/
|
||||
enum diffie_hellman_group_t {
|
||||
MODP_NONE = 0,
|
||||
@@ -60,6 +61,8 @@ enum diffie_hellman_group_t {
|
||||
ECP_256_BP = 28,
|
||||
ECP_384_BP = 29,
|
||||
ECP_512_BP = 30,
|
||||
CURVE_25519 = 31,
|
||||
CURVE_448 = 32,
|
||||
/** insecure NULL diffie hellman group for testing, in PRIVATE USE */
|
||||
MODP_NULL = 1024,
|
||||
/** MODP group with custom generator/prime */
|
||||
|
||||
Reference in New Issue
Block a user