Searched refs:RAND_bytes (Results 1 - 25 of 132) sorted by relevance

123456

/netbsd-current/crypto/external/bsd/netpgp/dist/src/libbn/
H A Drand.h40 int RAND_bytes(unsigned char */*buf*/, int /*len*/);
H A Drand.c45 RAND_bytes(unsigned char *buf, int num) function
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dgenerate_seq_number.c43 if (RAND_bytes((void *)seqno, sizeof(*seqno)) <= 0)
H A Dcrypto-rand.c119 if (RAND_bytes(buf, len) <= 0)
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Drnd_keys.c54 RAND_bytes(outdata, size);
60 RAND_bytes(block, sizeof(*block));
104 if (RAND_bytes(key, sizeof(*key)) != 1)
H A Drand.h51 #define RAND_bytes hc_RAND_bytes macro
85 int RAND_bytes(void *, size_t num);
H A Dtest_rsa.c303 RAND_bytes(p, loops * size);
343 RAND_bytes(sha1, sizeof(sha1));
349 RAND_bytes(des3, sizeof(des3));
355 RAND_bytes(aes, sizeof(aes));
376 RAND_bytes(&n, sizeof(n));
387 RAND_bytes(sha1, sizeof(sha1));
H A Drand.c103 RAND_bytes(void *outdata, size_t size) function
322 res = RAND_bytes(buf, sizeof(buf));
H A Dtest_rand.c138 if (RAND_bytes(buffer, len) != 1)
139 errx(1, "RAND_bytes");
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/
H A Dentropy.c26 if (RAND_bytes(buf, buflen) < 1) {
27 FATAL_ERROR(__FILE__, __LINE__, "RAND_bytes(): %s",
/netbsd-current/external/mpl/bind/dist/lib/isc/
H A Dentropy.c26 if (RAND_bytes(buf, buflen) < 1) {
27 FATAL_ERROR("RAND_bytes(): %s",
/netbsd-current/external/bsd/ntp/dist/libntp/
H A Dntp_crypto_rnd.c50 * - If we are building with OpenSSL, use RAND_poll() and RAND_bytes().
99 rc = RAND_bytes(buf, size2int_chk(nbytes));
/netbsd-current/tests/crypto/libcrypto/bn/div/
H A Ddivtest.c7 RAND_bytes(x, 2);
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/evp/
H A Dp_seal.c37 && RAND_bytes(iv, EVP_CIPHER_CTX_iv_length(ctx)) <= 0)
/netbsd-current/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Drand.h42 int RAND_bytes(unsigned char *buf, int num);
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/asn1/
H A Dp5_pbe.c55 else if (RAND_bytes(sstr, saltlen) <= 0)
H A Dp5_pbev2.c70 else if (RAND_bytes(iv, EVP_CIPHER_iv_length(cipher)) <= 0)
173 else if (RAND_bytes(osalt->data, saltlen) <= 0)
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/rsa/
H A Drsa_pk1.c137 if (RAND_bytes(p, j) <= 0)
142 if (RAND_bytes(p, 1) <= 0)
H A Drsa_ssl.c37 if (RAND_bytes(p, j) <= 0)
42 if (RAND_bytes(p, 1) <= 0)
/netbsd-current/external/ibm-public/postfix/dist/src/tls/
H A Dtls_prng_exch.c120 RAND_bytes(buffer, sizeof(buffer));
/netbsd-current/crypto/external/bsd/openssl/dist/include/openssl/
H A Drand.h61 int RAND_bytes(unsigned char *buf, int num);
72 * Equivalent of RAND_bytes() but additionally taking an OSSL_LIB_CTX and
/netbsd-current/crypto/external/bsd/openssl.old/dist/test/
H A Dexptest.c176 RAND_bytes(&c, 1);
180 RAND_bytes(&c, 1);
184 RAND_bytes(&c, 1);
/netbsd-current/external/ibm-public/postfix/dist/src/tlsmgr/
H A Dtlsmgr.c358 RAND_bytes(&randbyte, 1);
443 RAND_bytes(&randbyte, 1);
497 if (RAND_bytes(tmp.name, TLS_TICKET_NAMELEN) <= 0
498 || RAND_bytes(tmp.bits, TLS_TICKET_KEYLEN) <= 0
499 || RAND_bytes(tmp.hmac, TLS_TICKET_MACLEN) <= 0)
763 RAND_bytes((unsigned char *) STR(buffer), len);
/netbsd-current/crypto/external/bsd/openssl/dist/test/
H A Dexptest.c176 if (!TEST_int_gt(RAND_bytes(&c, 1), 0))
183 if (!TEST_int_gt(RAND_bytes(&c, 1), 0))
190 if (!TEST_int_gt(RAND_bytes(&c, 1), 0))
/netbsd-current/crypto/external/bsd/openssl.old/dist/apps/
H A Drand.c107 r = RAND_bytes(buf, chunk);

Completed in 531 milliseconds

123456