/freebsd/crypto/openssl/crypto/sm2/ |
H A D | sm2_crypt.c | 184 x2y2 = OPENSSL_zalloc(2 * field_size); in ossl_sm2_encrypt() 185 C3 = OPENSSL_zalloc(C3_size); in ossl_sm2_encrypt() 194 msg_mask = OPENSSL_zalloc(msg_len); in ossl_sm2_encrypt() 353 msg_mask = OPENSSL_zalloc(msg_len); in ossl_sm2_decrypt() 354 x2y2 = OPENSSL_zalloc(2 * field_size); in ossl_sm2_decrypt() 355 computed_C3 = OPENSSL_zalloc(hash_size); in ossl_sm2_decrypt()
|
/freebsd/crypto/openssl/crypto/rand/ |
H A D | rand_pool.c | 25 RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool)); in ossl_rand_pool_new() 43 pool->buffer = OPENSSL_zalloc(pool->alloc_len); in ossl_rand_pool_new() 68 RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool)); in ossl_rand_pool_attach() 224 p = OPENSSL_zalloc(newlen); in rand_pool_grow()
|
/freebsd/crypto/openssl/crypto/ |
H A D | initthread.c | 59 glob_tevent_reg = OPENSSL_zalloc(sizeof(*glob_tevent_reg)); in DEFINE_RUN_ONCE_STATIC() 100 if ((hands = OPENSSL_zalloc(sizeof(*hands))) == NULL) in init_get_thread_local() 254 CRYPTO_THREAD_LOCAL *tlocal = OPENSSL_zalloc(sizeof(*tlocal)); in thread_event_ossl_ctx_new() 263 hands = OPENSSL_zalloc(sizeof(*hands)); in thread_event_ossl_ctx_new()
|
H A D | self_test_core.c | 39 stcb = OPENSSL_zalloc(sizeof(*stcb)); in self_test_set_callback_new() 103 OSSL_SELF_TEST *ret = OPENSSL_zalloc(sizeof(*ret)); in OSSL_SELF_TEST_new()
|
H A D | threads_win.c | 46 if ((lock = OPENSSL_zalloc(sizeof(CRYPTO_win_rwlock))) == NULL) in CRYPTO_THREAD_lock_new() 52 if ((lock = OPENSSL_zalloc(sizeof(CRITICAL_SECTION))) == NULL) { in CRYPTO_THREAD_lock_new()
|
H A D | threads_pthread.c | 50 if ((lock = OPENSSL_zalloc(sizeof(pthread_rwlock_t))) == NULL) { in CRYPTO_THREAD_lock_new() 63 if ((lock = OPENSSL_zalloc(sizeof(pthread_mutex_t))) == NULL) { in CRYPTO_THREAD_lock_new()
|
H A D | sparse_array.c | 60 OPENSSL_SA *res = OPENSSL_zalloc(sizeof(*res)); in ossl_sa_new() 176 return OPENSSL_zalloc(SA_BLOCK_MAX * sizeof(void *)); in alloc_node()
|
H A D | params_dup.c | 39 out->alloc = is_secure ? OPENSSL_secure_zalloc(sz) : OPENSSL_zalloc(sz); in ossl_param_buf_alloc() 181 params = OPENSSL_zalloc((list1_sz + list2_sz + 1) * sizeof(*p1)); in OSSL_PARAM_merge()
|
/freebsd/crypto/openssl/test/ |
H A D | rsa_mp_test.c | 168 pris = OPENSSL_zalloc(sizeof(BIGNUM *)); in key2048p3_v1() 169 exps = OPENSSL_zalloc(sizeof(BIGNUM *)); in key2048p3_v1() 170 coeffs = OPENSSL_zalloc(sizeof(BIGNUM *)); in key2048p3_v1()
|
H A D | tls-provider.c | 207 dummy_group_names[i] = OPENSSL_zalloc(dummy_name_max_size); in tls_prov_get_capabilities() 238 PROV_XOR_CTX *pxorctx = OPENSSL_zalloc(sizeof(PROV_XOR_CTX)); in xor_newctx() 301 dstctx = OPENSSL_zalloc(sizeof(*srcctx)); in xor_dupctx() 462 return OPENSSL_zalloc(sizeof(XORKEY)); in xor_freedata() 597 if ((gctx = OPENSSL_zalloc(sizeof(*gctx))) != NULL) in xor_gen_init() 642 XORKEY *key = OPENSSL_zalloc(sizeof(*key)); in xor_gen()
|
H A D | fake_rsaprov.c | 43 if (!TEST_ptr(key = OPENSSL_zalloc(sizeof(struct fake_rsa_keydata)))) in fake_rsa_keymgmt_new() 295 unsigned char *sigctx = OPENSSL_zalloc(1); in fake_rsa_sig_newctx() 379 storectx = OPENSSL_zalloc(1); in fake_rsa_st_open()
|
/freebsd/crypto/openssl/crypto/ct/ |
H A D | ct_log.c | 63 CTLOG_STORE_LOAD_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in ctlog_store_load_ctx_new() 105 CTLOG_STORE *ret = OPENSSL_zalloc(sizeof(*ret)); in CTLOG_STORE_new_ex() 270 CTLOG *ret = OPENSSL_zalloc(sizeof(*ret)); in CTLOG_new_ex()
|
/freebsd/crypto/openssl/crypto/store/ |
H A D | store_lib.c | 167 || (ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL) { in OSSL_STORE_open_ex() 544 OSSL_STORE_INFO *info = OPENSSL_zalloc(sizeof(*info)); in OSSL_STORE_INFO_new() 853 OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search)); in OSSL_STORE_SEARCH_by_name() 868 OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search)); in OSSL_STORE_SEARCH_by_issuer_serial() 885 OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search)); in OSSL_STORE_SEARCH_by_key_fingerprint() 910 OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search)); in OSSL_STORE_SEARCH_by_alias() 1012 if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL) { in OSSL_STORE_attach()
|
/freebsd/crypto/openssl/crypto/conf/ |
H A D | conf_ssl.c | 81 ssl_names = OPENSSL_zalloc(sizeof(*ssl_names) * cnt); in ssl_module_init() 104 ssl_name->cmds = OPENSSL_zalloc(cnt * sizeof(struct ssl_conf_cmd_st)); in ssl_module_init()
|
/freebsd/crypto/openssl/crypto/rsa/ |
H A D | rsa_acvp_test_params.c | 38 alloc = OPENSSL_zalloc(sizeof(settable)); in ossl_rsa_acvp_test_gen_params_new() 89 t = OPENSSL_zalloc(sizeof(*t)); in ossl_rsa_acvp_test_set_params()
|
/freebsd/crypto/openssl/providers/implementations/exchange/ |
H A D | kdf_exch.c | 53 kdfctx = OPENSSL_zalloc(sizeof(PROV_KDF_CTX)); in kdf_newctx() 149 dstctx = OPENSSL_zalloc(sizeof(*srcctx)); in kdf_dupctx()
|
H A D | ecx_exch.c | 51 ctx = OPENSSL_zalloc(sizeof(PROV_ECX_CTX)); in ecx_newctx() 202 dstctx = OPENSSL_zalloc(sizeof(*srcctx)); in ecx_dupctx()
|
/freebsd/crypto/openssl/providers/implementations/macs/ |
H A D | blake2_mac_impl.c | 49 macctx = OPENSSL_zalloc(sizeof(*macctx)); in blake2_mac_new() 65 dst = OPENSSL_zalloc(sizeof(*dst)); in blake2_mac_dup()
|
/freebsd/crypto/openssl/providers/implementations/asymciphers/ |
H A D | sm2_enc.c | 50 PROV_SM2_CTX *psm2ctx = OPENSSL_zalloc(sizeof(PROV_SM2_CTX)); in sm2_newctx() 136 dstctx = OPENSSL_zalloc(sizeof(*srcctx)); in sm2_dupctx()
|
/freebsd/crypto/openssl/crypto/async/ |
H A D | async_wait.c | 17 return OPENSSL_zalloc(sizeof(ASYNC_WAIT_CTX)); in ASYNC_WAIT_CTX_new() 50 if ((fdlookup = OPENSSL_zalloc(sizeof(*fdlookup))) == NULL) { in ASYNC_WAIT_CTX_set_wait_fd()
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | x_info.c | 20 ret = OPENSSL_zalloc(sizeof(*ret)); in X509_INFO_new()
|
H A D | tasn_scn.c | 27 ASN1_SCTX *ret = OPENSSL_zalloc(sizeof(*ret)); in ASN1_SCTX_new()
|
H A D | x_pkey.c | 20 ret = OPENSSL_zalloc(sizeof(*ret)); in X509_PKEY_new()
|
H A D | x_int64.c | 31 if ((*pval = (ASN1_VALUE *)OPENSSL_zalloc(sizeof(uint64_t))) == NULL) { in uint64_new() 126 if ((*pval = (ASN1_VALUE *)OPENSSL_zalloc(sizeof(uint32_t))) == NULL) { in uint32_new()
|
/freebsd/crypto/openssl/crypto/stack/ |
H A D | stack.c | 107 ret->data = OPENSSL_zalloc(sizeof(*ret->data) * ret->num_alloc); in OPENSSL_sk_deep_copy() 195 if ((st->data = OPENSSL_zalloc(sizeof(void *) * num_alloc)) == NULL) { in sk_reserve() 228 OPENSSL_STACK *st = OPENSSL_zalloc(sizeof(OPENSSL_STACK)); in OPENSSL_sk_new_reserve()
|