OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:BN_rand
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/boringssl/src/crypto/bn/
random.c
116
int
BN_rand
(BIGNUM *rnd, int bits, int top, int bottom) {
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/
bn_rand.c
1
/* crypto/bn/
bn_rand
.c */
212
int
BN_rand
(BIGNUM *rnd, int bits, int top, int bottom)
233
int (*
bn_rand
)(BIGNUM *, int, int, int) = pseudo ? BN_pseudo_rand :
BN_rand
;
255
if (!
bn_rand
(r, n + 1, -1, 0)) return 0;
282
if (!
bn_rand
(r, n, -1, 0)) return 0;
Completed in 7025 milliseconds