H A D | bn_rand.c | 23 static int bnrand(BNRAND_FLAG flag, BIGNUM *rnd, int bits, int top, int bottom, in bnrand() argument 31 if (top != BN_RAND_TOP_ANY || bottom != BN_RAND_BOTTOM_ANY) in bnrand() 49 /* make a random number and set the top and bottom bits */ in bnrand() 87 if (bottom) /* set bottom bit if requested */ in bnrand() 102 int BN_rand_ex(BIGNUM *rnd, int bits, int top, int bottom, in BN_rand_ex() argument 105 return bnrand(NORMAL, rnd, bits, top, bottom, strength, ctx); in BN_rand_ex() 108 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) in BN_rand() argument 110 return bnrand(NORMAL, rnd, bits, top, bottom, 0, NULL); in BN_rand() 113 int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom) in BN_bntest_rand() argument 119 BN_priv_rand_ex(BIGNUM * rnd,int bits,int top,int bottom,unsigned int strength,BN_CTX * ctx) BN_priv_rand_ex() argument 126 BN_priv_rand(BIGNUM * rnd,int bits,int top,int bottom) BN_priv_rand() argument 231 BN_pseudo_rand(BIGNUM * rnd,int bits,int top,int bottom) BN_pseudo_rand() argument [all...] |