Home
last modified time | relevance | path

Searched refs:RAND_bytes (Results 1 – 25 of 43) sorted by relevance

12

/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLRandom.java40 NativeCrypto.RAND_bytes(bytes); in engineNextBytes()
46 NativeCrypto.RAND_bytes(output); in engineGenerateSeed()
DOpenSSLCipher.java507 NativeCrypto.RAND_bytes(iv); in engineInitInternal()
1077 NativeCrypto.RAND_bytes(iv); in engineInitInternal()
/external/boringssl/src/crypto/rand_extra/
Drand_extra.c24 RAND_bytes(&unused, sizeof(unused)); in RAND_seed()
55 RAND_bytes,
/external/boringssl/src/crypto/
Dthread_test.cc190 RAND_bytes(buf, sizeof(buf)); in TEST()
195 RAND_bytes(buf2, sizeof(buf2)); in TEST()
/external/boringssl/src/crypto/fipsmodule/rsa/
Dpadding.c149 if (!RAND_bytes(out, len)) { in rand_nonzero()
155 if (!RAND_bytes(out + i, 1)) { in rand_nonzero()
352 if (!RAND_bytes(seed, mdlen)) { in RSA_padding_add_PKCS1_OAEP_mgf1()
642 if (!RAND_bytes(salt, sLen)) { in RSA_padding_add_PKCS1_PSS_mgf1()
/external/boringssl/src/crypto/fipsmodule/rand/
Drand.c352 int RAND_bytes(uint8_t *out, size_t out_len) { in RAND_bytes() function
359 return RAND_bytes(buf, len); in RAND_pseudo_bytes()
/external/boringssl/src/include/openssl/
Drand.h29 OPENSSL_EXPORT int RAND_bytes(uint8_t *buf, size_t len);
/external/tpm2/
DCpriRNG.c118 if(RAND_bytes(buffer, randomSize) == 1) in _cpri__GenerateRandom()
/external/boringssl/src/tool/
Drand.cc73 RAND_bytes(buf, todo); in Rand()
Dserver.cc120 RAND_bytes(reinterpret_cast<uint8_t*>(&serial), sizeof(serial)); in MakeSelfSignedCert()
/external/google-tv-pairing-protocol/cpp/src/polo/util/
Dpoloutil.cc76 if (RAND_bytes(buffer, length)) { in GenerateRandomBytes()
/external/libchrome/crypto/
Dsymmetric_key.cc48 int rv = RAND_bytes(key_data, static_cast<int>(key_size_in_bytes)); in GenerateRandomKey()
/external/boringssl/src/
DFUZZING.md59 * Replace `RAND_bytes` with a deterministic PRNG. Call `RAND_reset_for_fuzzing()` at the start of f…
/external/openssh/
Dentropy.c188 if (RAND_bytes(buf, sizeof(buf)) <= 0) { in rexec_send_rng_seed()
/external/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa_test.cc142 ASSERT_TRUE(RAND_bytes(digest, 20)); in TEST()
143 ASSERT_TRUE(RAND_bytes(wrong_digest, 20)); in TEST()
/external/openssh/openbsd-compat/
Darc4random.c112 if (RAND_bytes(rnd, sizeof(rnd)) <= 0) in _rs_stir()
/external/webrtc/webrtc/base/
Dhelpers.cc55 return (RAND_bytes(reinterpret_cast<unsigned char*>(buf), len) > 0); in Generate()
/external/boringssl/src/crypto/curve25519/
Dspake25519.c345 RAND_bytes(private_tmp, sizeof(private_tmp)); in SPAKE2_generate_msg()
/external/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c172 if (!RAND_bytes(iv, EVP_CIPHER_iv_length(cipher))) { in PKCS5_pbe2_encrypt_init()
/external/boringssl/src/crypto/fipsmodule/
DFIPS.md34 …DRBGs). In BoringCrypto, we use CTR-DRBG with AES-256 exclusively and `RAND_bytes` (the primary in…
40 The CTR-DRBG is reseeded every 4096 calls to `RAND_bytes`. Thus the process will randomly crash abo…
42 …read) which means that cloned states will diverge at the next call to `RAND_bytes`. This is called…
/external/boringssl/src/ssl/
Dtls13_server.cc169 if (!RAND_bytes((uint8_t *)&session->ticket_age_add, 4)) { in add_new_session_tickets()
546 !RAND_bytes(ssl->s3->server_random, sizeof(ssl->s3->server_random)) || in do_send_server_hello()
Dssl_aead_ctx.cc306 if (!RAND_bytes(nonce + nonce_len, aead->variable_nonce_len)) { in SSL_AEAD_CTX_seal_scatter()
Dssl_session.cc565 if (!RAND_bytes(session->session_id, session->session_id_length)) { in ssl_get_new_session()
622 if (!RAND_bytes(iv, 16) || in ssl_encrypt_ticket_with_cipher_ctx()
Dhandshake_client.cc756 !RAND_bytes(ssl->s3->client_random, sizeof(ssl->s3->client_random))) { in ssl3_send_client_hello()
763 if (!RAND_bytes(hs->session_id, hs->session_id_len)) { in ssl3_send_client_hello()
1623 if (!RAND_bytes(&pms[2], SSL_MAX_MASTER_KEY_LENGTH - 2)) { in ssl3_send_client_key_exchange()
/external/curl/lib/
Dsetup-vms.h262 #define RAND_bytes RAND_BYTES macro

12