Home
last modified time | relevance | path

Searched refs:output_bytes_this_pass (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/crypto/rand_extra/
Dwindows.c40 ULONG output_bytes_this_pass = ULONG_MAX; in OPENSSL_MSVC_PRAGMA() local
41 if (requested < output_bytes_this_pass) { in OPENSSL_MSVC_PRAGMA()
42 output_bytes_this_pass = (ULONG)requested; in OPENSSL_MSVC_PRAGMA()
44 if (RtlGenRandom(out, output_bytes_this_pass) == FALSE) { in OPENSSL_MSVC_PRAGMA()
47 requested -= output_bytes_this_pass; in OPENSSL_MSVC_PRAGMA()
48 out += output_bytes_this_pass; in OPENSSL_MSVC_PRAGMA()
Dfuchsia.c28 size_t output_bytes_this_pass = MX_CPRNG_DRAW_MAX_LEN; in CRYPTO_sysrand() local
29 if (requested < output_bytes_this_pass) { in CRYPTO_sysrand()
30 output_bytes_this_pass = requested; in CRYPTO_sysrand()
34 mx_cprng_draw(out, output_bytes_this_pass, &bytes_drawn); in CRYPTO_sysrand()