Symbol: OPENSSL_zalloc
crypto/openssl/apps/cmp.c
2366
if ((info = OPENSSL_zalloc(sizeof(*info))) == NULL)
crypto/openssl/apps/lib/apps.c
3422
params = OPENSSL_zalloc(sizeof(OSSL_PARAM) * (sz + 1));
crypto/openssl/apps/lib/cmp_mock_srv.c
55
mock_srv_ctx *ctx = OPENSSL_zalloc(sizeof(mock_srv_ctx));
crypto/openssl/apps/lib/engine_loader.c
47
OSSL_STORE_LOADER_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/apps/openssl.c
178
trace_data = OPENSSL_zalloc(sizeof(*trace_data));
crypto/openssl/apps/passwd.c
658
if ((p_bytes = OPENSSL_zalloc(passwd_len)) == NULL)
crypto/openssl/apps/passwd.c
675
if ((s_bytes = OPENSSL_zalloc(salt_len)) == NULL)
crypto/openssl/crypto/asn1/a_object.c
337
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/asn1/a_strnid.c
166
if ((rv = OPENSSL_zalloc(sizeof(*rv))) == NULL)
crypto/openssl/crypto/asn1/a_time.c
426
t.data = OPENSSL_zalloc(t.length + 1);
crypto/openssl/crypto/asn1/ameth_lib.c
225
EVP_PKEY_ASN1_METHOD *ameth = OPENSSL_zalloc(sizeof(*ameth));
crypto/openssl/crypto/asn1/asn1_lib.c
355
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/asn1/bio_asn1.c
101
BIO_ASN1_BUF_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/crypto/asn1/bio_ndef.c
70
ndef_aux = OPENSSL_zalloc(sizeof(*ndef_aux));
crypto/openssl/crypto/asn1/tasn_new.c
113
*pval = OPENSSL_zalloc(it->size);
crypto/openssl/crypto/asn1/tasn_new.c
135
*pval = OPENSSL_zalloc(it->size);
crypto/openssl/crypto/asn1/tasn_prn.c
39
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/asn1/tasn_scn.c
27
ASN1_SCTX *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/asn1/x_info.c
20
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/asn1/x_int64.c
124
if ((*pval = (ASN1_VALUE *)OPENSSL_zalloc(sizeof(uint32_t))) == NULL)
crypto/openssl/crypto/asn1/x_int64.c
31
if ((*pval = (ASN1_VALUE *)OPENSSL_zalloc(sizeof(uint64_t))) == NULL)
crypto/openssl/crypto/asn1/x_pkey.c
20
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/async/async.c
367
pool = OPENSSL_zalloc(sizeof(*pool));
crypto/openssl/crypto/async/async.c
82
job = OPENSSL_zalloc(sizeof(*job));
crypto/openssl/crypto/async/async_wait.c
17
return OPENSSL_zalloc(sizeof(ASYNC_WAIT_CTX));
crypto/openssl/crypto/async/async_wait.c
51
if ((fdlookup = OPENSSL_zalloc(sizeof(*fdlookup))) == NULL)
crypto/openssl/crypto/bio/bf_buff.c
47
BIO_F_BUFFER_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/crypto/bio/bf_nbio.c
58
if ((nt = OPENSSL_zalloc(sizeof(*nt))) == NULL)
crypto/openssl/crypto/bio/bf_prefix.c
54
PREFIX_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/crypto/bio/bf_readbuff.c
55
BIO_F_BUFFER_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/crypto/bio/bf_readbuff.c
60
ctx->ibuf = OPENSSL_zalloc(DEFAULT_BUFFER_SIZE);
crypto/openssl/crypto/bio/bio_addr.c
54
BIO_ADDR *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/bio/bio_addr.c
611
if ((*bai = OPENSSL_zalloc(sizeof(**bai))) == NULL)
crypto/openssl/crypto/bio/bio_lib.c
83
BIO *bio = OPENSSL_zalloc(sizeof(*bio));
crypto/openssl/crypto/bio/bio_meth.c
39
BIO_METHOD *biom = OPENSSL_zalloc(sizeof(BIO_METHOD));
crypto/openssl/crypto/bio/bio_sock.c
311
*ip_port = OPENSSL_zalloc(strlen(host) + strlen(port) + 2);
crypto/openssl/crypto/bio/bss_acpt.c
95
if ((ret = OPENSSL_zalloc(sizeof(*ret))) == NULL)
crypto/openssl/crypto/bio/bss_bio.c
78
struct bio_bio_st *b = OPENSSL_zalloc(sizeof(*b));
crypto/openssl/crypto/bio/bss_conn.c
289
if ((ret = OPENSSL_zalloc(sizeof(*ret))) == NULL)
crypto/openssl/crypto/bio/bss_core.c
32
return OPENSSL_zalloc(sizeof(BIO_CORE_GLOBALS));
crypto/openssl/crypto/bio/bss_dgram.c
1837
authchunks = OPENSSL_zalloc(sockopt_len);
crypto/openssl/crypto/bio/bss_dgram.c
1925
if ((data = OPENSSL_zalloc(sizeof(*data))) == NULL)
crypto/openssl/crypto/bio/bss_dgram.c
275
bio_dgram_data *data = OPENSSL_zalloc(sizeof(*data));
crypto/openssl/crypto/bio/bss_dgram_pair.c
279
struct bio_dgram_pair_st *b = OPENSSL_zalloc(sizeof(*b));
crypto/openssl/crypto/bio/bss_mem.c
111
BIO_BUF_MEM *bb = OPENSSL_zalloc(sizeof(*bb));
crypto/openssl/crypto/bio/bss_mem.c
119
if ((bb->readp = OPENSSL_zalloc(sizeof(*bb->readp))) == NULL) {
crypto/openssl/crypto/bio/bss_sock.c
83
bi->ptr = OPENSSL_zalloc(sizeof(struct bss_sock_st));
crypto/openssl/crypto/bn/bn_blind.c
36
if ((ret = OPENSSL_zalloc(sizeof(*ret))) == NULL)
crypto/openssl/crypto/bn/bn_ctx.c
126
if ((ret = OPENSSL_zalloc(sizeof(*ret))) == NULL)
crypto/openssl/crypto/bn/bn_lib.c
246
if ((ret = OPENSSL_zalloc(sizeof(*ret))) == NULL)
crypto/openssl/crypto/bn/bn_lib.c
279
a = OPENSSL_zalloc(words * sizeof(*a));
crypto/openssl/crypto/bn/bn_prime.c
147
mods = OPENSSL_zalloc(sizeof(*mods) * NUMPRIMES);
crypto/openssl/crypto/bn/bn_recp.c
24
if ((ret = OPENSSL_zalloc(sizeof(*ret))) == NULL)
crypto/openssl/crypto/bn/bn_s390x.c
34
buffer = OPENSSL_zalloc(4 * size);
crypto/openssl/crypto/bn/bn_s390x.c
98
buffer = OPENSSL_zalloc(9 * size + 24);
crypto/openssl/crypto/bn/rsaz_exp_x2.c
425
storage = (BN_ULONG *)OPENSSL_zalloc(storage_len_bytes);
crypto/openssl/crypto/buffer/buffer.c
35
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/cmp/cmp_ctx.c
110
OSSL_CMP_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/crypto/cmp/cmp_server.c
56
OSSL_CMP_SRV_CTX *ctx = OPENSSL_zalloc(sizeof(OSSL_CMP_SRV_CTX));
crypto/openssl/crypto/cms/cms_smime.c
358
si_chains = OPENSSL_zalloc(scount * sizeof(si_chains[0]));
crypto/openssl/crypto/comp/c_brotli.c
114
struct brotli_state *state = OPENSSL_zalloc(sizeof(*state));
crypto/openssl/crypto/comp/c_brotli.c
35
return OPENSSL_zalloc(size);
crypto/openssl/crypto/comp/c_brotli.c
452
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/crypto/comp/c_zlib.c
120
struct zlib_state *state = OPENSSL_zalloc(sizeof(*state));
crypto/openssl/crypto/comp/c_zlib.c
404
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/crypto/comp/c_zlib.c
43
p = OPENSSL_zalloc(no * size);
crypto/openssl/crypto/comp/c_zstd.c
141
struct zstd_state *state = OPENSSL_zalloc(sizeof(*state));
crypto/openssl/crypto/comp/c_zstd.c
50
return OPENSSL_zalloc(size);
crypto/openssl/crypto/comp/c_zstd.c
517
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/crypto/comp/comp_lib.c
25
if ((ret = OPENSSL_zalloc(sizeof(*ret))) == NULL)
crypto/openssl/crypto/conf/conf_def.c
857
newpath = OPENSSL_zalloc(newlen);
crypto/openssl/crypto/conf/conf_mod.c
358
if ((tmod = OPENSSL_zalloc(sizeof(*tmod))) == NULL)
crypto/openssl/crypto/conf/conf_ssl.c
102
ssl_name->cmds = OPENSSL_zalloc(cnt * sizeof(struct ssl_conf_cmd_st));
crypto/openssl/crypto/conf/conf_ssl.c
80
ssl_names = OPENSSL_zalloc(sizeof(*ssl_names) * cnt);
crypto/openssl/crypto/context.c
446
OSSL_LIB_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/crypto/core_namemap.c
528
if ((namemap = OPENSSL_zalloc(sizeof(*namemap))) == NULL)
crypto/openssl/crypto/ct/ct_log.c
102
CTLOG_STORE *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/ct/ct_log.c
259
CTLOG *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/ct/ct_log.c
63
CTLOG_STORE_LOAD_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/crypto/ct/ct_policy.c
31
CT_POLICY_EVAL_CTX *ctx = OPENSSL_zalloc(sizeof(CT_POLICY_EVAL_CTX));
crypto/openssl/crypto/ct/ct_sct.c
24
SCT *sct = OPENSSL_zalloc(sizeof(*sct));
crypto/openssl/crypto/ct/ct_sct_ctx.c
25
SCT_CTX *sctx = OPENSSL_zalloc(sizeof(*sctx));
crypto/openssl/crypto/defaults.c
95
tempstr = OPENSSL_zalloc(keysizebytes + sizeof(WCHAR));
crypto/openssl/crypto/deterministic_nonce.c
206
T = (unsigned char *)OPENSSL_zalloc(allocsz);
crypto/openssl/crypto/dh/dh_lib.c
76
DH *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/dh/dh_meth.c
22
DH_METHOD *dhm = OPENSSL_zalloc(sizeof(*dhm));
crypto/openssl/crypto/dh/dh_pmeth.c
58
if ((dctx = OPENSSL_zalloc(sizeof(*dctx))) == NULL)
crypto/openssl/crypto/dsa/dsa_lib.c
134
DSA *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/dsa/dsa_meth.c
23
DSA_METHOD *dsam = OPENSSL_zalloc(sizeof(*dsam));
crypto/openssl/crypto/dsa/dsa_sign.c
36
DSA_SIG *sig = OPENSSL_zalloc(sizeof(*sig));
crypto/openssl/crypto/dso/dso_lib.c
17
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/dso/dso_win32.c
216
result = OPENSSL_zalloc(sizeof(*result));
crypto/openssl/crypto/ec/ec_asn1.c
1185
ECDSA_SIG *sig = OPENSSL_zalloc(sizeof(*sig));
crypto/openssl/crypto/ec/ec_kmeth.c
178
EC_KEY_METHOD *ret = OPENSSL_zalloc(sizeof(*meth));
crypto/openssl/crypto/ec/ec_kmeth.c
83
EC_KEY *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/ec/ec_lib.c
44
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/ec/ec_lib.c
729
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/ec/ec_mult.c
57
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/ec/ec_pmeth.c
51
if ((dctx = OPENSSL_zalloc(sizeof(*dctx))) == NULL)
crypto/openssl/crypto/ec/ecp_nistp224.c
1225
NISTP224_PRE_COMP *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/ec/ecp_nistp224.c
1461
secrets = OPENSSL_zalloc(sizeof(*secrets) * num_points);
crypto/openssl/crypto/ec/ecp_nistp224.c
1462
pre_comp = OPENSSL_zalloc(sizeof(*pre_comp) * num_points);
crypto/openssl/crypto/ec/ecp_nistp256.c
1844
NISTP256_PRE_COMP *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/ec/ecp_nistp384.c
1566
NISTP384_PRE_COMP *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/ec/ecp_nistp384.c
1801
secrets = OPENSSL_zalloc(sizeof(*secrets) * num_points);
crypto/openssl/crypto/ec/ecp_nistp384.c
1802
pre_comp = OPENSSL_zalloc(sizeof(*pre_comp) * num_points);
crypto/openssl/crypto/ec/ecp_nistp521.c
1658
NISTP521_PRE_COMP *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/ec/ecp_nistp521.c
1895
secrets = OPENSSL_zalloc(sizeof(*secrets) * num_points);
crypto/openssl/crypto/ec/ecp_nistp521.c
1896
pre_comp = OPENSSL_zalloc(sizeof(*pre_comp) * num_points);
crypto/openssl/crypto/ec/ecp_nistz256.c
1195
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/ec/ecx_backend.c
109
ECX_KEY *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/ec/ecx_key.c
23
ECX_KEY *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/encode_decode/decoder_lib.c
256
if ((decoder_inst = OPENSSL_zalloc(sizeof(*decoder_inst))) == NULL)
crypto/openssl/crypto/encode_decode/decoder_lib.c
319
if ((dest = OPENSSL_zalloc(sizeof(*dest))) == NULL)
crypto/openssl/crypto/encode_decode/decoder_meth.c
42
if ((decoder = OPENSSL_zalloc(sizeof(*decoder))) == NULL)
crypto/openssl/crypto/encode_decode/decoder_meth.c
632
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/crypto/encode_decode/decoder_pkey.c
461
if ((process_data = OPENSSL_zalloc(sizeof(*process_data))) == NULL)
crypto/openssl/crypto/encode_decode/decoder_pkey.c
617
process_data_dest = OPENSSL_zalloc(sizeof(*process_data_dest));
crypto/openssl/crypto/encode_decode/decoder_pkey.c
906
newcache = OPENSSL_zalloc(sizeof(*newcache));
crypto/openssl/crypto/encode_decode/encoder_lib.c
224
if ((encoder_inst = OPENSSL_zalloc(sizeof(*encoder_inst))) == NULL)
crypto/openssl/crypto/encode_decode/encoder_meth.c
42
if ((encoder = OPENSSL_zalloc(sizeof(*encoder))) == NULL)
crypto/openssl/crypto/encode_decode/encoder_meth.c
612
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/crypto/encode_decode/encoder_pkey.c
252
if ((data = OPENSSL_zalloc(sizeof(*data))) == NULL)
crypto/openssl/crypto/engine/eng_dyn.c
159
dynamic_data_ctx *c = OPENSSL_zalloc(sizeof(*c));
crypto/openssl/crypto/engine/eng_lib.c
36
if ((ret = OPENSSL_zalloc(sizeof(*ret))) == NULL)
crypto/openssl/crypto/engine/eng_openssl.c
459
if ((hctx = OPENSSL_zalloc(sizeof(*hctx))) == NULL)
crypto/openssl/crypto/evp/asymcipher.c
352
EVP_ASYM_CIPHER *cipher = OPENSSL_zalloc(sizeof(EVP_ASYM_CIPHER));
crypto/openssl/crypto/evp/bio_b64.c
70
if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL)
crypto/openssl/crypto/evp/bio_enc.c
68
if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL)
crypto/openssl/crypto/evp/bio_ok.c
136
if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL)
crypto/openssl/crypto/evp/digest.c
131
return OPENSSL_zalloc(sizeof(EVP_MD_CTX));
crypto/openssl/crypto/evp/digest.c
344
ctx->md_data = OPENSSL_zalloc(type->ctx_size);
crypto/openssl/crypto/evp/digest.c
943
EVP_MD *md = OPENSSL_zalloc(sizeof(*md));
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
506
= OPENSSL_zalloc(sizeof(*actx) + Poly1305_ctx_size());
crypto/openssl/crypto/evp/encode.c
120
return OPENSSL_zalloc(sizeof(EVP_ENCODE_CTX));
crypto/openssl/crypto/evp/evp_enc.c
1847
EVP_CIPHER *cipher = OPENSSL_zalloc(sizeof(EVP_CIPHER));
crypto/openssl/crypto/evp/evp_enc.c
387
ctx->cipher_data = OPENSSL_zalloc(ctx->cipher->ctx_size);
crypto/openssl/crypto/evp/evp_enc.c
76
ctx = OPENSSL_zalloc(sizeof(EVP_CIPHER_CTX));
crypto/openssl/crypto/evp/evp_pbe.c
212
if ((pbe_tmp = OPENSSL_zalloc(sizeof(*pbe_tmp))) == NULL)
crypto/openssl/crypto/evp/evp_rand.c
350
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/crypto/evp/evp_rand.c
81
EVP_RAND *rand = OPENSSL_zalloc(sizeof(*rand));
crypto/openssl/crypto/evp/exchange.c
33
EVP_KEYEXCH *exchange = OPENSSL_zalloc(sizeof(EVP_KEYEXCH));
crypto/openssl/crypto/evp/kdf_lib.c
30
ctx = OPENSSL_zalloc(sizeof(EVP_KDF_CTX));
crypto/openssl/crypto/evp/kdf_meth.c
50
if ((kdf = OPENSSL_zalloc(sizeof(*kdf))) == NULL
crypto/openssl/crypto/evp/kem.c
287
EVP_KEM *kem = OPENSSL_zalloc(sizeof(EVP_KEM));
crypto/openssl/crypto/evp/keymgmt_meth.c
34
if ((keymgmt = OPENSSL_zalloc(sizeof(*keymgmt))) == NULL)
crypto/openssl/crypto/evp/mac_lib.c
24
EVP_MAC_CTX *ctx = OPENSSL_zalloc(sizeof(EVP_MAC_CTX));
crypto/openssl/crypto/evp/mac_meth.c
49
if ((mac = OPENSSL_zalloc(sizeof(*mac))) == NULL
crypto/openssl/crypto/evp/p_lib.c
1502
EVP_PKEY *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/evp/p_lib.c
2243
buf = OPENSSL_zalloc(buf_sz);
crypto/openssl/crypto/evp/pmeth_lib.c
1074
info = OPENSSL_zalloc(info_alloc);
crypto/openssl/crypto/evp/pmeth_lib.c
128
pmeth = OPENSSL_zalloc(sizeof(*pmeth));
crypto/openssl/crypto/evp/pmeth_lib.c
297
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/evp/pmeth_lib.c
463
rctx = OPENSSL_zalloc(sizeof(*rctx));
crypto/openssl/crypto/evp/s_lib.c
39
if ((skey = OPENSSL_zalloc(sizeof(*skey))) == NULL)
crypto/openssl/crypto/evp/signature.c
35
EVP_SIGNATURE *signature = OPENSSL_zalloc(sizeof(EVP_SIGNATURE));
crypto/openssl/crypto/evp/skeymgmt_meth.c
52
if ((skeymgmt = OPENSSL_zalloc(sizeof(*skeymgmt))) == NULL)
crypto/openssl/crypto/hashtable/hashtable.c
179
HT *new = OPENSSL_zalloc(sizeof(*new));
crypto/openssl/crypto/hashtable/hashtable.c
207
new->md = OPENSSL_zalloc(sizeof(*new->md));
crypto/openssl/crypto/hashtable/hashtable.c
290
newmd = OPENSSL_zalloc(sizeof(*newmd));
crypto/openssl/crypto/hashtable/hashtable.c
385
HT_VALUE_LIST *list = OPENSSL_zalloc(sizeof(HT_VALUE_LIST)
crypto/openssl/crypto/hashtable/hashtable.c
452
if ((newmd = OPENSSL_zalloc(sizeof(*newmd))) == NULL)
crypto/openssl/crypto/hmac/hmac.c
164
HMAC_CTX *ctx = OPENSSL_zalloc(sizeof(HMAC_CTX));
crypto/openssl/crypto/hmac/hmac_s390x.c
119
ctx->plat.s390x.buf = OPENSSL_zalloc(ctx->plat.s390x.blk_size * HMAC_S390X_BUF_NUM_BLOCKS);
crypto/openssl/crypto/hpke/hpke.c
829
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/crypto/http/http_client.c
117
if ((rctx = OPENSSL_zalloc(sizeof(*rctx))) == NULL)
crypto/openssl/crypto/indicator_core.c
24
cb = OPENSSL_zalloc(sizeof(*cb));
crypto/openssl/crypto/initthread.c
101
if ((hands = OPENSSL_zalloc(sizeof(*hands))) == NULL)
crypto/openssl/crypto/initthread.c
283
CRYPTO_THREAD_LOCAL *tlocal = OPENSSL_zalloc(sizeof(*tlocal));
crypto/openssl/crypto/initthread.c
291
hands = OPENSSL_zalloc(sizeof(*hands));
crypto/openssl/crypto/initthread.c
60
glob_tevent_reg = OPENSSL_zalloc(sizeof(*glob_tevent_reg));
crypto/openssl/crypto/lhash/lhash.c
67
if ((ret = OPENSSL_zalloc(sizeof(*ret))) == NULL)
crypto/openssl/crypto/lhash/lhash.c
69
if ((ret->b = OPENSSL_zalloc(sizeof(*ret->b) * MIN_NODES)) == NULL)
crypto/openssl/crypto/mem_sec.c
478
sh.freelist = OPENSSL_zalloc(sh.freelist_size * sizeof(char *));
crypto/openssl/crypto/mem_sec.c
483
sh.bittable = OPENSSL_zalloc(sh.bittable_size >> 3);
crypto/openssl/crypto/mem_sec.c
488
sh.bitmalloc = OPENSSL_zalloc(sh.bittable_size >> 3);
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
191
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
87
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/o_str.c
345
return OPENSSL_zalloc(1);
crypto/openssl/crypto/objects/o_names.c
90
name_funcs = OPENSSL_zalloc(sizeof(*name_funcs));
crypto/openssl/crypto/packet.c
110
if ((pkt->subs = OPENSSL_zalloc(sizeof(*pkt->subs))) == NULL)
crypto/openssl/crypto/packet.c
380
if ((sub = OPENSSL_zalloc(sizeof(*sub))) == NULL)
crypto/openssl/crypto/param_build.c
55
OSSL_PARAM_BLD_DEF *pd = OPENSSL_zalloc(sizeof(*pd));
crypto/openssl/crypto/param_build.c
93
OSSL_PARAM_BLD *r = OPENSSL_zalloc(sizeof(OSSL_PARAM_BLD));
crypto/openssl/crypto/params.c
1631
if ((res = OPENSSL_zalloc(1)) == NULL)
crypto/openssl/crypto/params_dup.c
184
params = OPENSSL_zalloc((list1_sz + list2_sz + 1) * sizeof(*p1));
crypto/openssl/crypto/params_dup.c
39
out->alloc = is_secure ? OPENSSL_secure_zalloc(sz) : OPENSSL_zalloc(sz);
crypto/openssl/crypto/params_from_text.c
325
if ((buf = OPENSSL_zalloc(buf_n > 0 ? buf_n : 1)) == NULL)
crypto/openssl/crypto/passphrase.c
147
ipass = OPENSSL_zalloc(pass_size + 1);
crypto/openssl/crypto/passphrase.c
162
vpass = OPENSSL_zalloc(pass_size + 1);
crypto/openssl/crypto/pkcs12/p12_decr.c
80
if ((out = OPENSSL_zalloc(max_out_len)) == NULL)
crypto/openssl/crypto/pkcs12/p12_p8e.c
83
p8 = OPENSSL_zalloc(sizeof(*p8));
crypto/openssl/crypto/property/property.c
126
return OPENSSL_zalloc(sizeof(OSSL_GLOBAL_PROPERTIES));
crypto/openssl/crypto/property/property.c
247
res = OPENSSL_zalloc(sizeof(*res));
crypto/openssl/crypto/property/property.c
390
if ((alg = OPENSSL_zalloc(sizeof(*alg))) == NULL
crypto/openssl/crypto/property/property_string.c
98
PROPERTY_STRING_DATA *propdata = OPENSSL_zalloc(sizeof(*propdata));
crypto/openssl/crypto/provider_child.c
39
return OPENSSL_zalloc(sizeof(struct child_prov_globals));
crypto/openssl/crypto/provider_conf.c
32
PROVIDER_CONF_GLOBAL *pcgbl = OPENSSL_zalloc(sizeof(*pcgbl));
crypto/openssl/crypto/provider_core.c
1121
prov->error_strings = OPENSSL_zalloc(sizeof(ERR_STRING_DATA) * (cnt + 1));
crypto/openssl/crypto/provider_core.c
259
INFOPAIR *dest = OPENSSL_zalloc(sizeof(*dest));
crypto/openssl/crypto/provider_core.c
311
struct provider_store_st *store = OPENSSL_zalloc(sizeof(*store));
crypto/openssl/crypto/provider_core.c
374
store->provinfo = OPENSSL_zalloc(sizeof(*store->provinfo)
crypto/openssl/crypto/provider_core.c
447
if ((prov = OPENSSL_zalloc(sizeof(*prov))) == NULL)
crypto/openssl/crypto/provider_core.c
808
if ((pair = OPENSSL_zalloc(sizeof(*pair))) == NULL
crypto/openssl/crypto/rand/rand_lib.c
524
RAND_GLOBAL *dgbl = OPENSSL_zalloc(sizeof(*dgbl));
crypto/openssl/crypto/rand/rand_pool.c
216
p = OPENSSL_zalloc(newlen);
crypto/openssl/crypto/rand/rand_pool.c
25
RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool));
crypto/openssl/crypto/rand/rand_pool.c
40
pool->buffer = OPENSSL_zalloc(pool->alloc_len);
crypto/openssl/crypto/rand/rand_pool.c
63
RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool));
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
38
alloc = OPENSSL_zalloc(sizeof(settable));
crypto/openssl/crypto/rsa/rsa_acvp_test_params.c
89
t = OPENSSL_zalloc(sizeof(*t));
crypto/openssl/crypto/rsa/rsa_backend.c
524
if ((duppinfo = OPENSSL_zalloc(sizeof(*duppinfo))) == NULL)
crypto/openssl/crypto/rsa/rsa_gen.c
709
plaintxt = OPENSSL_zalloc(plaintxt_len * 3);
crypto/openssl/crypto/rsa/rsa_lib.c
77
RSA *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/rsa/rsa_lib.c
823
if ((pinfo = OPENSSL_zalloc(sizeof(*pinfo))) == NULL)
crypto/openssl/crypto/rsa/rsa_meth.c
22
RSA_METHOD *meth = OPENSSL_zalloc(sizeof(*meth));
crypto/openssl/crypto/rsa/rsa_mp.c
36
if ((pinfo = OPENSSL_zalloc(sizeof(RSA_PRIME_INFO))) == NULL)
crypto/openssl/crypto/rsa/rsa_pmeth.c
64
RSA_PKEY_CTX *rctx = OPENSSL_zalloc(sizeof(*rctx));
crypto/openssl/crypto/self_test_core.c
38
stcb = OPENSSL_zalloc(sizeof(*stcb));
crypto/openssl/crypto/self_test_core.c
92
OSSL_SELF_TEST *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/slh_dsa/slh_dsa.c
256
encoded = OPENSSL_zalloc(encoded_len);
crypto/openssl/crypto/slh_dsa/slh_dsa_hash_ctx.c
28
SLH_DSA_HASH_CTX *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/slh_dsa/slh_dsa_hash_ctx.c
70
SLH_DSA_HASH_CTX *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/slh_dsa/slh_dsa_key.c
106
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/slh_dsa/slh_dsa_key.c
152
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/sm2/sm2_crypt.c
175
x2y2 = OPENSSL_zalloc(2 * field_size);
crypto/openssl/crypto/sm2/sm2_crypt.c
176
C3 = OPENSSL_zalloc(C3_size);
crypto/openssl/crypto/sm2/sm2_crypt.c
183
msg_mask = OPENSSL_zalloc(msg_len);
crypto/openssl/crypto/sm2/sm2_crypt.c
352
msg_mask = OPENSSL_zalloc(msg_len);
crypto/openssl/crypto/sm2/sm2_crypt.c
353
x2y2 = OPENSSL_zalloc(2 * field_size);
crypto/openssl/crypto/sm2/sm2_crypt.c
354
computed_C3 = OPENSSL_zalloc(hash_size);
crypto/openssl/crypto/sm2/sm2_sign.c
114
buf = OPENSSL_zalloc(p_bytes);
crypto/openssl/crypto/sm2/sm2_sign.c
174
z = OPENSSL_zalloc(md_size);
crypto/openssl/crypto/sparse_array.c
176
return OPENSSL_zalloc(SA_BLOCK_MAX * sizeof(void *));
crypto/openssl/crypto/sparse_array.c
60
OPENSSL_SA *res = OPENSSL_zalloc(sizeof(*res));
crypto/openssl/crypto/stack/stack.c
110
ret->data = OPENSSL_zalloc(sizeof(*ret->data) * ret->num_alloc);
crypto/openssl/crypto/stack/stack.c
200
if ((st->data = OPENSSL_zalloc(sizeof(void *) * num_alloc)) == NULL)
crypto/openssl/crypto/stack/stack.c
229
OPENSSL_STACK *st = OPENSSL_zalloc(sizeof(OPENSSL_STACK));
crypto/openssl/crypto/store/store_lib.c
1076
if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL) {
crypto/openssl/crypto/store/store_lib.c
190
|| (ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL)
crypto/openssl/crypto/store/store_lib.c
616
OSSL_STORE_INFO *info = OPENSSL_zalloc(sizeof(*info));
crypto/openssl/crypto/store/store_lib.c
917
OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search));
crypto/openssl/crypto/store/store_lib.c
930
OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search));
crypto/openssl/crypto/store/store_lib.c
946
OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search));
crypto/openssl/crypto/store/store_lib.c
976
OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search));
crypto/openssl/crypto/store/store_meth.c
50
if ((loader = OPENSSL_zalloc(sizeof(*loader))) == NULL
crypto/openssl/crypto/store/store_register.c
46
if ((res = OPENSSL_zalloc(sizeof(*res))) == NULL)
crypto/openssl/crypto/thread/arch.c
21
handle = OPENSSL_zalloc(sizeof(*handle));
crypto/openssl/crypto/thread/arch/thread_posix.c
100
if ((mutex = OPENSSL_zalloc(sizeof(*mutex))) == NULL)
crypto/openssl/crypto/thread/arch/thread_posix.c
159
if ((cv_p = OPENSSL_zalloc(sizeof(*cv_p))) == NULL)
crypto/openssl/crypto/thread/arch/thread_posix.c
41
handle = OPENSSL_zalloc(sizeof(*handle));
crypto/openssl/crypto/thread/arch/thread_win.c
101
if ((mutex = OPENSSL_zalloc(sizeof(*mutex))) == NULL)
crypto/openssl/crypto/thread/arch/thread_win.c
39
handle = OPENSSL_zalloc(sizeof(*handle));
crypto/openssl/crypto/thread/arch/thread_win.c
538
if ((cv_p = OPENSSL_zalloc(sizeof(*cv_p))) == NULL)
crypto/openssl/crypto/thread/internal.c
129
struct openssl_threads_st *t = OPENSSL_zalloc(sizeof(*t));
crypto/openssl/crypto/threads_none.c
32
lock = OPENSSL_zalloc(sizeof(*lock));
crypto/openssl/crypto/threads_none.c
78
return OPENSSL_zalloc(sizeof(CRYPTO_RCU_CB_ITEM));
crypto/openssl/crypto/threads_pthread.c
318
data = OPENSSL_zalloc(sizeof(*data));
crypto/openssl/crypto/threads_pthread.c
439
struct rcu_qp *new = OPENSSL_zalloc(sizeof(*new) * count);
crypto/openssl/crypto/threads_pthread.c
506
return OPENSSL_zalloc(sizeof(CRYPTO_RCU_CB_ITEM));
crypto/openssl/crypto/threads_pthread.c
554
new = OPENSSL_zalloc(sizeof(*new));
crypto/openssl/crypto/threads_pthread.c
626
if ((lock = OPENSSL_zalloc(sizeof(pthread_rwlock_t))) == NULL)
crypto/openssl/crypto/threads_pthread.c
638
if ((lock = OPENSSL_zalloc(sizeof(pthread_mutex_t))) == NULL)
crypto/openssl/crypto/threads_win.c
129
struct rcu_qp *new = OPENSSL_zalloc(sizeof(*new) * count);
crypto/openssl/crypto/threads_win.c
149
new = OPENSSL_zalloc(sizeof(*new));
crypto/openssl/crypto/threads_win.c
242
data = OPENSSL_zalloc(sizeof(*data));
crypto/openssl/crypto/threads_win.c
402
return OPENSSL_zalloc(sizeof(CRYPTO_RCU_CB_ITEM));
crypto/openssl/crypto/threads_win.c
438
if ((lock = OPENSSL_zalloc(sizeof(CRYPTO_win_rwlock))) == NULL)
crypto/openssl/crypto/threads_win.c
445
if ((lock = OPENSSL_zalloc(sizeof(CRITICAL_SECTION))) == NULL)
crypto/openssl/crypto/trace.c
408
|| (trace_data = OPENSSL_zalloc(sizeof(struct trace_data_st))) == NULL)
crypto/openssl/crypto/ts/ts_rsp_sign.c
97
if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL)
crypto/openssl/crypto/ts/ts_verify_ctx.c
17
TS_VERIFY_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/crypto/ui/ui_lib.c
108
} else if ((ret = OPENSSL_zalloc(sizeof(*ret))) != NULL) {
crypto/openssl/crypto/ui/ui_lib.c
25
UI *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/ui/ui_lib.c
606
if ((ui_method = OPENSSL_zalloc(sizeof(*ui_method))) == NULL
crypto/openssl/crypto/ui/ui_util.c
148
if ((data = OPENSSL_zalloc(sizeof(*data))) == NULL
crypto/openssl/crypto/x509/by_store.c
132
CACHED_STORE *store = OPENSSL_zalloc(sizeof(*store));
crypto/openssl/crypto/x509/pcy_data.c
52
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/x509/pcy_node.c
70
node = OPENSSL_zalloc(sizeof(*node));
crypto/openssl/crypto/x509/pcy_tree.c
177
if ((tree = OPENSSL_zalloc(sizeof(*tree))) == NULL)
crypto/openssl/crypto/x509/pcy_tree.c
190
if ((tree->levels = OPENSSL_zalloc(sizeof(*tree->levels) * (n + 1))) == NULL) {
crypto/openssl/crypto/x509/x509_lu.c
184
X509_STORE *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/x509/x509_lu.c
20
X509_LOOKUP *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/x509/x509_lu.c
481
X509_OBJECT *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/x509/x509_meth.c
22
X509_LOOKUP_METHOD *method = OPENSSL_zalloc(sizeof(X509_LOOKUP_METHOD));
crypto/openssl/crypto/x509/x509_vfy.c
2466
X509_STORE_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/crypto/x509/x509_vpm.c
85
param = OPENSSL_zalloc(sizeof(*param));
crypto/openssl/crypto/x509/x_name.c
92
X509_NAME *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/x509/x_pubkey.c
114
if ((ret = OPENSSL_zalloc(sizeof(*ret))) == NULL)
crypto/openssl/crypto/x509/x_pubkey.c
288
X509_PUBKEY *pubkey = OPENSSL_zalloc(sizeof(*pubkey));
crypto/openssl/crypto/x509/x_pubkey.c
508
xpk2 = OPENSSL_zalloc(sizeof(*xpk2));
crypto/openssl/crypto/x509/x_pubkey.c
71
X509_PUBKEY *xpub = OPENSSL_zalloc(sizeof(*xpub));
crypto/openssl/demos/encrypt/rsa_encrypt.c
129
buf = OPENSSL_zalloc(buf_len);
crypto/openssl/demos/encrypt/rsa_encrypt.c
188
buf = OPENSSL_zalloc(buf_len);
crypto/openssl/demos/http3/ossl-nghttp3.c
105
if ((s = OPENSSL_zalloc(sizeof(OSSL_DEMO_H3_STREAM))) == NULL)
crypto/openssl/demos/http3/ossl-nghttp3.c
130
if ((s = OPENSSL_zalloc(sizeof(OSSL_DEMO_H3_STREAM))) == NULL)
crypto/openssl/demos/http3/ossl-nghttp3.c
253
if ((conn = OPENSSL_zalloc(sizeof(OSSL_DEMO_H3_CONN))) == NULL)
crypto/openssl/engines/e_capi.c
1614
CAPI_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/engines/e_dasync.c
717
pipe_ctx->inner_cipher_data = OPENSSL_zalloc(
crypto/openssl/engines/e_devcrypto.c
1144
new_list = OPENSSL_zalloc(sizeof(selected_ciphers));
crypto/openssl/engines/e_devcrypto.c
1164
new_list = OPENSSL_zalloc(sizeof(selected_digests));
crypto/openssl/engines/e_loader_attic.c
1026
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/engines/e_loader_attic.c
1074
if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL
crypto/openssl/engines/e_loader_attic.c
1173
const FILE_HANDLER **matching_handlers = OPENSSL_zalloc(sizeof(*matching_handlers)
crypto/openssl/engines/e_loader_attic.c
1422
*data = OPENSSL_zalloc(calculated_length);
crypto/openssl/engines/e_loader_attic.c
196
if ((data = OPENSSL_zalloc(sizeof(*data))) == NULL)
crypto/openssl/fuzz/hashtable.c
106
prediction_table = OPENSSL_zalloc(sizeof(FUZZER_VALUE) * 65537);
crypto/openssl/fuzz/ml-dsa.c
338
|| (sig = OPENSSL_zalloc(sig_len)) == NULL
crypto/openssl/fuzz/ml-kem.c
372
*shared = OPENSSL_zalloc(*shared_len);
crypto/openssl/fuzz/provider.c
272
fuzzed_parameters = OPENSSL_zalloc(sizeof(OSSL_PARAM) * (p_num + 1));
crypto/openssl/fuzz/slh-dsa.c
388
sig = OPENSSL_zalloc(sig_len);
crypto/openssl/providers/common/provider_ctx.c
17
return OPENSSL_zalloc(sizeof(PROV_CTX));
crypto/openssl/providers/fips/fipsprov.c
109
FIPS_GLOBAL *fgbl = OPENSSL_zalloc(sizeof(*fgbl));
crypto/openssl/providers/fips/self_test_kats.c
732
cipher_text = alloced = OPENSSL_zalloc(t->cipher_text_len);
crypto/openssl/providers/implementations/asymciphers/rsa_enc.c
339
dstctx = OPENSSL_zalloc(sizeof(*srcctx));
crypto/openssl/providers/implementations/asymciphers/rsa_enc.c
87
prsactx = OPENSSL_zalloc(sizeof(PROV_RSA_CTX));
crypto/openssl/providers/implementations/asymciphers/sm2_enc.c
137
dstctx = OPENSSL_zalloc(sizeof(*srcctx));
crypto/openssl/providers/implementations/asymciphers/sm2_enc.c
51
PROV_SM2_CTX *psm2ctx = OPENSSL_zalloc(sizeof(PROV_SM2_CTX));
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c
327
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c
367
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/ciphers/cipher_aes_ccm.c
30
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm.c
30
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv.c
34
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
312
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/ciphers/cipher_aes_siv.c
38
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/ciphers/cipher_aes_wrp.c
58
wctx = OPENSSL_zalloc(sizeof(*wctx));
crypto/openssl/providers/implementations/ciphers/cipher_aes_xts.c
131
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/ciphers/cipher_aria_ccm.c
25
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/ciphers/cipher_aria_gcm.c
23
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/ciphers/cipher_chacha20.c
52
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_poly1305.c
46
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/ciphers/cipher_des.c
40
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/ciphers/cipher_null.c
30
return OPENSSL_zalloc(sizeof(PROV_CIPHER_NULL_CTX));
crypto/openssl/providers/implementations/ciphers/cipher_rc2.c
248
ctx = OPENSSL_zalloc(sizeof(*ctx)); \
crypto/openssl/providers/implementations/ciphers/cipher_rc4.c
84
ctx = OPENSSL_zalloc(sizeof(*ctx)); \
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5.c
55
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/ciphers/cipher_rc5.c
143
ctx = OPENSSL_zalloc(sizeof(*ctx)); \
crypto/openssl/providers/implementations/ciphers/cipher_sm4_ccm.c
25
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/ciphers/cipher_sm4_gcm.c
25
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/ciphers/cipher_sm4_xts.c
80
PROV_SM4_XTS_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/ciphers/cipher_tdes_common.c
31
tctx = OPENSSL_zalloc(sizeof(*tctx));
crypto/openssl/providers/implementations/digests/blake2_prov.c
115
ctx = ossl_prov_is_running() ? OPENSSL_zalloc(sizeof(*ctx)) : NULL; \
crypto/openssl/providers/implementations/digests/sha3_prov.c
482
KECCAK1600_CTX *ctx = ossl_prov_is_running() ? OPENSSL_zalloc(sizeof(*ctx)) \
crypto/openssl/providers/implementations/digests/sha3_prov.c
496
KECCAK1600_CTX *ctx = ossl_prov_is_running() ? OPENSSL_zalloc(sizeof(*ctx)) \
crypto/openssl/providers/implementations/digests/sha3_prov.c
512
KECCAK1600_CTX *ctx = ossl_prov_is_running() ? OPENSSL_zalloc(sizeof(*ctx)) \
crypto/openssl/providers/implementations/encode_decode/decode_der2key.c
163
struct der2key_ctx_st *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/encode_decode/decode_der2key.c
716
if ((spki = OPENSSL_zalloc(sizeof(*spki))) == NULL)
crypto/openssl/providers/implementations/encode_decode/decode_epki2pki.c
43
struct epki2pki_ctx_st *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/encode_decode/decode_msblob2key.c
66
struct msblob2key_ctx_st *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/encode_decode/decode_pem2der.c
63
struct pem2der_ctx_st *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/encode_decode/decode_pvk2key.c
70
struct pvk2key_ctx_st *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/encode_decode/decode_spki2typespki.c
41
struct spki2typespki_ctx_st *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/encode_decode/encode_key2any.c
1108
KEY2ANY_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/encode_decode/encode_key2ms.c
73
struct key2ms_ctx_st *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/encode_decode/ml_common_codecs.c
45
if ((ret = OPENSSL_zalloc((NUM_PKCS8_FORMATS + 1) * sizeof(*ret))) == NULL)
crypto/openssl/providers/implementations/exchange/dh_exch.c
297
dstctx = OPENSSL_zalloc(sizeof(*srcctx));
crypto/openssl/providers/implementations/exchange/dh_exch.c
89
pdhctx = OPENSSL_zalloc(sizeof(PROV_DH_CTX));
crypto/openssl/providers/implementations/exchange/ecdh_exch.c
195
dstctx = OPENSSL_zalloc(sizeof(*srcctx));
crypto/openssl/providers/implementations/exchange/ecdh_exch.c
90
pectx = OPENSSL_zalloc(sizeof(*pectx));
crypto/openssl/providers/implementations/exchange/ecx_exch.c
159
dstctx = OPENSSL_zalloc(sizeof(*srcctx));
crypto/openssl/providers/implementations/exchange/ecx_exch.c
52
ctx = OPENSSL_zalloc(sizeof(PROV_ECX_CTX));
crypto/openssl/providers/implementations/exchange/kdf_exch.c
149
dstctx = OPENSSL_zalloc(sizeof(*srcctx));
crypto/openssl/providers/implementations/exchange/kdf_exch.c
53
kdfctx = OPENSSL_zalloc(sizeof(PROV_KDF_CTX));
crypto/openssl/providers/implementations/include/prov/ciphercommon.h
205
PROV_##UCALG##_CTX *ctx = ossl_prov_is_running() ? OPENSSL_zalloc(sizeof(*ctx)) \
crypto/openssl/providers/implementations/include/prov/digestcommon.h
59
CTX *ctx = ossl_prov_is_running() ? OPENSSL_zalloc(sizeof(*ctx)) : NULL; \
crypto/openssl/providers/implementations/kdfs/argon2.c
562
t = OPENSSL_zalloc(sizeof(void *) * ctx->lanes);
crypto/openssl/providers/implementations/kdfs/argon2.c
563
t_data = OPENSSL_zalloc(ctx->lanes * sizeof(ARGON2_THREAD_DATA));
crypto/openssl/providers/implementations/kdfs/argon2.c
733
ctx->memory = OPENSSL_zalloc(ctx->memory_blocks * sizeof(BLOCK));
crypto/openssl/providers/implementations/kdfs/argon2.c
931
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/kdfs/argon2.c
950
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/kdfs/argon2.c
969
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/kdfs/hkdf.c
108
if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) != NULL) {
crypto/openssl/providers/implementations/kdfs/hmacdrbg_kdf.c
47
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/kdfs/kbkdf.c
121
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/kdfs/kbkdf.c
352
k_i = OPENSSL_zalloc(h);
crypto/openssl/providers/implementations/kdfs/krb5kdf.c
67
if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL)
crypto/openssl/providers/implementations/kdfs/pbkdf1.c
104
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/kdfs/pbkdf2.c
76
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/kdfs/pkcs12kdf.c
144
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/kdfs/pvkkdf.c
48
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/kdfs/scrypt.c
65
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/kdfs/sshkdf.c
63
if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) != NULL) {
crypto/openssl/providers/implementations/kdfs/sskdf.c
222
*out = OPENSSL_zalloc(kmac_out_len);
crypto/openssl/providers/implementations/kdfs/sskdf.c
316
if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) != NULL) {
crypto/openssl/providers/implementations/kdfs/sskdf.c
459
ctx->salt = OPENSSL_zalloc(default_salt_len);
crypto/openssl/providers/implementations/kdfs/tls1_prf.c
120
if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) != NULL) {
crypto/openssl/providers/implementations/kdfs/x942kdf.c
231
der_buf = OPENSSL_zalloc(der_buflen);
crypto/openssl/providers/implementations/kdfs/x942kdf.c
340
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/kem/ec_kem.c
195
PROV_EC_CTX *ctx = OPENSSL_zalloc(sizeof(PROV_EC_CTX));
crypto/openssl/providers/implementations/kem/ecx_kem.c
160
PROV_ECX_CTX *ctx = OPENSSL_zalloc(sizeof(PROV_ECX_CTX));
crypto/openssl/providers/implementations/kem/rsa_kem.c
117
dstctx = OPENSSL_zalloc(sizeof(*srcctx));
crypto/openssl/providers/implementations/kem/rsa_kem.c
91
prsactx = OPENSSL_zalloc(sizeof(PROV_RSA_CTX));
crypto/openssl/providers/implementations/kem/template_kem.c
62
PROV_TEMPLATE_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/keymgmt/dh_kmgmt.c
459
if ((gctx = OPENSSL_zalloc(sizeof(*gctx))) != NULL) {
crypto/openssl/providers/implementations/keymgmt/dsa_kmgmt.c
415
if ((gctx = OPENSSL_zalloc(sizeof(*gctx))) != NULL) {
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
978
if ((gctx = OPENSSL_zalloc(sizeof(*gctx))) != NULL) {
crypto/openssl/providers/implementations/keymgmt/ecx_kmgmt.c
511
if ((gctx = OPENSSL_zalloc(sizeof(*gctx))) != NULL) {
crypto/openssl/providers/implementations/keymgmt/kdf_legacy_kmgmt.c
36
kdfdata = OPENSSL_zalloc(sizeof(*kdfdata));
crypto/openssl/providers/implementations/keymgmt/mac_legacy_kmgmt.c
380
if ((gctx = OPENSSL_zalloc(sizeof(*gctx))) != NULL) {
crypto/openssl/providers/implementations/keymgmt/mac_legacy_kmgmt.c
71
mackey = OPENSSL_zalloc(sizeof(*mackey));
crypto/openssl/providers/implementations/keymgmt/ml_dsa_kmgmt.c
457
if ((gctx = OPENSSL_zalloc(sizeof(*gctx))) != NULL) {
crypto/openssl/providers/implementations/keymgmt/ml_kem_kmgmt.c
729
|| (gctx = OPENSSL_zalloc(sizeof(*gctx))) == NULL)
crypto/openssl/providers/implementations/keymgmt/mlx_kmgmt.c
659
|| (gctx = OPENSSL_zalloc(sizeof(*gctx))) == NULL)
crypto/openssl/providers/implementations/keymgmt/rsa_kmgmt.c
456
if ((gctx = OPENSSL_zalloc(sizeof(*gctx))) != NULL) {
crypto/openssl/providers/implementations/keymgmt/slh_dsa_kmgmt.c
276
if ((gctx = OPENSSL_zalloc(sizeof(*gctx))) != NULL) {
crypto/openssl/providers/implementations/keymgmt/template_kmgmt.c
344
if ((gctx = OPENSSL_zalloc(sizeof(*gctx))) != NULL) {
crypto/openssl/providers/implementations/macs/blake2_mac_impl.c
49
macctx = OPENSSL_zalloc(sizeof(*macctx));
crypto/openssl/providers/implementations/macs/blake2_mac_impl.c
65
dst = OPENSSL_zalloc(sizeof(*dst));
crypto/openssl/providers/implementations/macs/cmac_prov.c
63
if ((macctx = OPENSSL_zalloc(sizeof(*macctx))) == NULL
crypto/openssl/providers/implementations/macs/gmac_prov.c
65
if ((macctx = OPENSSL_zalloc(sizeof(*macctx))) == NULL
crypto/openssl/providers/implementations/macs/hmac_prov.c
83
if ((macctx = OPENSSL_zalloc(sizeof(*macctx))) == NULL
crypto/openssl/providers/implementations/macs/kmac_prov.c
179
if ((kctx = OPENSSL_zalloc(sizeof(*kctx))) == NULL
crypto/openssl/providers/implementations/macs/poly1305_prov.c
51
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/macs/siphash_prov.c
62
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/rands/drbg.c
273
PROV_DRBG_NONCE_GLOBAL *dngbl = OPENSSL_zalloc(sizeof(*dngbl));
crypto/openssl/providers/implementations/rands/drbg.c
800
drbg = OPENSSL_zalloc(sizeof(*drbg));
crypto/openssl/providers/implementations/rands/fips_crng_test.c
190
CRNG_TEST *crngt = OPENSSL_zalloc(sizeof(*crngt));
crypto/openssl/providers/implementations/rands/seed_src.c
55
s = OPENSSL_zalloc(sizeof(*s));
crypto/openssl/providers/implementations/rands/seed_src_jitter.c
131
s = OPENSSL_zalloc(sizeof(*s));
crypto/openssl/providers/implementations/rands/test_rng.c
59
t = OPENSSL_zalloc(sizeof(*t));
crypto/openssl/providers/implementations/signature/dsa_sig.c
135
pdsactx = OPENSSL_zalloc(sizeof(PROV_DSA_CTX));
crypto/openssl/providers/implementations/signature/ecdsa_sig.c
149
ctx = OPENSSL_zalloc(sizeof(PROV_ECDSA_CTX));
crypto/openssl/providers/implementations/signature/eddsa_sig.c
171
peddsactx = OPENSSL_zalloc(sizeof(PROV_EDDSA_CTX));
crypto/openssl/providers/implementations/signature/eddsa_sig.c
761
dstctx = OPENSSL_zalloc(sizeof(*srcctx));
crypto/openssl/providers/implementations/signature/mac_legacy_sig.c
180
dstctx = OPENSSL_zalloc(sizeof(*srcctx));
crypto/openssl/providers/implementations/signature/mac_legacy_sig.c
58
pmacctx = OPENSSL_zalloc(sizeof(PROV_MAC_CTX));
crypto/openssl/providers/implementations/signature/ml_dsa_sig.c
74
ctx = OPENSSL_zalloc(sizeof(PROV_ML_DSA_CTX));
crypto/openssl/providers/implementations/signature/rsa_sig.c
1354
dstctx = OPENSSL_zalloc(sizeof(*srcctx));
crypto/openssl/providers/implementations/signature/rsa_sig.c
235
if ((prsactx = OPENSSL_zalloc(sizeof(PROV_RSA_CTX))) == NULL
crypto/openssl/providers/implementations/signature/slh_dsa_sig.c
75
ctx = OPENSSL_zalloc(sizeof(PROV_SLH_DSA_CTX));
crypto/openssl/providers/implementations/signature/sm2_sig.c
122
PROV_SM2_CTX *ctx = OPENSSL_zalloc(sizeof(PROV_SM2_CTX));
crypto/openssl/providers/implementations/signature/sm2_sig.c
271
if ((z = OPENSSL_zalloc(ctx->mdsize)) == NULL
crypto/openssl/providers/implementations/signature/sm2_sig.c
356
dstctx = OPENSSL_zalloc(sizeof(*srcctx));
crypto/openssl/providers/implementations/skeymgmt/generic.c
47
generic = OPENSSL_zalloc(sizeof(PROV_SKEY));
crypto/openssl/providers/implementations/storemgmt/file_store.c
130
if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) != NULL
crypto/openssl/providers/implementations/storemgmt/file_store.c
605
data = OPENSSL_zalloc(calculated_length);
crypto/openssl/providers/implementations/storemgmt/file_store_any2obj.c
56
struct any2obj_ctx_st *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/providers/implementations/storemgmt/winstore_store.c
83
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/ssl/bio_ssl.c
64
BIO_SSL *bs = OPENSSL_zalloc(sizeof(*bs));
crypto/openssl/ssl/d1_lib.c
79
if ((d1 = OPENSSL_zalloc(sizeof(*d1))) == NULL) {
crypto/openssl/ssl/pqueue.c
38
pqueue *pq = OPENSSL_zalloc(sizeof(*pq));
crypto/openssl/ssl/quic/cc_newreno.c
52
if ((nr = OPENSSL_zalloc(sizeof(*nr))) == NULL)
crypto/openssl/ssl/quic/qlog.c
57
QLOG *qlog = OPENSSL_zalloc(sizeof(QLOG));
crypto/openssl/ssl/quic/quic_ackm.c
1048
ackm = OPENSSL_zalloc(sizeof(OSSL_ACKM));
crypto/openssl/ssl/quic/quic_cfq.c
173
QUIC_CFQ *cfq = OPENSSL_zalloc(sizeof(*cfq));
crypto/openssl/ssl/quic/quic_cfq.c
223
item = OPENSSL_zalloc(sizeof(*item));
crypto/openssl/ssl/quic/quic_channel.c
463
if ((ch = OPENSSL_zalloc(sizeof(*ch))) == NULL)
crypto/openssl/ssl/quic/quic_demux.c
78
demux = OPENSSL_zalloc(sizeof(QUIC_DEMUX));
crypto/openssl/ssl/quic/quic_engine.c
30
if ((qeng = OPENSSL_zalloc(sizeof(QUIC_ENGINE))) == NULL)
crypto/openssl/ssl/quic/quic_impl.c
2215
if ((xso = OPENSSL_zalloc(sizeof(*xso))) == NULL) {
crypto/openssl/ssl/quic/quic_impl.c
4299
if ((ql = OPENSSL_zalloc(sizeof(*ql))) == NULL) {
crypto/openssl/ssl/quic/quic_impl.c
4377
if ((ql = OPENSSL_zalloc(sizeof(*ql))) == NULL) {
crypto/openssl/ssl/quic/quic_impl.c
4473
if ((qc = OPENSSL_zalloc(sizeof(*qc))) == NULL) {
crypto/openssl/ssl/quic/quic_impl.c
4704
if ((qc = OPENSSL_zalloc(sizeof(*qc))) == NULL) {
crypto/openssl/ssl/quic/quic_impl.c
4763
SSL_TOKEN_STORE *newcache = OPENSSL_zalloc(sizeof(SSL_TOKEN_STORE));
crypto/openssl/ssl/quic/quic_impl.c
4867
new_token = OPENSSL_zalloc(sizeof(QUIC_TOKEN) + hashkey_len + token_len);
crypto/openssl/ssl/quic/quic_impl.c
5011
if ((qd = OPENSSL_zalloc(sizeof(*qd))) == NULL) {
crypto/openssl/ssl/quic/quic_impl.c
600
qc = OPENSSL_zalloc(sizeof(*qc));
crypto/openssl/ssl/quic/quic_lcidm.c
118
if ((lcidm = OPENSSL_zalloc(sizeof(*lcidm))) == NULL)
crypto/openssl/ssl/quic/quic_lcidm.c
214
if ((conn = OPENSSL_zalloc(sizeof(*conn))) == NULL)
crypto/openssl/ssl/quic/quic_lcidm.c
270
if ((lcid_obj = OPENSSL_zalloc(sizeof(*lcid_obj))) == NULL)
crypto/openssl/ssl/quic/quic_port.c
104
if ((port = OPENSSL_zalloc(sizeof(QUIC_PORT))) == NULL)
crypto/openssl/ssl/quic/quic_port.c
1441
ct_buf = OPENSSL_zalloc(ENCRYPTED_TOKEN_MAX_LEN);
crypto/openssl/ssl/quic/quic_rcidm.c
286
if ((rcidm = OPENSSL_zalloc(sizeof(*rcidm))) == NULL)
crypto/openssl/ssl/quic/quic_rcidm.c
354
if ((rcid = OPENSSL_zalloc(sizeof(*rcid))) == NULL)
crypto/openssl/ssl/quic/quic_reactor_wait_ctx.c
53
if ((slot = OPENSSL_zalloc(sizeof(QUIC_REACTOR_WAIT_SLOT))) == NULL)
crypto/openssl/ssl/quic/quic_record_rx.c
202
qrx = OPENSSL_zalloc(sizeof(OSSL_QRX));
crypto/openssl/ssl/quic/quic_record_tx.c
120
qtx = OPENSSL_zalloc(sizeof(OSSL_QTX));
crypto/openssl/ssl/quic/quic_rstream.c
27
QUIC_RSTREAM *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/ssl/quic/quic_sf_list.c
33
STREAM_FRAME *sf = OPENSSL_zalloc(sizeof(*sf));
crypto/openssl/ssl/quic/quic_srt_gen.c
28
if ((srt_gen = OPENSSL_zalloc(sizeof(*srt_gen))) == NULL)
crypto/openssl/ssl/quic/quic_srtm.c
119
if ((srtm = OPENSSL_zalloc(sizeof(*srtm))) == NULL)
crypto/openssl/ssl/quic/quic_srtm.c
299
if ((item = OPENSSL_zalloc(sizeof(*item))) == NULL)
crypto/openssl/ssl/quic/quic_sstream.c
64
qss = OPENSSL_zalloc(sizeof(QUIC_SSTREAM));
crypto/openssl/ssl/quic/quic_stream_map.c
152
s = OPENSSL_zalloc(sizeof(*s));
crypto/openssl/ssl/quic/quic_tls.c
113
OSSL_RECORD_LAYER *rl = OPENSSL_zalloc(sizeof(*rl));
crypto/openssl/ssl/quic/quic_tls.c
644
qtls = OPENSSL_zalloc(sizeof(*qtls));
crypto/openssl/ssl/quic/quic_trace.c
92
|| (ack_ranges = OPENSSL_zalloc(sizeof(ack_ranges[0])
crypto/openssl/ssl/quic/quic_tserver.c
143
qc = OPENSSL_zalloc(sizeof(*qc));
crypto/openssl/ssl/quic/quic_tserver.c
88
if ((srv = OPENSSL_zalloc(sizeof(*srv))) == NULL)
crypto/openssl/ssl/quic/quic_txp.c
557
txp = OPENSSL_zalloc(sizeof(*txp));
crypto/openssl/ssl/quic/quic_txpim.c
36
QUIC_TXPIM *txpim = OPENSSL_zalloc(sizeof(*txpim));
crypto/openssl/ssl/quic/quic_txpim.c
99
ex = OPENSSL_zalloc(sizeof(*ex));
crypto/openssl/ssl/record/methods/tls_common.c
1267
OSSL_RECORD_LAYER *rl = OPENSSL_zalloc(sizeof(*rl));
crypto/openssl/ssl/record/methods/tls_common.c
819
macbufs = OPENSSL_zalloc(sizeof(*macbufs) * num_recs);
crypto/openssl/ssl/ssl_cert.c
107
ret->pkeys = OPENSSL_zalloc(ret->ssl_pkey_num * sizeof(CERT_PKEY));
crypto/openssl/ssl/ssl_cert.c
71
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/ssl/ssl_cert.c
76
ret->pkeys = OPENSSL_zalloc(ret->ssl_pkey_num * sizeof(CERT_PKEY));
crypto/openssl/ssl/ssl_cert.c
97
CERT *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/ssl/ssl_cert_comp.c
116
|| (comp_data = OPENSSL_zalloc(max_length)) == NULL)
crypto/openssl/ssl/ssl_cert_comp.c
67
|| (ret = OPENSSL_zalloc(sizeof(*ret))) == NULL
crypto/openssl/ssl/ssl_ciph.c
929
number_uses = OPENSSL_zalloc(sizeof(int) * (max_strength_bits + 1));
crypto/openssl/ssl/ssl_conf.c
1055
SSL_CONF_CTX *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/ssl/ssl_conf.c
1164
cctx->cert_filename = OPENSSL_zalloc(sc->ssl_pkey_num
crypto/openssl/ssl/ssl_conf.c
1188
cctx->cert_filename = OPENSSL_zalloc((SSL_PKEY_NUM + ctx->sigalg_list_len)
crypto/openssl/ssl/ssl_lib.c
123
mdevp = OPENSSL_zalloc(n * sizeof(*mdevp));
crypto/openssl/ssl/ssl_lib.c
124
mdord = OPENSSL_zalloc(n * sizeof(*mdord));
crypto/openssl/ssl/ssl_lib.c
316
if ((t = OPENSSL_zalloc(sizeof(*t))) == NULL)
crypto/openssl/ssl/ssl_lib.c
4007
ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/ssl/ssl_lib.c
737
s = OPENSSL_zalloc(sizeof(*s));
crypto/openssl/ssl/ssl_sess.c
109
ss = OPENSSL_zalloc(sizeof(*ss));
crypto/openssl/ssl/statem/extensions.c
579
raw_extensions = OPENSSL_zalloc(num_exts * sizeof(*raw_extensions));
crypto/openssl/ssl/statem/statem_clnt.c
2607
s->s3.tmp.valid_flags = OPENSSL_zalloc(s->ssl_pkey_num * sizeof(uint32_t));
crypto/openssl/ssl/statem/statem_dtls.c
76
if ((frag = OPENSSL_zalloc(sizeof(*frag))) == NULL)
crypto/openssl/ssl/statem/statem_dtls.c
91
bitmask = OPENSSL_zalloc(RSMBLY_BITMASK_SIZE(frag_len));
crypto/openssl/ssl/statem/statem_srvr.c
1529
clienthello = OPENSSL_zalloc(sizeof(*clienthello));
crypto/openssl/ssl/t1_lib.c
2225
cache = OPENSSL_zalloc(sizeof(const SIGALG_LOOKUP) * sigalgs_len);
crypto/openssl/ssl/t1_lib.c
2229
tls12_sigalgs_list = OPENSSL_zalloc(sizeof(uint16_t) * sigalgs_len);
crypto/openssl/ssl/t1_lib.c
2988
s->s3.tmp.valid_flags = OPENSSL_zalloc(s->ssl_pkey_num * sizeof(uint32_t));
crypto/openssl/ssl/t1_lib.c
4847
SSL_HMAC *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/ssl/t1_lib.c
687
ctx->ssl_cert_info = OPENSSL_zalloc(sizeof(lu) * ctx->sigalg_list_len);
crypto/openssl/test/acvp_test.c
257
rbuf = OPENSSL_zalloc(r1_len);
crypto/openssl/test/acvp_test.c
258
sbuf = OPENSSL_zalloc(s1_len);
crypto/openssl/test/acvp_test.c
428
buf = OPENSSL_zalloc(len);
crypto/openssl/test/acvp_test.c
769
rbuf = OPENSSL_zalloc(r1_len);
crypto/openssl/test/acvp_test.c
770
sbuf = OPENSSL_zalloc(s1_len);
crypto/openssl/test/acvp_test.c
79
buf = OPENSSL_zalloc(sz);
crypto/openssl/test/asynciotest.c
66
ctrs = OPENSSL_zalloc(sizeof(struct async_ctrs));
crypto/openssl/test/bio_base64_test.c
199
raw = OPENSSL_zalloc(t->bytes);
crypto/openssl/test/bio_prefix_text.c
99
chain = OPENSSL_zalloc(sizeof(*chain) * n);
crypto/openssl/test/bntest.c
2407
if (!TEST_ptr(counts = OPENSSL_zalloc(sizeof(*counts) * range))
crypto/openssl/test/bntest.c
3352
if (!TEST_ptr(s = OPENSSL_zalloc(sizeof(*s))))
crypto/openssl/test/cc_dummy.c
23
OSSL_CC_DUMMY *d = OPENSSL_zalloc(sizeof(*d));
crypto/openssl/test/cipherlist_test.c
44
if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture))))
crypto/openssl/test/cmp_asn_test.c
28
if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture))))
crypto/openssl/test/cmp_client_test.c
84
if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture))))
crypto/openssl/test/cmp_ctx_test.c
32
if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture))))
crypto/openssl/test/cmp_hdr_test.c
35
if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture))))
crypto/openssl/test/cmp_msg_test.c
52
if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture))))
crypto/openssl/test/cmp_protect_test.c
58
if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture))))
crypto/openssl/test/cmp_server_test.c
35
if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture))))
crypto/openssl/test/cmp_status_test.c
26
if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture))))
crypto/openssl/test/cmp_vfy_test.c
57
if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture))))
crypto/openssl/test/ct_test.c
64
if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture))))
crypto/openssl/test/evp_extra_test.c
1475
if (!TEST_ptr(pad = OPENSSL_zalloc(sizeof(ec_pub))))
crypto/openssl/test/evp_extra_test.c
1611
if (!TEST_ptr(pad = OPENSSL_zalloc(sizeof(ec_pub))))
crypto/openssl/test/evp_extra_test.c
1809
|| !TEST_ptr(kek = OPENSSL_zalloc(EVP_PKEY_get_size(keypair)))
crypto/openssl/test/evp_extra_test.c
3299
if (!TEST_ptr(buf = OPENSSL_zalloc(len <= 80 ? 80 : len)))
crypto/openssl/test/evp_test.c
1642
if (!TEST_ptr(mdat = OPENSSL_zalloc(sizeof(*mdat))))
crypto/openssl/test/evp_test.c
2157
if (!TEST_ptr(kdata = OPENSSL_zalloc(sizeof(*kdata)))
crypto/openssl/test/evp_test.c
2485
if (!TEST_ptr(kdata = OPENSSL_zalloc(sizeof(*kdata)))) {
crypto/openssl/test/evp_test.c
2765
if (!TEST_ptr(kdata = OPENSSL_zalloc(sizeof(*kdata))))
crypto/openssl/test/evp_test.c
3215
if (!TEST_ptr(pdat = OPENSSL_zalloc(sizeof(*pdat))))
crypto/openssl/test/evp_test.c
3346
if (!TEST_ptr(edata = OPENSSL_zalloc(sizeof(*edata))))
crypto/openssl/test/evp_test.c
3549
if (!TEST_ptr(rdata = OPENSSL_zalloc(sizeof(*rdata))))
crypto/openssl/test/evp_test.c
3828
if (!TEST_ptr(kdata = OPENSSL_zalloc(sizeof(*kdata))))
crypto/openssl/test/evp_test.c
386
if (!TEST_ptr(db = OPENSSL_zalloc(sizeof(*db))))
crypto/openssl/test/evp_test.c
4063
if (!TEST_ptr(kdata = OPENSSL_zalloc(sizeof(*kdata))))
crypto/openssl/test/evp_test.c
4295
if (!TEST_ptr(data = OPENSSL_zalloc(sizeof(*data))))
crypto/openssl/test/evp_test.c
4518
if (!TEST_ptr(mdat = OPENSSL_zalloc(sizeof(*mdat))))
crypto/openssl/test/evp_test.c
504
return OPENSSL_zalloc(1);
crypto/openssl/test/evp_test.c
5340
if (!TEST_ptr(t = OPENSSL_zalloc(sizeof(*t))))
crypto/openssl/test/evp_test.c
681
if (!TEST_ptr(mdat = OPENSSL_zalloc(sizeof(*mdat)))) {
crypto/openssl/test/evp_test.c
955
if (!TEST_ptr(cdat = OPENSSL_zalloc(sizeof(*cdat))))
crypto/openssl/test/exdatatest.c
74
MYOBJ_EX_DATA *ex_data = OPENSSL_zalloc(sizeof(*ex_data));
crypto/openssl/test/fake_cipherprov.c
119
return OPENSSL_zalloc(sizeof(PROV_CIPHER_FAKE_CTX));
crypto/openssl/test/fake_cipherprov.c
68
if (!TEST_ptr(ctx = OPENSSL_zalloc(sizeof(PROV_CIPHER_FAKE_CTX))))
crypto/openssl/test/fake_pipelineprov.c
47
ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/test/fake_rsaprov.c
308
unsigned char *sigctx = OPENSSL_zalloc(1);
crypto/openssl/test/fake_rsaprov.c
376
if (!TEST_ptr(newctx = OPENSSL_zalloc(1)))
crypto/openssl/test/fake_rsaprov.c
585
storectx = OPENSSL_zalloc(1);
crypto/openssl/test/fake_rsaprov.c
64
if (!TEST_ptr(key = OPENSSL_zalloc(sizeof(struct fake_rsa_keydata))))
crypto/openssl/test/fake_rsaprov.c
781
X509_PUBKEY *xpub = OPENSSL_zalloc(sizeof(*xpub));
crypto/openssl/test/fake_rsaprov.c
873
struct der2key_ctx_st *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/test/helpers/handshake.c
32
TEST_ptr(ret = OPENSSL_zalloc(sizeof(*ret)));
crypto/openssl/test/helpers/handshake.c
669
if (!TEST_ptr(ticket_keys = OPENSSL_zalloc(ticket_key_len))
crypto/openssl/test/helpers/handshake.c
756
|| !TEST_ptr(write_buf = OPENSSL_zalloc(peer_buffer_size))
crypto/openssl/test/helpers/handshake.c
757
|| !TEST_ptr(read_buf = OPENSSL_zalloc(peer_buffer_size)))
crypto/openssl/test/helpers/noisydgrambio.c
487
struct noisy_dgram_st *data = OPENSSL_zalloc(sizeof(*data));
crypto/openssl/test/helpers/quictestlib.c
162
bdata = OPENSSL_zalloc(sizeof(QTEST_DATA));
crypto/openssl/test/helpers/quictestlib.c
169
*fault = OPENSSL_zalloc(sizeof(**fault));
crypto/openssl/test/helpers/quictestlib.c
437
f = OPENSSL_zalloc(sizeof(*f));
crypto/openssl/test/helpers/ssl_test_ctx.c
738
if ((ret = OPENSSL_zalloc(sizeof(*ret))) != NULL) {
crypto/openssl/test/helpers/ssltestlib.c
316
if (!TEST_ptr(ctx = OPENSSL_zalloc(sizeof(*ctx))))
crypto/openssl/test/helpers/ssltestlib.c
885
struct maybe_retry_data_st *data = OPENSSL_zalloc(sizeof(*data));
crypto/openssl/test/keymgmt_internal_test.c
55
if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture)))
crypto/openssl/test/ml_dsa_test.c
158
|| !TEST_ptr(psig = OPENSSL_zalloc(psig_len))
crypto/openssl/test/ml_dsa_test.c
423
|| !TEST_ptr(sig = OPENSSL_zalloc(sig_len)))
crypto/openssl/test/ml_dsa_test.c
491
|| !TEST_ptr(sig = OPENSSL_zalloc(sig_len)))
crypto/openssl/test/ml_kem_evp_extra_test.c
155
wrpkey = OPENSSL_zalloc(wrpkeylen);
crypto/openssl/test/ml_kem_evp_extra_test.c
156
bgenkey = OPENSSL_zalloc(bgenkeylen);
crypto/openssl/test/ml_kem_evp_extra_test.c
183
agenkey = OPENSSL_zalloc(agenkeylen);
crypto/openssl/test/ml_kem_evp_extra_test.c
312
wrpkey = OPENSSL_zalloc(wrpkeylen);
crypto/openssl/test/ml_kem_evp_extra_test.c
313
bgenkey = OPENSSL_zalloc(bgenkeylen);
crypto/openssl/test/ml_kem_evp_extra_test.c
353
agenkey = OPENSSL_zalloc(agenkeylen);
crypto/openssl/test/params_conversion_test.c
327
if (!TEST_ptr(s = OPENSSL_zalloc(sizeof(*s))))
crypto/openssl/test/params_test.c
103
if (!TEST_ptr(obj = OPENSSL_zalloc(sizeof(*obj))))
crypto/openssl/test/prov_config_test.c
84
full_path = OPENSSL_zalloc(strlen(module_path) + strlen(P_TEST_PATH) + 1);
crypto/openssl/test/quic-openssl-docker/hq-interop/quic-hq-interop.c
868
char *reqnames = OPENSSL_zalloc(1025);
crypto/openssl/test/quic_ackm_test.c
115
h->pkts = OPENSSL_zalloc(sizeof(struct pkt_info) * num_pkts);
crypto/openssl/test/quic_ackm_test.c
366
h.pkts[i].pkt = tx = OPENSSL_zalloc(sizeof(*tx));
crypto/openssl/test/quic_ackm_test.c
541
h.pkts[i].pkt = tx = OPENSSL_zalloc(sizeof(*tx));
crypto/openssl/test/quic_ackm_test.c
943
txs = OPENSSL_zalloc(sizeof(*txs) * num_tx);
crypto/openssl/test/quic_ackm_test.c
947
pkts = OPENSSL_zalloc(sizeof(*pkts) * num_tx);
crypto/openssl/test/quic_cc_test.c
142
NET_PKT *pkt = OPENSSL_zalloc(sizeof(*pkt));
crypto/openssl/test/quic_multistream_test.c
1816
h->threads = OPENSSL_zalloc(op->arg1 * sizeof(struct child_thread_args));
crypto/openssl/test/quic_multistream_test.c
703
bdata = OPENSSL_zalloc(sizeof(QTEST_DATA));
crypto/openssl/test/quic_multistream_test.c
908
info = OPENSSL_zalloc(sizeof(*info));
crypto/openssl/test/quic_stream_test.c
234
if (!TEST_ptr(src_buf = OPENSSL_zalloc(init_size)))
crypto/openssl/test/quicapitest.c
1124
buf = OPENSSL_zalloc(buflen);
crypto/openssl/test/quicapitest.c
1677
if (!TEST_ptr(msg = OPENSSL_zalloc(TEST_SINGLE_WRITE_SIZE))
crypto/openssl/test/quicapitest.c
1678
|| !TEST_ptr(recvbuf = OPENSSL_zalloc(TEST_SINGLE_WRITE_SIZE)))
crypto/openssl/test/radix/quic_bindings.c
114
if (!TEST_ptr(obj = OPENSSL_zalloc(sizeof(*obj))))
crypto/openssl/test/radix/quic_bindings.c
499
|| !TEST_ptr(rt = OPENSSL_zalloc(sizeof(*rt))))
crypto/openssl/test/rsa_mp_test.c
160
pris = OPENSSL_zalloc(sizeof(BIGNUM *));
crypto/openssl/test/rsa_mp_test.c
161
exps = OPENSSL_zalloc(sizeof(BIGNUM *));
crypto/openssl/test/rsa_mp_test.c
162
coeffs = OPENSSL_zalloc(sizeof(BIGNUM *));
crypto/openssl/test/slh_dsa_test.c
284
|| !TEST_ptr(psig = OPENSSL_zalloc(psig_len))
crypto/openssl/test/slh_dsa_test.c
491
if (!TEST_ptr(sig = OPENSSL_zalloc(sig_len * 2))
crypto/openssl/test/slh_dsa_test.c
560
|| !TEST_ptr(sig = OPENSSL_zalloc(sig_len)))
crypto/openssl/test/sm2_internal_test.c
169
ctext = OPENSSL_zalloc(ctext_len);
crypto/openssl/test/sm2_internal_test.c
189
recovered = OPENSSL_zalloc(ptext_len);
crypto/openssl/test/ssl_old_test.c
1747
keys = OPENSSL_zalloc(size);
crypto/openssl/test/ssl_old_test.c
2607
if ((cbuf = OPENSSL_zalloc(bufsiz)) == NULL)
crypto/openssl/test/ssl_old_test.c
2609
if ((sbuf = OPENSSL_zalloc(bufsiz)) == NULL)
crypto/openssl/test/ssl_test_ctx_test.c
113
if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture))))
crypto/openssl/test/sslapitest.c
1256
buf = OPENSSL_zalloc(bufsz);
crypto/openssl/test/sslapitest.c
1325
buf = OPENSSL_zalloc(SENDFILE_SZ);
crypto/openssl/test/sslapitest.c
1326
buf_dst = OPENSSL_zalloc(SENDFILE_SZ);
crypto/openssl/test/sslapitest.c
1778
msg = OPENSSL_zalloc(SSL3_RT_MAX_PLAIN_LENGTH);
crypto/openssl/test/sslapitest.c
7752
OPENSSL_STRING *row = OPENSSL_zalloc(sizeof(row) * (DB_NUMBER + 1));
crypto/openssl/test/sslapitest.c
7822
user_pwd = OPENSSL_zalloc(sizeof(*user_pwd));
crypto/openssl/test/testutil/basic_output.c
61
if ((p = OPENSSL_zalloc(sizeof(*p))) == NULL)
crypto/openssl/test/testutil/driver.c
444
char *full_file = OPENSSL_zalloc(len);
crypto/openssl/test/testutil/fake_random.c
38
FAKE_RAND *r = OPENSSL_zalloc(sizeof(*r));
crypto/openssl/test/testutil/testutil_init.c
82
trace_data = OPENSSL_zalloc(sizeof(*trace_data));
crypto/openssl/test/tls-provider.c
1721
struct key2any_ctx_st *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/test/tls-provider.c
2168
X509_PUBKEY *xpub = OPENSSL_zalloc(sizeof(*xpub));
crypto/openssl/test/tls-provider.c
2257
struct der2key_ctx_st *ctx = OPENSSL_zalloc(sizeof(*ctx));
crypto/openssl/test/tls-provider.c
2635
pxor_sigctx = OPENSSL_zalloc(sizeof(PROV_XORSIG_CTX));
crypto/openssl/test/tls-provider.c
2917
dstctx = OPENSSL_zalloc(sizeof(*srcctx));
crypto/openssl/test/tls-provider.c
406
dummy_group_names[i] = OPENSSL_zalloc(dummy_name_max_size);
crypto/openssl/test/tls-provider.c
464
PROV_XORKEMKEX_CTX *pxorctx = OPENSSL_zalloc(sizeof(PROV_XORKEMKEX_CTX));
crypto/openssl/test/tls-provider.c
527
dstctx = OPENSSL_zalloc(sizeof(*srcctx));
crypto/openssl/test/tls-provider.c
688
XORKEY *ret = OPENSSL_zalloc(sizeof(XORKEY));
crypto/openssl/test/tls-provider.c
930
if ((gctx = OPENSSL_zalloc(sizeof(*gctx))) == NULL)