Home
last modified time | relevance | path

Searched refs:RAND_pseudo_bytes (Results 1 – 25 of 40) sorted by relevance

12

/external/openssl/crypto/bn/
Dbn_rand.c147 if (RAND_pseudo_bytes(buf, bytes) == -1) in bnrand()
166 RAND_pseudo_bytes(&c, 1); in bnrand()
Ddivtest.c7 RAND_pseudo_bytes(x,2); in Rand()
Dbn.h740 #ifndef RAND_pseudo_bytes
741 int RAND_pseudo_bytes(unsigned char *buf,int num);
754 RAND_pseudo_bytes(&_tmp_char, 1); \
760 #undef RAND_pseudo_bytes
/external/openssl/crypto/bio/
Dbf_nbio.c139 RAND_pseudo_bytes(&n,1); in nbiof_read()
180 RAND_pseudo_bytes(&n,1); in nbiof_write()
/external/openssl/crypto/asn1/
Dp5_pbev2.c121 else if (RAND_pseudo_bytes(iv, EVP_CIPHER_iv_length(cipher)) < 0)
224 else if (RAND_pseudo_bytes (osalt->data, saltlen) < 0) in PKCS5_pbkdf2_set()
Dp5_pbe.c107 else if (RAND_pseudo_bytes(sstr, saltlen) < 0)
/external/openssl/crypto/evp/
Dp_seal.c84 RAND_pseudo_bytes(iv,EVP_CIPHER_CTX_iv_length(ctx)); in EVP_SealInit()
Dbio_ok.c494 RAND_pseudo_bytes(md->md_data, md->digest->md_size); in sig_out()
/external/openssl/include/openssl/
Drand.h103 int RAND_pseudo_bytes(unsigned char *buf,int num);
Dbn.h740 #ifndef RAND_pseudo_bytes
741 int RAND_pseudo_bytes(unsigned char *buf,int num);
754 RAND_pseudo_bytes(&_tmp_char, 1); \
760 #undef RAND_pseudo_bytes
/external/openssl/crypto/rand/
Drand.h103 int RAND_pseudo_bytes(unsigned char *buf,int num);
Drandtest.c78 i = RAND_pseudo_bytes(buf,2500); in main()
Drand_lib.c168 int RAND_pseudo_bytes(unsigned char *buf, int num) in RAND_pseudo_bytes() function
/external/openssl/crypto/des/
Denc_writ.c136 RAND_pseudo_bytes(shortbuf+len, 8-len); in DES_enc_write()
/external/openssl/crypto/srp/
Dsrp_vfy.c506 RAND_pseudo_bytes(digv, SHA_DIGEST_LENGTH); in SRP_VBASE_get_by_user()
561 RAND_pseudo_bytes(tmp2, SRP_RANDOM_SALT_LEN); in SRP_create_verifier()
629 RAND_pseudo_bytes(tmp2, SRP_RANDOM_SALT_LEN); in SRP_create_verifier_BN()
/external/openssl/crypto/ecdsa/
Decdsatest.c300 if (!RAND_pseudo_bytes(digest, 20) || in test_builtin()
301 !RAND_pseudo_bytes(wrong_digest, 20)) in test_builtin()
/external/openssl/apps/
Dpasswd.c438 if (RAND_pseudo_bytes((unsigned char *)*salt_p, 2) < 0) in do_passwd()
461 if (RAND_pseudo_bytes((unsigned char *)*salt_p, 8) < 0) in do_passwd()
/external/openssl/crypto/pkcs12/
Dp12_mutl.c177 if (RAND_pseudo_bytes (p12->mac->salt->data, saltlen) < 0) in PKCS12_setup_mac()
/external/openssl/ssl/
Ds23_clnt.c360 if (RAND_pseudo_bytes(p,SSL3_RANDOM_SIZE-4) <= 0) in ssl23_client_hello()
449 if (RAND_pseudo_bytes(&(s->s3->client_random[SSL3_RANDOM_SIZE-i]),i) <= 0) in ssl23_client_hello()
Ds2_srvr.c484 if (RAND_pseudo_bytes(p,i) <= 0) in get_client_master_key()
789 if (RAND_pseudo_bytes(s->s2->conn_id,(int)s->s2->conn_id_length) <= 0) in server_hello()
936 if (RAND_pseudo_bytes(ccd,SSL2_MIN_CERT_CHALLENGE_LENGTH) <= 0) in request_certificate()
Dd1_both.c1483 RAND_pseudo_bytes(bp, padding); in dtls1_process_heartbeat()
1570 RAND_pseudo_bytes(p, 16); in dtls1_heartbeat()
1573 RAND_pseudo_bytes(p, padding); in dtls1_heartbeat()
Ds2_clnt.c600 if (RAND_pseudo_bytes(s->s2->challenge,SSL2_CHALLENGE_LENGTH) <= 0) in client_hello()
650 if (RAND_pseudo_bytes(sess->key_arg,i) <= 0) in client_master_key()
Dt1_lib.c2543 RAND_pseudo_bytes(bp, padding); in tls1_process_heartbeat()
2629 RAND_pseudo_bytes(p, 16); in tls1_heartbeat()
2632 RAND_pseudo_bytes(p, padding); in tls1_heartbeat()
/external/openssl/crypto/dsa/
Ddsa_gen.c206 RAND_pseudo_bytes(seed, qsize); in dsa_builtin_paramgen()
/external/openssl/crypto/ocsp/
Docsp_ext.c338 RAND_pseudo_bytes(tmpval, len); in ocsp_add1_nonce()

12