Make sure BN_sqr can never return a negative value.
[openssl.git] / crypto / bn / bn_lcl.h
index 40ef22b73f2243b15a80853a43503d26a8e50a94..3de1d4cde1aa2187d67888c6681b8820aa39e23c 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_retry(BIGNUM *rnd, int bits, BN_CTX *ctx);
+int bn_probable_prime_dh_coprime(BIGNUM *rnd, int bits, BN_CTX *ctx);
 
 #ifdef  __cplusplus
 }