| /freebsd-12.1/crypto/openssl/crypto/sm2/ |
| H A D | sm2_crypt.c | 171 x2y2 = OPENSSL_zalloc(2 * field_size); in sm2_encrypt() 172 C3 = OPENSSL_zalloc(C3_size); in sm2_encrypt() 200 msg_mask = OPENSSL_zalloc(msg_len); in sm2_encrypt() 322 msg_mask = OPENSSL_zalloc(msg_len); in sm2_decrypt() 323 x2y2 = OPENSSL_zalloc(2 * field_size); in sm2_decrypt() 324 computed_C3 = OPENSSL_zalloc(hash_size); in sm2_decrypt()
|
| /freebsd-12.1/crypto/openssl/crypto/store/ |
| H A D | store_lib.c | 83 if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL) { in OSSL_STORE_open() 236 OSSL_STORE_INFO *info = OPENSSL_zalloc(sizeof(*info)); in store_info_new() 484 OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search)); in OSSL_STORE_SEARCH_by_name() 500 OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search)); in OSSL_STORE_SEARCH_by_issuer_serial() 518 OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search)); in OSSL_STORE_SEARCH_by_key_fingerprint() 546 OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search)); in OSSL_STORE_SEARCH_by_alias() 650 if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL) { in ossl_store_attach_pem_bio()
|
| /freebsd-12.1/crypto/openssl/crypto/ct/ |
| H A D | ct_log.c | 59 CTLOG_STORE_LOAD_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in ctlog_store_load_ctx_new() 94 CTLOG_STORE *ret = OPENSSL_zalloc(sizeof(*ret)); in CTLOG_STORE_new() 239 CTLOG *ret = OPENSSL_zalloc(sizeof(*ret)); in CTLOG_new()
|
| H A D | ct_policy.c | 30 CT_POLICY_EVAL_CTX *ctx = OPENSSL_zalloc(sizeof(CT_POLICY_EVAL_CTX)); in CT_POLICY_EVAL_CTX_new()
|
| /freebsd-12.1/crypto/openssl/crypto/ |
| H A D | threads_pthread.c | 29 if ((lock = OPENSSL_zalloc(sizeof(pthread_rwlock_t))) == NULL) { in CRYPTO_THREAD_lock_new() 42 if ((lock = OPENSSL_zalloc(sizeof(pthread_mutex_t))) == NULL) { in CRYPTO_THREAD_lock_new()
|
| H A D | threads_none.c | 24 if ((lock = OPENSSL_zalloc(sizeof(unsigned int))) == NULL) { in CRYPTO_THREAD_lock_new()
|
| /freebsd-12.1/crypto/openssl/crypto/conf/ |
| H A D | conf_ssl.c | 80 ssl_names = OPENSSL_zalloc(sizeof(*ssl_names) * cnt); in ssl_module_init() 103 ssl_name->cmds = OPENSSL_zalloc(cnt * sizeof(struct ssl_conf_cmd_st)); in ssl_module_init()
|
| /freebsd-12.1/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()
|
| H A D | async.c | 82 job = OPENSSL_zalloc(sizeof(*job)); in async_job_new() 332 pool = OPENSSL_zalloc(sizeof(*pool)); in ASYNC_init_thread()
|
| /freebsd-12.1/crypto/openssl/crypto/stack/ |
| H A D | stack.c | 96 ret->data = OPENSSL_zalloc(sizeof(*ret->data) * ret->num_alloc); in OPENSSL_sk_deep_copy() 180 if ((st->data = OPENSSL_zalloc(sizeof(void *) * num_alloc)) == NULL) { in sk_reserve() 209 OPENSSL_STACK *st = OPENSSL_zalloc(sizeof(OPENSSL_STACK)); in OPENSSL_sk_new_reserve()
|
| /freebsd-12.1/crypto/openssl/crypto/asn1/ |
| H A D | x_info.c | 20 ret = OPENSSL_zalloc(sizeof(*ret)); in X509_INFO_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()
|
| 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 | tasn_new.c | 97 *pval = OPENSSL_zalloc(it->size); in asn1_item_embed_new() 122 *pval = OPENSSL_zalloc(it->size); in asn1_item_embed_new()
|
| /freebsd-12.1/crypto/openssl/crypto/rand/ |
| H A D | rand_lib.c | 434 RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool)); in rand_pool_new() 452 pool->buffer = OPENSSL_zalloc(pool->alloc_len); in rand_pool_new() 478 RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool)); in rand_pool_attach() 634 p = OPENSSL_zalloc(newlen); in rand_pool_grow()
|
| /freebsd-12.1/crypto/openssl/crypto/x509v3/ |
| H A D | pcy_data.c | 52 ret = OPENSSL_zalloc(sizeof(*ret)); in policy_data_new()
|
| /freebsd-12.1/crypto/openssl/crypto/evp/ |
| H A D | digest.c | 51 return OPENSSL_zalloc(sizeof(EVP_MD_CTX)); in EVP_MD_CTX_new() 129 ctx->md_data = OPENSSL_zalloc(type->ctx_size); in EVP_DigestInit_ex()
|
| /freebsd-12.1/crypto/openssl/crypto/pkcs12/ |
| H A D | p12_p8e.c | 58 p8 = OPENSSL_zalloc(sizeof(*p8)); in PKCS8_set0_pbe()
|
| /freebsd-12.1/crypto/openssl/crypto/comp/ |
| H A D | c_zlib.c | 51 p = OPENSSL_zalloc(no * size); in zlib_zalloc() 126 struct zlib_state *state = OPENSSL_zalloc(sizeof(*state)); in zlib_stateful_init() 328 ctx = OPENSSL_zalloc(sizeof(*ctx)); in bio_zlib_new()
|
| H A D | comp_lib.c | 22 if ((ret = OPENSSL_zalloc(sizeof(*ret))) == NULL) { in COMP_CTX_new()
|
| /freebsd-12.1/crypto/openssl/crypto/bio/ |
| H A D | bss_mem.c | 115 BIO_BUF_MEM *bb = OPENSSL_zalloc(sizeof(*bb)); in mem_init() 123 if ((bb->readp = OPENSSL_zalloc(sizeof(*bb->readp))) == NULL) { in mem_init()
|
| /freebsd-12.1/crypto/openssl/ssl/ |
| H A D | packet.c | 97 if ((pkt->subs = OPENSSL_zalloc(sizeof(*pkt->subs))) == NULL) { in wpacket_intern_init_len() 281 if ((sub = OPENSSL_zalloc(sizeof(*sub))) == NULL) { in WPACKET_start_sub_packet_len__()
|
| /freebsd-12.1/crypto/openssl/crypto/ec/ |
| H A D | ec_kmeth.c | 75 EC_KEY *ret = OPENSSL_zalloc(sizeof(*ret)); in EC_KEY_new_method() 157 EC_KEY_METHOD *ret = OPENSSL_zalloc(sizeof(*meth)); in EC_KEY_METHOD_new()
|
| /freebsd-12.1/crypto/openssl/doc/man3/ |
| H A D | RAND_DRBG_new.pod | 45 (using OPENSSL_zalloc() resp. OPENSSL_secure_zalloc()). 109 L<OPENSSL_zalloc(3)>,
|