Home
last modified time | relevance | path

Searched refs:RAND_priv_bytes_ex (Results 1 – 18 of 18) sorted by relevance

/freebsd-src/crypto/openssl/doc/man3/
H A DRAND_bytes.pod5 RAND_bytes, RAND_priv_bytes, RAND_bytes_ex, RAND_priv_bytes_ex,
17 int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num,
38 RAND_bytes_ex() and RAND_priv_bytes_ex() are the same as RAND_bytes() and
98 The RAND_bytes_ex() and RAND_priv_bytes_ex() functions were added in OpenSSL 3.0
/freebsd-src/crypto/openssl/providers/implementations/keymgmt/
H A Decx_kmgmt.c600 if (RAND_priv_bytes_ex(gctx->libctx, privkey, key->keylen, 0) <= 0) in ecx_gen()
859 if (RAND_priv_bytes_ex(gctx->libctx, privkey, X25519_KEYLEN, 0) <= 0) in MAKE_KEYMGMT_FUNCTIONS()
905 if (RAND_priv_bytes_ex(gctx->libctx, privkey, X448_KEYLEN, 0) <= 0) in s390x_ecx_keygen448()
957 if (RAND_priv_bytes_ex(gctx->libctx, privkey, ED25519_KEYLEN, 0) <= 0) in s390x_ecd_keygen25519()
1027 if (RAND_priv_bytes_ex(gctx->libctx, privkey, ED448_KEYLEN, 0) <= 0) in s390x_ecd_keygen448()
/freebsd-src/crypto/openssl/include/openssl/
H A Drand.h68 int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num,
/freebsd-src/crypto/openssl/crypto/evp/
H A Dp_seal.c47 if (len < 0 || RAND_priv_bytes_ex(libctx, iv, len, 0) <= 0) in EVP_SealInit()
H A Devp_enc.c1402 if (kl <= 0 || RAND_priv_bytes_ex(libctx, key, kl, 0) <= 0) in EVP_CIPHER_CTX_rand_key()
/freebsd-src/crypto/openssl/crypto/bn/
H A Dbn_rand.c51 : RAND_priv_bytes_ex(libctx, buf, bytes, strength); in bnrand()
348 if (RAND_priv_bytes_ex(libctx, random_bytes, sizeof(random_bytes), in ossl_bn_gen_dsa_nonce_fixed_top()
/freebsd-src/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_tdes_common.c124 if (kl == 0 || RAND_priv_bytes_ex(ctx->libctx, ptr, kl, 0) <= 0)
H A Dcipher_des.c126 if (kl == 0 || RAND_priv_bytes_ex(ctx->libctx, ptr, kl, 0) <= 0) in des_generatekey()
/freebsd-src/crypto/openssl/crypto/ec/
H A Decx_meth.c960 if (RAND_priv_bytes_ex(ctx->libctx, privkey, X25519_KEYLEN, 0) <= 0) in s390x_pkey_ecx_keygen25519()
1003 if (RAND_priv_bytes_ex(ctx->libctx, privkey, X448_KEYLEN, 0) <= 0) in s390x_pkey_ecx_keygen448()
1052 if (RAND_priv_bytes_ex(ctx->libctx, privkey, ED25519_KEYLEN, 0) <= 0) in s390x_pkey_ecd_keygen25519()
1118 if (RAND_priv_bytes_ex(ctx->libctx, privkey, ED448_KEYLEN, 0) <= 0) in s390x_pkey_ecd_keygen448()
H A Decx_backend.c207 if (RAND_priv_bytes_ex(libctx, privkey, KEYLENID(id), 0) <= 0) in ossl_ecx_key_op()
H A Decp_s390x_nistp.c186 if (RAND_priv_bytes_ex(eckey->libctx, param + S390X_OFF_RN(len), in ecdsa_s390x_nistp_sign_sig()
/freebsd-src/crypto/openssl/crypto/rsa/
H A Drsa_pk1.c320 if (RAND_priv_bytes_ex(libctx, rand_premaster_secret, in ossl_rsa_padding_check_PKCS1_type_2_TLS()
/freebsd-src/crypto/openssl/crypto/rand/
H A Drand_lib.c325 int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num, in RAND_priv_bytes_ex() function
351 return RAND_priv_bytes_ex(NULL, buf, (size_t)num, 0); in RAND_priv_bytes()
/freebsd-src/crypto/openssl/ssl/
H A Dtls_srp.c206 if (RAND_priv_bytes_ex(s->ctx->libctx, b, sizeof(b), 0) <= 0) in ssl_srp_server_param_with_username_intern()
423 if (RAND_priv_bytes_ex(s->ctx->libctx, rnd, sizeof(rnd), 0) <= 0) in ssl_srp_calc_a_param_intern()
H A Dssl_lib.c3363 || (RAND_priv_bytes_ex(libctx, ret->ext.secure->tick_hmac_key, in SSL_CTX_new_ex()
3365 || (RAND_priv_bytes_ex(libctx, ret->ext.secure->tick_aes_key, in SSL_CTX_new_ex()
3369 if (RAND_priv_bytes_ex(libctx, ret->ext.cookie_hmac_key, in SSL_CTX_new_ex()
/freebsd-src/secure/lib/libcrypto/
H A DVersion.map5294 RAND_priv_bytes_ex;
/freebsd-src/secure/lib/libcrypto/man/man3/
H A DMakefile3574 MLINKS+= RAND_bytes.3 RAND_priv_bytes_ex.3
/freebsd-src/crypto/openssl/util/
H A Dlibcrypto.num4869 RAND_priv_bytes_ex 4997 3_0_0 EXIST::FUNCTION: