Add a method to generate a prime that is guaranteed not to be divisible by 3 or 5.
[oweals/openssl.git] / crypto / bn / bn_lcl.h
index 40ef22b73f2243b15a80853a43503d26a8e50a94..fc54dcecdce2b3dbd6a491ce9c831f9c37b33200 100644 (file)
@@ -536,6 +536,8 @@ BIGNUM *int_bn_mod_inverse(BIGNUM *in,
 
 int bn_probable_prime_dh(BIGNUM *rnd, int bits,
        const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
+int bn_probable_prime_dh_coprime(BIGNUM *rnd, int bits,
+       const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
 
 #ifdef  __cplusplus
 }