| /freebsd/crypto/openssl/test/ |
| H A D | ml_kem_evp_extra_test.c | 154 wrpkey = OPENSSL_zalloc(wrpkeylen); in test_ml_kem() 155 bgenkey = OPENSSL_zalloc(bgenkeylen); in test_ml_kem() 182 agenkey = OPENSSL_zalloc(agenkeylen); in test_ml_kem() 311 wrpkey = OPENSSL_zalloc(wrpkeylen); in test_non_derandomised_ml_kem() 312 bgenkey = OPENSSL_zalloc(bgenkeylen); in test_non_derandomised_ml_kem() 352 agenkey = OPENSSL_zalloc(agenkeylen); in test_non_derandomised_ml_kem()
|
| H A D | rsa_mp_test.c | 160 pris = OPENSSL_zalloc(sizeof(BIGNUM *)); in key2048p3_v1() 161 exps = OPENSSL_zalloc(sizeof(BIGNUM *)); in key2048p3_v1() 162 coeffs = OPENSSL_zalloc(sizeof(BIGNUM *)); in key2048p3_v1()
|
| /freebsd/crypto/openssl/crypto/sm2/ |
| H A D | sm2_crypt.c | 175 x2y2 = OPENSSL_zalloc(2 * field_size); in ossl_sm2_encrypt() 176 C3 = OPENSSL_zalloc(C3_size); in ossl_sm2_encrypt() 183 msg_mask = OPENSSL_zalloc(msg_len); in ossl_sm2_encrypt() 340 msg_mask = OPENSSL_zalloc(msg_len); in ossl_sm2_decrypt() 341 x2y2 = OPENSSL_zalloc(2 * field_size); in ossl_sm2_decrypt() 342 computed_C3 = OPENSSL_zalloc(hash_size); in ossl_sm2_decrypt()
|
| /freebsd/crypto/openssl/crypto/thread/arch/ |
| H A D | thread_posix.c | 41 handle = OPENSSL_zalloc(sizeof(*handle)); in ossl_crypto_thread_native_spawn() 100 if ((mutex = OPENSSL_zalloc(sizeof(*mutex))) == NULL) in ossl_crypto_mutex_new() 159 if ((cv_p = OPENSSL_zalloc(sizeof(*cv_p))) == NULL) in ossl_crypto_condvar_new()
|
| H A D | thread_win.c | 39 handle = OPENSSL_zalloc(sizeof(*handle)); in ossl_crypto_thread_native_spawn() 101 if ((mutex = OPENSSL_zalloc(sizeof(*mutex))) == NULL) in ossl_crypto_mutex_new() 538 if ((cv_p = OPENSSL_zalloc(sizeof(*cv_p))) == NULL) in ossl_crypto_condvar_new()
|
| /freebsd/crypto/openssl/crypto/rand/ |
| H A D | rand_pool.c | 25 RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool)); in ossl_rand_pool_new() 40 pool->buffer = OPENSSL_zalloc(pool->alloc_len); in ossl_rand_pool_new() 63 RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool)); in ossl_rand_pool_attach() 216 p = OPENSSL_zalloc(newlen); in rand_pool_grow()
|
| /freebsd/crypto/openssl/crypto/ |
| H A D | threads_win.c | 129 struct rcu_qp *new = OPENSSL_zalloc(sizeof(*new) * count); in allocate_new_qp_group() 149 new = OPENSSL_zalloc(sizeof(*new)); in ossl_rcu_lock_new() 242 data = OPENSSL_zalloc(sizeof(*data)); in ossl_rcu_read_lock() 407 new = OPENSSL_zalloc(sizeof(struct rcu_cb_item)); in ossl_rcu_call() 435 if ((lock = OPENSSL_zalloc(sizeof(CRYPTO_win_rwlock))) == NULL) in CRYPTO_THREAD_lock_new() 442 if ((lock = OPENSSL_zalloc(sizeof(CRITICAL_SECTION))) == NULL) in CRYPTO_THREAD_lock_new()
|
| H A D | initthread.c | 60 glob_tevent_reg = OPENSSL_zalloc(sizeof(*glob_tevent_reg)); in DEFINE_RUN_ONCE_STATIC() 101 if ((hands = OPENSSL_zalloc(sizeof(*hands))) == NULL) in init_get_thread_local() 291 CRYPTO_THREAD_LOCAL *tlocal = OPENSSL_zalloc(sizeof(*tlocal)); in ossl_thread_event_ctx_new() 299 hands = OPENSSL_zalloc(sizeof(*hands)); in ossl_thread_event_ctx_new()
|
| H A D | self_test_core.c | 38 stcb = OPENSSL_zalloc(sizeof(*stcb)); in ossl_self_test_set_callback_new() 92 OSSL_SELF_TEST *ret = OPENSSL_zalloc(sizeof(*ret)); in OSSL_SELF_TEST_new()
|
| H A D | threads_pthread.c | 318 data = OPENSSL_zalloc(sizeof(*data)); in ossl_rcu_read_lock() 439 struct rcu_qp *new = OPENSSL_zalloc(sizeof(*new) * count); in allocate_new_qp_group() 510 struct rcu_cb_item *new = OPENSSL_zalloc(sizeof(*new)); in ossl_rcu_call() 551 new = OPENSSL_zalloc(sizeof(*new)); in ossl_rcu_lock_new() 623 if ((lock = OPENSSL_zalloc(sizeof(pthread_rwlock_t))) == NULL) in CRYPTO_THREAD_lock_new() 635 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 | threads_none.c | 32 lock = OPENSSL_zalloc(sizeof(*lock)); in ossl_rcu_lock_new() 78 struct rcu_cb_item *new = OPENSSL_zalloc(sizeof(*new)); in ossl_rcu_call()
|
| /freebsd/crypto/openssl/crypto/slh_dsa/ |
| H A D | slh_dsa_hash_ctx.c | 28 SLH_DSA_HASH_CTX *ret = OPENSSL_zalloc(sizeof(*ret)); in ossl_slh_dsa_hash_ctx_new() 70 SLH_DSA_HASH_CTX *ret = OPENSSL_zalloc(sizeof(*ret)); in ossl_slh_dsa_hash_ctx_dup()
|
| /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() 102 CTLOG_STORE *ret = OPENSSL_zalloc(sizeof(*ret)); in CTLOG_STORE_new_ex() 259 CTLOG *ret = OPENSSL_zalloc(sizeof(*ret)); in CTLOG_new_ex()
|
| /freebsd/crypto/openssl/crypto/conf/ |
| H A D | conf_ssl.c | 80 ssl_names = OPENSSL_zalloc(sizeof(*ssl_names) * cnt); in ssl_module_init() 102 ssl_name->cmds = OPENSSL_zalloc(cnt * sizeof(struct ssl_conf_cmd_st)); in ssl_module_init()
|
| /freebsd/crypto/openssl/crypto/store/ |
| H A D | store_lib.c | 190 || (ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL) in OSSL_STORE_open_ex() 616 OSSL_STORE_INFO *info = OPENSSL_zalloc(sizeof(*info)); in OSSL_STORE_INFO_new() 917 OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search)); in OSSL_STORE_SEARCH_by_name() 930 OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search)); in OSSL_STORE_SEARCH_by_issuer_serial() 946 OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search)); in OSSL_STORE_SEARCH_by_key_fingerprint() 976 OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search)); in OSSL_STORE_SEARCH_by_alias() 1076 if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL) { in OSSL_STORE_attach()
|
| /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 | ecx_exch.c | 52 ctx = OPENSSL_zalloc(sizeof(PROV_ECX_CTX)); in ecx_newctx() 159 dstctx = OPENSSL_zalloc(sizeof(*srcctx)); in ecx_dupctx()
|
| /freebsd/crypto/openssl/crypto/bn/ |
| H A D | bn_s390x.c | 34 buffer = OPENSSL_zalloc(4 * size); in s390x_mod_exp_hw() 98 buffer = OPENSSL_zalloc(9 * size + 24); in s390x_crt()
|
| /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/demos/encrypt/ |
| H A D | rsa_encrypt.c | 129 buf = OPENSSL_zalloc(buf_len); in do_encrypt() 188 buf = OPENSSL_zalloc(buf_len); in do_decrypt()
|
| /freebsd/crypto/openssl/providers/implementations/asymciphers/ |
| H A D | sm2_enc.c | 51 PROV_SM2_CTX *psm2ctx = OPENSSL_zalloc(sizeof(PROV_SM2_CTX)); in sm2_newctx() 137 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() 51 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()
|
| /freebsd/crypto/openssl/crypto/hashtable/ |
| H A D | hashtable.c | 179 HT *new = OPENSSL_zalloc(sizeof(*new)); in ossl_ht_new() 207 new->md = OPENSSL_zalloc(sizeof(*new->md)); in ossl_ht_new() 289 newmd = OPENSSL_zalloc(sizeof(*newmd)); in ossl_ht_flush_internal() 370 HT_VALUE_LIST *list = OPENSSL_zalloc(sizeof(HT_VALUE_LIST) in ossl_ht_filter() 436 if ((newmd = OPENSSL_zalloc(sizeof(*newmd))) == NULL) in grow_hashtable()
|