added the ECP groups from RFC 5114

This commit is contained in:
Tobias Brunner
2008-05-22 11:55:05 +00:00
parent fc1a31d54b
commit 346e9c5712
5 changed files with 25 additions and 2 deletions
@@ -125,6 +125,10 @@ plugin_t *plugin_create()
(dh_constructor_t)openssl_diffie_hellman_create);
/* ec diffie hellman */
lib->crypto->add_dh(lib->crypto, ECP_192_BIT,
(dh_constructor_t)openssl_ec_diffie_hellman_create);
lib->crypto->add_dh(lib->crypto, ECP_224_BIT,
(dh_constructor_t)openssl_ec_diffie_hellman_create);
lib->crypto->add_dh(lib->crypto, ECP_256_BIT,
(dh_constructor_t)openssl_ec_diffie_hellman_create);
lib->crypto->add_dh(lib->crypto, ECP_384_BIT,