X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=crypto%2Fbn%2Fbn.h;h=47e355ea9d18f7e41a48b7e4871a5bdfd2609464;hb=e5164b704117967f4b7f23aeb5bf5d5b181764e6;hp=b55ac956428799195e93bed7ce0a7d55feff43a7;hpb=cd2eebfd6497ac1ca4d450960ba843f14643a9b2;p=openssl.git diff --git a/crypto/bn/bn.h b/crypto/bn/bn.h index b55ac95642..47e355ea9d 100644 --- a/crypto/bn/bn.h +++ b/crypto/bn/bn.h @@ -495,6 +495,8 @@ void bn_dump1(FILE *o, const char *a, const BN_ULONG *b,int n); # define bn_dump(a,b) #endif +int BN_bntest_rand(BIGNUM *rnd, int bits, int top,int bottom); + /* BEGIN ERROR CODES */ /* The following lines are auto generated by the script mkerr.pl. Any changes * made after this point may be overwritten when the script is next run. @@ -529,6 +531,7 @@ void bn_dump1(FILE *o, const char *a, const BN_ULONG *b,int n); /* Reason codes. */ #define BN_R_ARG2_LT_ARG3 100 #define BN_R_BAD_RECIPROCAL 101 +#define BN_R_BIGNUM_TOO_LONG 114 #define BN_R_CALLED_WITH_EVEN_MODULUS 102 #define BN_R_DIV_BY_ZERO 103 #define BN_R_ENCODING_ERROR 104