]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - include/crypto/dh.h
Add FFC param/key generation
[thirdparty/openssl.git] / include / crypto / dh.h
index 1e856101f3dc44747b78fe02cd9b5836f27bfafb..2b48b5d9059b35bd06b571bd1494e5fc9765fb83 100644 (file)
@@ -10,6 +10,9 @@
 #include <openssl/dh.h>
 #include "internal/ffc.h"
 
+int dh_generate_ffc_parameters(OPENSSL_CTX *libctx, DH *dh, int bits,
+                               int qbits, int gindex, BN_GENCB *cb);
+
 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,