Home
last modified time | relevance | path

Searched refs:min_inclusive (Results 1 – 3 of 3) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/bn/
Drandom.c210 int bn_in_range_words(const BN_ULONG *a, BN_ULONG min_inclusive, in bn_in_range_words() argument
212 crypto_word_t mask = ~bn_less_than_word_mask(a, len, min_inclusive); in bn_in_range_words()
217 size_t min_inclusive, const BN_ULONG *max_exclusive, in bn_range_to_mask() argument
225 (words == 1 && max_exclusive[0] <= min_inclusive)) { in bn_range_to_mask()
245 int bn_rand_range_words(BN_ULONG *out, BN_ULONG min_inclusive, in bn_rand_range_words() argument
257 if (!bn_range_to_mask(&words, &mask, min_inclusive, max_exclusive, len)) { in bn_rand_range_words()
279 } while (!bn_in_range_words(out, min_inclusive, max_exclusive, words)); in bn_rand_range_words()
283 int BN_rand_range_ex(BIGNUM *r, BN_ULONG min_inclusive, in BN_rand_range_ex() argument
287 !bn_rand_range_words(r->d, min_inclusive, max_exclusive->d, in BN_rand_range_ex()
297 int bn_rand_secret_range(BIGNUM *r, int *out_is_uniform, BN_ULONG min_inclusive, in bn_rand_secret_range() argument
[all …]
Dinternal.h304 int bn_in_range_words(const BN_ULONG *a, BN_ULONG min_inclusive, in OPENSSL_MSVC_PRAGMA()
314 int bn_rand_range_words(BN_ULONG *out, BN_ULONG min_inclusive, in OPENSSL_MSVC_PRAGMA()
336 int bn_rand_secret_range(BIGNUM *r, int *out_is_uniform, BN_ULONG min_inclusive, in OPENSSL_MSVC_PRAGMA()
/external/boringssl/src/include/openssl/
Dbn.h629 OPENSSL_EXPORT int BN_rand_range_ex(BIGNUM *r, BN_ULONG min_inclusive,