Add support for DH 'modp' group parameters (RFC 3526)
[openssl.git] / include / crypto / dh.h
index 4032bdc10e502c789dd6f848004c54b0682dbfd2..1e856101f3dc44747b78fe02cd9b5836f27bfafb 100644 (file)
@@ -8,8 +8,11 @@
  */
 
 #include <openssl/dh.h>
+#include "internal/ffc.h"
 
 int dh_compute_key(OPENSSL_CTX *ctx, unsigned char *key, const BIGNUM *pub_key,
                    DH *dh);
 int dh_compute_key_padded(OPENSSL_CTX *ctx, unsigned char *key,
                           const BIGNUM *pub_key, DH *dh);
+FFC_PARAMS *dh_get0_params(DH *dh);
+int dh_get0_nid(const DH *dh);