Home
last modified time | relevance | path

Searched refs:RAND_priv_bytes_ex (Results 1 - 25 of 28) sorted by relevance

12

/third_party/node/deps/openssl/openssl/include/openssl/
H A Drand.h68 int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num,
/third_party/node/deps/openssl/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()
/third_party/openssl/crypto/evp/
H A Dp_seal.c47 if (len < 0 || RAND_priv_bytes_ex(libctx, iv, len, 0) <= 0) in EVP_SealInit()
/third_party/openssl/include/openssl/
H A Drand.h68 int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num,
/third_party/node/deps/openssl/openssl/crypto/bn/
H A Dbn_rand.c51 : RAND_priv_bytes_ex(libctx, buf, bytes, strength); in bnrand()
295 if (RAND_priv_bytes_ex(libctx, random_bytes, sizeof(random_bytes), 0) <= 0) in BN_generate_dsa_nonce()
/third_party/openssl/crypto/bn/
H A Dbn_rand.c51 : RAND_priv_bytes_ex(libctx, buf, bytes, strength); in bnrand()
295 if (RAND_priv_bytes_ex(libctx, random_bytes, sizeof(random_bytes), 0) <= 0) in BN_generate_dsa_nonce()
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dcipher_tdes_common.c124 if (kl == 0 || RAND_priv_bytes_ex(ctx->libctx, ptr, kl, 0) <= 0) in tdes_generatekey()
H A Dcipher_des.c126 if (kl == 0 || RAND_priv_bytes_ex(ctx->libctx, ptr, kl, 0) <= 0) in des_generatekey()
/third_party/openssl/providers/implementations/ciphers/
H A Dcipher_tdes_common.c123 if (kl == 0 || RAND_priv_bytes_ex(ctx->libctx, ptr, kl, 0) <= 0) in tdes_generatekey()
H A Dcipher_des.c125 if (kl == 0 || RAND_priv_bytes_ex(ctx->libctx, ptr, kl, 0) <= 0) in des_generatekey()
/third_party/node/deps/openssl/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 s390x_ecx_keygen25519()
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()
/third_party/openssl/providers/implementations/keymgmt/
H A Decx_kmgmt.c597 if (RAND_priv_bytes_ex(gctx->libctx, privkey, key->keylen, 0) <= 0) in ecx_gen()
856 if (RAND_priv_bytes_ex(gctx->libctx, privkey, X25519_KEYLEN, 0) <= 0) in s390x_ecx_keygen25519()
902 if (RAND_priv_bytes_ex(gctx->libctx, privkey, X448_KEYLEN, 0) <= 0) in s390x_ecx_keygen448()
954 if (RAND_priv_bytes_ex(gctx->libctx, privkey, ED25519_KEYLEN, 0) <= 0) in s390x_ecd_keygen25519()
1024 if (RAND_priv_bytes_ex(gctx->libctx, privkey, ED448_KEYLEN, 0) <= 0) in s390x_ecd_keygen448()
/third_party/node/deps/openssl/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.c181 * Generate random k and copy to param param block. RAND_priv_bytes_ex in ecdsa_s390x_nistp_sign_sig()
186 if (RAND_priv_bytes_ex(eckey->libctx, param + S390X_OFF_RN(len), in ecdsa_s390x_nistp_sign_sig()
/third_party/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.c204 if (RAND_priv_bytes_ex(libctx, privkey, KEYLENID(id), 0) <= 0) in ossl_ecx_key_op()
H A Decp_s390x_nistp.c181 * Generate random k and copy to param param block. RAND_priv_bytes_ex in ecdsa_s390x_nistp_sign_sig()
186 if (RAND_priv_bytes_ex(eckey->libctx, param + S390X_OFF_RN(len), in ecdsa_s390x_nistp_sign_sig()
/third_party/node/deps/openssl/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()
/third_party/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()
/third_party/node/deps/openssl/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()
/third_party/node/deps/openssl/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()
/third_party/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()
/third_party/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()

Completed in 19 milliseconds

12