Searched refs:RAND_bytes (Results 1 – 25 of 32) sorted by relevance
12
/external/openssl/crypto/bn/ |
D | exptest.c | 108 RAND_bytes(&c,1); in main() 112 RAND_bytes(&c,1); in main() 116 RAND_bytes(&c,1); in main()
|
D | bn_rand.c | 152 if (RAND_bytes(buf, bytes) <= 0) in bnrand()
|
/external/openssl/crypto/rsa/ |
D | rsa_ssl.c | 85 if (RAND_bytes(p,j) <= 0) in RSA_padding_add_SSLv23() 91 if (RAND_bytes(p,1) <= 0) in RSA_padding_add_SSLv23()
|
D | rsa_pk1.c | 163 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()
|
D | rsa_oaep.c | 65 if (RAND_bytes(seed, SHA_DIGEST_LENGTH) <= 0) in RSA_padding_add_PKCS1_OAEP()
|
D | rsa_pss.c | 248 if (RAND_bytes(salt, sLen) <= 0) in RSA_padding_add_PKCS1_PSS_mgf1()
|
/external/openssl/crypto/des/ |
D | rand_key.c | 63 if (RAND_bytes((unsigned char *)ret, sizeof(DES_cblock)) != 1) in DES_random_key()
|
/external/openssl/include/openssl/ |
D | rand.h | 102 int RAND_bytes(unsigned char *buf,int num);
|
/external/openssl/crypto/rand/ |
D | rand.h | 102 int RAND_bytes(unsigned char *buf,int num);
|
D | randfile.c | 255 if (RAND_bytes(buf,i) <= 0) in RAND_write_file()
|
D | rand_lib.c | 160 int RAND_bytes(unsigned char *buf, int num) in RAND_bytes() function
|
/external/openssh/openbsd-compat/ |
D | bsd-arc4random.c | 69 if (RAND_bytes(rand_buf, sizeof(rand_buf)) <= 0) in arc4random_stir()
|
/external/chromium/crypto/ |
D | symmetric_key_openssl.cc | 38 int rv = RAND_bytes(key_data, key_size_in_bytes); in GenerateRandomKey()
|
/external/openssl/ssl/ |
D | d1_enc.c | 166 if (RAND_bytes(rec->input, EVP_CIPHER_block_size(ds->cipher)) <= 0) in dtls1_enc()
|
D | tls_srp.c | 245 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()
|
D | d1_clnt.c | 1009 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()
|
D | s3_clnt.c | 2349 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/ |
D | rand.c | 220 r = RAND_bytes(buf, chunk); in MAIN()
|
D | s_cb.c | 778 if (!RAND_bytes(cookie_secret, COOKIE_SECRET_LENGTH)) in generate_cookie_callback()
|
/external/openssh/ |
D | entropy.c | 184 if (RAND_bytes(buf, sizeof(buf)) <= 0) { in rexec_send_rng_seed()
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | helpers.cc | 157 return (RAND_bytes(reinterpret_cast<unsigned char*>(buf), len) > 0); in Generate()
|
/external/openssl/crypto/evp/ |
D | e_des.c | 214 if (RAND_bytes(ptr, 8) <= 0) in des_ctrl()
|
D | e_des3.c | 292 if (RAND_bytes(ptr, c->key_len) <= 0) in des3_ctrl()
|
D | evp_enc.c | 642 if (RAND_bytes(key, ctx->key_len) <= 0) in EVP_CIPHER_CTX_rand_key()
|
/external/openssl/crypto/pem/ |
D | pvkfmt.c | 886 if (RAND_bytes(p, PVK_SALTLEN) <= 0) in i2b_PVK()
|
12