Added a MODP_CUSTOM DH group which takes g and p as constructor arguments

This commit is contained in:
Martin Willi
2010-09-02 19:33:08 +02:00
parent 06109c4717
commit 0abd558a65
4 changed files with 29 additions and 7 deletions
@@ -57,6 +57,8 @@ enum diffie_hellman_group_t {
ECP_224_BIT = 26,
/** insecure NULL diffie hellman group for testing, in PRIVATE USE */
MODP_NULL = 1024,
/** MODP group with custon generator, prime */
MODP_CUSTOM = 1025,
};
/**