Home
last modified time | relevance | path

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

12

/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLRandom.java38 NativeCrypto.RAND_bytes(bytes); in engineNextBytes()
45 NativeCrypto.RAND_bytes(output); in engineGenerateSeed()
/external/openssl/crypto/rsa/
Drsa_ssl.c85 if (RAND_bytes(p,j) <= 0) in RSA_padding_add_SSLv23()
91 if (RAND_bytes(p,1) <= 0) in RSA_padding_add_SSLv23()
Drsa_pk1.c165 if (RAND_bytes(p,j) <= 0) in RSA_padding_add_PKCS1_type_2()
171 if (RAND_bytes(p,1) <= 0) in RSA_padding_add_PKCS1_type_2()
Drsa_oaep.c66 if (RAND_bytes(seed, SHA_DIGEST_LENGTH) <= 0) in RSA_padding_add_PKCS1_OAEP()
Drsa_pss.c248 if (RAND_bytes(salt, sLen) <= 0) in RSA_padding_add_PKCS1_PSS_mgf1()
/external/openssl/crypto/bn/
Dexptest.c145 RAND_bytes(&c,1); in main()
149 RAND_bytes(&c,1); in main()
153 RAND_bytes(&c,1); in main()
Dbn_rand.c153 if (RAND_bytes(buf, bytes) <= 0) in bnrand()
348 if (RAND_bytes(random_bytes, sizeof(random_bytes)) != 1) in BN_generate_dsa_nonce()
/external/openssl/crypto/des/
Drand_key.c63 if (RAND_bytes((unsigned char *)ret, sizeof(DES_cblock)) != 1) in DES_random_key()
/external/chromium_org/third_party/boringssl/src/crypto/rand/
Drand.c19 return RAND_bytes(buf, len); in RAND_pseudo_bytes()
Dwindows.c36 int RAND_bytes(uint8_t *out, size_t requested) { in RAND_bytes() function
Durandom.c138 int RAND_bytes(uint8_t *out, size_t requested) { in RAND_bytes() function
/external/chromium_org/third_party/boringssl/src/include/openssl/
Drand.h27 OPENSSL_EXPORT int RAND_bytes(uint8_t *buf, size_t len);
/external/chromium_org/content/child/webcrypto/openssl/
Dsym_key_openssl.cc30 if (!(RAND_bytes(&random_bytes[0], keylen_bytes))) in GenerateSecretKeyOpenSsl()
/external/openssl/crypto/rand/
Drand.h102 int RAND_bytes(unsigned char *buf,int num);
Drandfile.c256 if (RAND_bytes(buf,i) <= 0) in RAND_write_file()
Drand_lib.c161 int RAND_bytes(unsigned char *buf, int num) in RAND_bytes() function
/external/openssl/include/openssl/
Drand.h102 int RAND_bytes(unsigned char *buf,int num);
/external/google-tv-pairing-protocol/cpp/src/polo/util/
Dpoloutil.cc76 if (RAND_bytes(buffer, length)) { in GenerateRandomBytes()
/external/chromium_org/content/common/
Dsandbox_mac_system_access_unittest.mm143 // Ensure that RAND_bytes is functional within the sandbox.
145 return RAND_bytes(&byte, 1) == 1;
/external/chromium_org/crypto/
Dsymmetric_key_openssl.cc45 int rv = RAND_bytes(key_data, static_cast<int>(key_size_in_bytes)); in GenerateRandomKey()
/external/chromium_org/third_party/boringssl/src/ssl/
Dd1_enc.c162 if (RAND_bytes(rec->input, EVP_CIPHER_block_size(ds->cipher)) <= 0) in dtls1_enc()
/external/openssl/ssl/
Dd1_enc.c166 if (RAND_bytes(rec->input, EVP_CIPHER_block_size(ds->cipher)) <= 0) in dtls1_enc()
/external/openssl/apps/
Drand.c220 r = RAND_bytes(buf, chunk); in MAIN()
/external/openssl/crypto/evp/
De_des.c214 if (RAND_bytes(ptr, 8) <= 0) in des_ctrl()
/external/chromium_org/third_party/webrtc/base/
Dhelpers.cc75 return (RAND_bytes(reinterpret_cast<unsigned char*>(buf), len) > 0); in Generate()

12