version 1.1.2.4, 2001/05/07 21:09:29 |
version 1.1.2.5, 2001/09/27 00:15:42 |
|
|
BIGNUM *p; |
BIGNUM *p; |
}; |
}; |
|
|
DH *choose_dh(int min, int nbits, int max); |
DH *choose_dh(int, int, int); |
DH *dh_new_group_asc(const char *, const char *); |
DH *dh_new_group_asc(const char *, const char *); |
DH *dh_new_group(BIGNUM *, BIGNUM *); |
DH *dh_new_group(BIGNUM *, BIGNUM *); |
DH *dh_new_group1(void); |
DH *dh_new_group1(void); |
|
|
void dh_gen_key(DH *, int); |
void dh_gen_key(DH *, int); |
int dh_pub_is_valid(DH *dh, BIGNUM *dh_pub); |
int dh_pub_is_valid(DH *, BIGNUM *); |
|
|
int dh_estimate(int bits); |
int dh_estimate(int); |
|
|
#define DH_GRP_MIN 1024 |
#define DH_GRP_MIN 1024 |
#define DH_GRP_MAX 8192 |
#define DH_GRP_MAX 8192 |