Home
last modified time | relevance | path

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

12

/onnv-gate/usr/src/common/openssl/doc/crypto/
H A DRAND_bytes.pod5 RAND_bytes, RAND_pseudo_bytes - generate random data
13 int RAND_pseudo_bytes(unsigned char *buf, int num);
21 RAND_pseudo_bytes() puts B<num> pseudo-random bytes into B<buf>.
22 Pseudo-random byte sequences generated by RAND_pseudo_bytes() will be
31 obtained by L<ERR_get_error(3)|ERR_get_error(3)>. RAND_pseudo_bytes() returns 1 if the
44 has a return value since OpenSSL 0.9.5. RAND_pseudo_bytes() was added
H A Drand.pod14 int RAND_pseudo_bytes(unsigned char *buf, int num);
/onnv-gate/usr/src/common/openssl/crypto/bn/
H A Dbn_rand.c147 if (RAND_pseudo_bytes(buf, bytes) == -1) in bnrand()
166 RAND_pseudo_bytes(&c, 1); in bnrand()
H A Ddivtest.c7 RAND_pseudo_bytes(x,2); in Rand()
H A Dbn.h674 #ifndef RAND_pseudo_bytes
675 int RAND_pseudo_bytes(unsigned char *buf,int num);
688 RAND_pseudo_bytes(&_tmp_char, 1); \
694 #undef RAND_pseudo_bytes
/onnv-gate/usr/src/common/openssl/crypto/asn1/
H A Dp5_pbev2.c117 RAND_pseudo_bytes(iv, EVP_CIPHER_iv_length(cipher)) < 0)
139 else if (RAND_pseudo_bytes (osalt->data, saltlen) < 0) goto merr;
H A Dp5_pbe.c100 else if (RAND_pseudo_bytes (pbe->salt->data, saltlen) < 0)
/onnv-gate/usr/src/common/openssl/crypto/bio/
H A Dbf_nbio.c141 RAND_pseudo_bytes(&n,1); in nbiof_read()
182 RAND_pseudo_bytes(&n,1); in nbiof_write()
/onnv-gate/usr/src/common/openssl/crypto/evp/
H A Dp_seal.c84 RAND_pseudo_bytes(iv,EVP_CIPHER_CTX_iv_length(ctx)); in EVP_SealInit()
H A Dbio_ok.c472 RAND_pseudo_bytes(md->md_data, md->digest->md_size); in sig_out()
/onnv-gate/usr/src/common/openssl/crypto/rand/
H A Drand.h103 int RAND_pseudo_bytes(unsigned char *buf,int num);
H A Drand_lib.c162 int RAND_pseudo_bytes(unsigned char *buf, int num) in RAND_pseudo_bytes() function
H A Drandtest.c78 i = RAND_pseudo_bytes(buf,2500); in main()
/onnv-gate/usr/src/common/openssl/crypto/des/
H A Denc_writ.c133 RAND_pseudo_bytes(shortbuf+len, 8-len); in DES_enc_write()
/onnv-gate/usr/src/common/openssl/crypto/ecdsa/
H A Decdsatest.c296 if (!RAND_pseudo_bytes(digest, 20) || in test_builtin()
297 !RAND_pseudo_bytes(wrong_digest, 20)) in test_builtin()
/onnv-gate/usr/src/common/openssl/apps/
H A 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()
H A Denc.c481 } else if (RAND_pseudo_bytes(salt, sizeof salt) < 0) in MAIN()
/onnv-gate/usr/src/common/openssl/crypto/pkcs12/
H A Dp12_mutl.c169 if (RAND_pseudo_bytes (p12->mac->salt->data, saltlen) < 0) in PKCS12_setup_mac()
/onnv-gate/usr/src/common/openssl/ssl/
H A Ds23_clnt.c241 if (RAND_pseudo_bytes(p,SSL3_RANDOM_SIZE-4) <= 0) in ssl23_client_hello()
308 if (RAND_pseudo_bytes(&(s->s3->client_random[SSL3_RANDOM_SIZE-i]),i) <= 0) in ssl23_client_hello()
H A Ds2_srvr.c483 if (RAND_pseudo_bytes(p,i) <= 0) in get_client_master_key()
790 if (RAND_pseudo_bytes(s->s2->conn_id,(int)s->s2->conn_id_length) <= 0) in server_hello()
937 if (RAND_pseudo_bytes(ccd,SSL2_MIN_CERT_CHALLENGE_LENGTH) <= 0) in request_certificate()
H A Ds2_clnt.c598 if (RAND_pseudo_bytes(s->s2->challenge,SSL2_CHALLENGE_LENGTH) <= 0) in client_hello()
648 if (RAND_pseudo_bytes(sess->key_arg,i) <= 0) in client_master_key()
/onnv-gate/usr/src/common/openssl/crypto/dsa/
H A Ddsa_gen.c157 RAND_pseudo_bytes(seed,SHA_DIGEST_LENGTH); in dsa_builtin_paramgen()
/onnv-gate/usr/src/common/openssl/crypto/ocsp/
H A Docsp_ext.c337 RAND_pseudo_bytes(tmpval, len); in ocsp_add1_nonce()
/onnv-gate/usr/src/common/openssl/doc/ssl/
H A DSSL_CTX_set_generate_session_id.pod114 RAND_pseudo_bytes(id, *id_len);
/onnv-gate/usr/src/common/openssl/crypto/pkcs7/
H A Dpk7_mime.c166 RAND_pseudo_bytes((unsigned char *)bound, 32); in SMIME_write_PKCS7()

12