diff options
Diffstat (limited to 'src/include/openssl/dh.h')
-rw-r--r-- | src/include/openssl/dh.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/openssl/dh.h b/src/include/openssl/dh.h index 75df632..17574d5 100644 --- a/src/include/openssl/dh.h +++ b/src/include/openssl/dh.h @@ -235,7 +235,7 @@ struct dh_st { BIGNUM *p; BIGNUM *g; - BIGNUM *pub_key; /* g^x mod p */ + BIGNUM *pub_key; /* g^x */ BIGNUM *priv_key; /* x */ /* priv_length contains the length, in bits, of the private value. If zero, @@ -262,6 +262,10 @@ struct dh_st { } /* extern C */ #endif +#define DH_F_DH_new_method 100 +#define DH_F_compute_key 101 +#define DH_F_generate_key 102 +#define DH_F_generate_parameters 103 #define DH_R_BAD_GENERATOR 100 #define DH_R_INVALID_PUBKEY 101 #define DH_R_MODULUS_TOO_LARGE 102 |