Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/rand/
Drand.c117 int RAND_bytes(uint8_t *buf, size_t len) { in RAND_bytes() function
192 return RAND_bytes(buf, len); in RAND_pseudo_bytes()
199 RAND_bytes(&unused, sizeof(unused)); in RAND_seed()
228 RAND_bytes,
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLRandom.java42 NativeCrypto.RAND_bytes(bytes); in engineNextBytes()
49 NativeCrypto.RAND_bytes(output); in engineGenerateSeed()
DNativeCrypto.java354 public static native void RAND_bytes(byte[] output); in RAND_bytes() method in NativeCrypto
/external/boringssl/src/crypto/bn/
Drandom.c142 if (!RAND_bytes(buf, bytes)) { in BN_rand()
292 if (!RAND_bytes(random_bytes, sizeof(random_bytes))) { in BN_generate_dsa_nonce()
/external/boringssl/src/crypto/rsa/
Dpadding.c177 if (!RAND_bytes(p, j)) { in RSA_padding_add_PKCS1_type_2()
183 if (!RAND_bytes(p, 1)) { in RSA_padding_add_PKCS1_type_2()
366 if (!RAND_bytes(seed, mdlen)) { in RSA_padding_add_PKCS1_OAEP_mgf1()
656 if (!RAND_bytes(salt, sLen)) { in RSA_padding_add_PKCS1_PSS_mgf1()
/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.cc72 RAND_bytes(buf, todo); in Rand()
Dspeed.cc287 RAND_bytes(scratch, chunk_len); in SpeedRandomChunk()
/external/google-tv-pairing-protocol/cpp/src/polo/util/
Dpoloutil.cc76 if (RAND_bytes(buffer, length)) { in GenerateRandomBytes()
/external/boringssl/src/crypto/ecdsa/
Decdsa_test.cc150 if (!RAND_bytes(digest, 20) || !RAND_bytes(wrong_digest, 20)) { in TestBuiltin()
/external/boringssl/src/crypto/pkcs8/
Dp5_pbe.c109 else if (!RAND_bytes(sstr, saltlen))
Dp5_pbev2.c147 else if (!RAND_bytes(iv, EVP_CIPHER_iv_length(cipher))) in PKCS5_pbe2_set_iv()
249 else if (!RAND_bytes(osalt->data, saltlen)) in PKCS5_pbkdf2_set()
/external/libchrome/crypto/
Dsymmetric_key_openssl.cc47 int rv = RAND_bytes(key_data, static_cast<int>(key_size_in_bytes)); in GenerateRandomKey()
/external/tlsdate/src/events/
Dkickoff_time_sync.c52 if (RAND_bytes ( (unsigned char *) &n, sizeof (n)) != 1) in add_jitter()
/external/boringssl/src/ssl/
Ds3_both.c571 return RAND_bytes(p + 4, len - 4); in ssl_fill_hello_random()
573 return RAND_bytes(out, len); in ssl_fill_hello_random()
Dssl_aead_ctx.c256 if (!RAND_bytes(nonce + nonce_len, aead->variable_nonce_len)) { in SSL_AEAD_CTX_seal()
Dssl_session.c326 if (!RAND_bytes(session->session_id, session->session_id_length)) { in ssl_get_new_session()
Dssl_lib.c282 if (!RAND_bytes(ret->tlsext_tick_key_name, 16) || in SSL_CTX_new()
283 !RAND_bytes(ret->tlsext_tick_hmac_key, 16) || in SSL_CTX_new()
284 !RAND_bytes(ret->tlsext_tick_aes_key, 16)) { in SSL_CTX_new()
Ds3_srvr.c1600 if (!RAND_bytes(premaster_secret, premaster_secret_len)) { in ssl3_get_client_key_exchange()
2064 if (!RAND_bytes(iv, 16) || in ssl3_send_new_session_ticket()
/external/webrtc/webrtc/base/
Dhelpers.cc55 return (RAND_bytes(reinterpret_cast<unsigned char*>(buf), len) > 0); in Generate()
/external/curl/lib/
Dsetup-vms.h258 #define RAND_bytes RAND_BYTES macro
/external/boringssl/src/crypto/pem/
Dpem_lib.c341 if (!RAND_bytes(iv, iv_len)) /* Generate a salt */ in PEM_ASN1_write_bio()
/external/boringssl/src/crypto/dsa/
Ddsa.c207 if (!RAND_bytes(seed, qsize)) { in DSA_generate_parameters_ex()
/external/curl/lib/vtls/
Dopenssl.c241 RAND_bytes(randb, len); in ossl_seed()
3168 RAND_bytes(entropy, curlx_uztosi(length)); in Curl_ossl_random()

12