Home
last modified time | relevance | path

Searched refs:RAND_bytes (Results 1 – 25 of 31) 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
11 int RAND_bytes(unsigned char *buf, int num);
17 RAND_bytes() puts B<num> cryptographically strong pseudo-random bytes
30 RAND_bytes() returns 1 on success, 0 otherwise. The error code can be
43 RAND_bytes() is available in all versions of SSLeay and OpenSSL. It
H A Drand.pod13 int RAND_bytes(unsigned char *buf, int num);
62 L<RAND_bytes(3)|RAND_bytes(3)> describes how to obtain random data from the
171 L<RAND_bytes(3)|RAND_bytes(3)>,
H A DBN_rand.pod49 L<RAND_add(3)|RAND_add(3)>, L<RAND_bytes(3)|RAND_bytes(3)>
H A DRAND_set_rand_method.pod49 RAND_bytes(), RAND_cleanup(), RAND_add(), RAND_pseudo_rand()
H A DRAND_egd.pod57 OpenSSL automatically queries EGD when entropy is requested via RAND_bytes()
/onnv-gate/usr/src/common/openssl/crypto/bn/
H A Dexptest.c108 RAND_bytes(&c,1); in main()
112 RAND_bytes(&c,1); in main()
116 RAND_bytes(&c,1); in main()
H A Dbn_rand.c152 if (RAND_bytes(buf, bytes) <= 0) in bnrand()
/onnv-gate/usr/src/common/openssl/crypto/rsa/
H A 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()
H A 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()
H A Drsa_oaep.c71 if (RAND_bytes(seed, SHA_DIGEST_LENGTH) <= 0) in RSA_padding_add_PKCS1_OAEP()
H A Drsa_pss.c220 if (!RAND_bytes(salt, sLen)) in RSA_padding_add_PKCS1_PSS()
/onnv-gate/usr/src/common/openssl/doc/apps/
H A Drand.pod48 L<RAND_bytes(3)|RAND_bytes(3)>
/onnv-gate/usr/src/common/openssl/crypto/des/
H A Drand_key.c63 if (RAND_bytes((unsigned char *)ret, sizeof(DES_cblock)) != 1) in DES_random_key()
/onnv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dbsd-arc4random.c75 if (!RAND_bytes(rand_buf, sizeof(rand_buf))) in arc4random_stir()
/onnv-gate/usr/src/lib/libkmsagent/common/
H A DKMSAgentCryptoUtilities.cpp45 if ( 1 != RAND_bytes( o_pBytes, i_iNumBytes) ) in GetPseudorandomBytes()
/onnv-gate/usr/src/common/openssl/crypto/rand/
H A Drand.h102 int RAND_bytes(unsigned char *buf,int num);
H A Drand_lib.c154 int RAND_bytes(unsigned char *buf, int num) in RAND_bytes() function
H A Drandfile.c200 if (RAND_bytes(buf,i) <= 0) in RAND_write_file()
H A Dmd_rand.c517 ret = RAND_bytes(buf, num); in ssleay_rand_pseudo_bytes()
/onnv-gate/usr/src/common/openssl/crypto/evp/
H A De_des.c166 if (RAND_bytes(ptr, 8) <= 0) in des_ctrl()
H A De_des3.c248 if (RAND_bytes(ptr, c->key_len) <= 0) in des3_ctrl()
H A Devp_enc.c543 if (RAND_bytes(key, ctx->key_len) <= 0) in EVP_CIPHER_CTX_rand_key()
/onnv-gate/usr/src/common/openssl/apps/
H A Drand.c210 r = RAND_bytes(buf, chunk); in MAIN()
/onnv-gate/usr/src/common/openssl/ssl/
H A Dd1_enc.c150 if (!RAND_bytes(rec->input, EVP_CIPHER_block_size(ds->cipher))) in dtls1_enc()
H A Dd1_clnt.c742 if (RAND_bytes(&(tmp_buf[2]),sizeof tmp_buf-2) <= 0) in dtls1_send_client_key_exchange()
870 if (RAND_bytes(tmp_buf,sizeof tmp_buf) <= 0) in dtls1_send_client_key_exchange()

12