Home
last modified time | relevance | path

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

12

/external/openssl/crypto/bn/
Dexptest.c108 RAND_bytes(&c,1); in main()
112 RAND_bytes(&c,1); in main()
116 RAND_bytes(&c,1); in main()
Dbn_rand.c152 if (RAND_bytes(buf, bytes) <= 0) in bnrand()
/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.c163 if (RAND_bytes(p,j) <= 0) in RSA_padding_add_PKCS1_type_2()
169 if (RAND_bytes(p,1) <= 0) in RSA_padding_add_PKCS1_type_2()
Drsa_oaep.c65 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/des/
Drand_key.c63 if (RAND_bytes((unsigned char *)ret, sizeof(DES_cblock)) != 1) in DES_random_key()
/external/openssl/include/openssl/
Drand.h102 int RAND_bytes(unsigned char *buf,int num);
/external/openssl/crypto/rand/
Drand.h102 int RAND_bytes(unsigned char *buf,int num);
Drandfile.c255 if (RAND_bytes(buf,i) <= 0) in RAND_write_file()
Drand_lib.c160 int RAND_bytes(unsigned char *buf, int num) in RAND_bytes() function
/external/openssh/openbsd-compat/
Dbsd-arc4random.c69 if (RAND_bytes(rand_buf, sizeof(rand_buf)) <= 0) in arc4random_stir()
/external/chromium/crypto/
Dsymmetric_key_openssl.cc38 int rv = RAND_bytes(key_data, key_size_in_bytes); in GenerateRandomKey()
/external/openssl/ssl/
Dd1_enc.c166 if (RAND_bytes(rec->input, EVP_CIPHER_block_size(ds->cipher)) <= 0) in dtls1_enc()
Dtls_srp.c245 if (RAND_bytes(b, sizeof(b)) <= 0) in SSL_srp_server_param_with_username()
422 RAND_bytes(rnd, sizeof(rnd)); in SRP_Calc_A_param()
Dd1_clnt.c1009 if (RAND_bytes(&(tmp_buf[2]),sizeof tmp_buf-2) <= 0) in dtls1_send_client_key_exchange()
1137 if (RAND_bytes(tmp_buf,sizeof tmp_buf) <= 0) in dtls1_send_client_key_exchange()
Ds3_clnt.c2349 if (RAND_bytes(&(tmp_buf[2]),sizeof tmp_buf-2) <= 0) in ssl3_send_client_key_exchange()
2479 if (RAND_bytes(&(tmp_buf[2]),sizeof tmp_buf-2) <= 0) in ssl3_send_client_key_exchange()
2801 RAND_bytes(premaster_secret,32); in ssl3_send_client_key_exchange()
/external/openssl/apps/
Drand.c220 r = RAND_bytes(buf, chunk); in MAIN()
Ds_cb.c778 if (!RAND_bytes(cookie_secret, COOKIE_SECRET_LENGTH)) in generate_cookie_callback()
/external/openssh/
Dentropy.c184 if (RAND_bytes(buf, sizeof(buf)) <= 0) { in rexec_send_rng_seed()
/external/chromium/third_party/libjingle/source/talk/base/
Dhelpers.cc157 return (RAND_bytes(reinterpret_cast<unsigned char*>(buf), len) > 0); in Generate()
/external/openssl/crypto/evp/
De_des.c214 if (RAND_bytes(ptr, 8) <= 0) in des_ctrl()
De_des3.c292 if (RAND_bytes(ptr, c->key_len) <= 0) in des3_ctrl()
Devp_enc.c642 if (RAND_bytes(key, ctx->key_len) <= 0) in EVP_CIPHER_CTX_rand_key()
/external/openssl/crypto/pem/
Dpvkfmt.c886 if (RAND_bytes(p, PVK_SALTLEN) <= 0) in i2b_PVK()

12