Searched defs:BN_rand (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/boringssl/src/crypto/bn/
H A Drandom.c116 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) { function
135 OPENSSL_PUT_ERROR(BN, BN_rand, ERR_R_MALLOC_FAILURE);
178 return BN_rand(rnd, bits, top, bottom);
199 if (!BN_rand(r, n + 1, -1 /* don't set most significant bits */,
226 if (!BN_rand(r, n, -1, 0)) {
/external/openssl/crypto/bn/
H A Dbn_rand.c212 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) function
233 int (*bn_rand)(BIGNUM *, int, int, int) = pseudo ? BN_pseudo_rand : BN_rand;

Completed in 87 milliseconds