/external/boringssl/src/crypto/rand_extra/ |
D | rand_test.cc | 49 RAND_bytes(buf1, sizeof(buf1)); in TEST() 50 RAND_bytes(buf2, sizeof(buf2)); in TEST() 79 RAND_bytes(out.data(), out.size()); in ForkAndRand() 133 RAND_bytes(&byte, 1); in TEST() 142 RAND_bytes(buf3, sizeof(buf3)); in TEST() 164 std::thread([i, &bufs] { RAND_bytes(bufs[i].data(), bufs[i].size()); }); in RunConcurrentRands()
|
D | rand_extra.c | 24 RAND_bytes(&unused, sizeof(unused)); in RAND_seed() 55 RAND_bytes,
|
/external/boringssl/src/crypto/hrss/ |
D | hrss_test.cc | 51 RAND_bytes(bits, sizeof(bits)); in TEST() 81 RAND_bytes(reinterpret_cast<uint8_t *>(p), sizeof(poly3)); in poly3_rand() 202 RAND_bytes(generate_key_entropy, sizeof(generate_key_entropy)); in TEST() 211 RAND_bytes(encap_entropy, sizeof(encap_entropy)); in TEST() 223 RAND_bytes((uint8_t*) &offset, sizeof(offset)); in TEST() 225 RAND_bytes(&bit, sizeof(bit)); in TEST()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLRandom.java | 40 NativeCrypto.RAND_bytes(bytes); in engineNextBytes() 46 NativeCrypto.RAND_bytes(output); in engineGenerateSeed()
|
D | OpenSSLCipherChaCha20.java | 65 NativeCrypto.RAND_bytes(iv); in engineInitInternal()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLRandom.java | 45 NativeCrypto.RAND_bytes(bytes); in engineNextBytes() 51 NativeCrypto.RAND_bytes(output); in engineGenerateSeed()
|
D | OpenSSLCipherChaCha20.java | 69 NativeCrypto.RAND_bytes(iv); in engineInitInternal()
|
/external/boringssl/src/crypto/ |
D | abi_self_test.cc | 40 RAND_bytes(reinterpret_cast<uint8_t *>(&state), sizeof(state)); in TEST() 110 RAND_bytes(reinterpret_cast<uint8_t *>(&state), sizeof(state)); in TEST() 214 RAND_bytes(reinterpret_cast<uint8_t *>(&state), sizeof(state)); in TEST() 286 RAND_bytes(reinterpret_cast<uint8_t *>(&state), sizeof(state)); in TEST() 425 RAND_bytes(reinterpret_cast<uint8_t *>(&state), sizeof(state)); in TEST()
|
D | thread_test.cc | 124 RAND_bytes(buf, sizeof(buf)); in TEST() 128 RAND_bytes(buf2, sizeof(buf2)); in TEST()
|
D | constant_time_test.cc | 143 RAND_bytes(buf, sizeof(buf)); in TEST()
|
/external/boringssl/src/crypto/fipsmodule/rand/ |
D | rand.c | 343 int RAND_bytes(uint8_t *out, size_t out_len) { in RAND_bytes() function 350 return RAND_bytes(buf, len); in RAND_pseudo_bytes()
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | padding.c | 149 if (!RAND_bytes(out, len)) { in rand_nonzero() 155 if (!RAND_bytes(out + i, 1)) { in rand_nonzero() 355 if (!RAND_bytes(seed, mdlen)) { in RSA_padding_add_PKCS1_OAEP_mgf1() 645 if (!RAND_bytes(salt, sLen)) { in RSA_padding_add_PKCS1_PSS_mgf1()
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | random.c | 158 RAND_bytes((uint8_t *)rnd->d, words * sizeof(BN_ULONG)); in BN_rand() 316 RAND_bytes((uint8_t *)r->d, words * sizeof(BN_ULONG)); in bn_rand_secret_range()
|
/external/boringssl/src/include/openssl/ |
D | rand.h | 29 OPENSSL_EXPORT int RAND_bytes(uint8_t *buf, size_t len);
|
/external/boringssl/src/tool/ |
D | rand.cc | 73 RAND_bytes(buf, todo); in Rand()
|
D | speed.cc | 488 RAND_bytes(scratch, chunk_len); in SpeedRandomChunk() 790 RAND_bytes(entropy, sizeof(entropy)); in SpeedHRSS() 803 RAND_bytes(key_entropy, sizeof(key_entropy)); in SpeedHRSS() 810 RAND_bytes(entropy, sizeof(entropy)); in SpeedHRSS()
|
/external/libchrome/crypto/ |
D | symmetric_key.cc | 48 int rv = RAND_bytes(key_data, static_cast<int>(key_size_in_bytes)); in GenerateRandomKey()
|
/external/boringssl/src/ |
D | FUZZING.md | 54 * Replace `RAND_bytes` with a deterministic PRNG. Call `RAND_reset_for_fuzzing()` at the start of f…
|
/external/boringssl/src/ssl/ |
D | ssl_session.cc | 385 if (!RAND_bytes(session->session_id, session->session_id_length)) { in ssl_get_new_session() 435 RAND_bytes(new_key->name, 16); in ssl_ctx_rotate_ticket_encryption_key() 436 RAND_bytes(new_key->hmac_key, 16); in ssl_ctx_rotate_ticket_encryption_key() 437 RAND_bytes(new_key->aes_key, 16); in ssl_ctx_rotate_ticket_encryption_key() 492 if (!RAND_bytes(iv, 16) || in ssl_encrypt_ticket_with_cipher_ctx()
|
D | ssl_key_share.cc | 224 RAND_bytes(hrss_entropy, sizeof(hrss_entropy)); in Offer() 261 RAND_bytes(entropy, sizeof(entropy)); in Accept()
|
/external/openssh/ |
D | entropy.c | 188 if (RAND_bytes(buf, sizeof(buf)) <= 0) { in rexec_send_rng_seed()
|
/external/boringssl/src/ssl/test/ |
D | handshaker.cc | 147 RAND_bytes(&byte, 1); in main()
|
/external/boringssl/src/crypto/fipsmodule/ecdsa/ |
D | ecdsa_test.cc | 182 ASSERT_TRUE(RAND_bytes(digest, 20)); in TEST() 183 ASSERT_TRUE(RAND_bytes(wrong_digest, 20)); in TEST()
|
/external/openssh/openbsd-compat/ |
D | arc4random.c | 112 if (RAND_bytes(rnd, sizeof(rnd)) <= 0) in _rs_stir()
|
/external/webrtc/webrtc/base/ |
D | helpers.cc | 55 return (RAND_bytes(reinterpret_cast<unsigned char*>(buf), len) > 0); in Generate()
|