/third_party/openssl/test/ |
D | rsa_mp_test.c | 154 pris = OPENSSL_zalloc(sizeof(BIGNUM *)); in key2048p3() 155 exps = OPENSSL_zalloc(sizeof(BIGNUM *)); in key2048p3() 156 coeffs = OPENSSL_zalloc(sizeof(BIGNUM *)); in key2048p3()
|
D | sm2_internal_test.c | 173 ctext = OPENSSL_zalloc(ctext_len); in test_sm2_crypt() 192 recovered = OPENSSL_zalloc(ptext_len); in test_sm2_crypt()
|
/third_party/openssl/crypto/sm2/ |
D | sm2_crypt.c | 162 x2y2 = OPENSSL_zalloc(2 * field_size); in sm2_encrypt() 163 C3 = OPENSSL_zalloc(C3_size); in sm2_encrypt() 191 msg_mask = OPENSSL_zalloc(msg_len); in sm2_encrypt() 317 msg_mask = OPENSSL_zalloc(msg_len); in sm2_decrypt() 318 x2y2 = OPENSSL_zalloc(2 * field_size); in sm2_decrypt() 319 computed_C3 = OPENSSL_zalloc(hash_size); in sm2_decrypt()
|
/third_party/openssl/crypto/store/ |
D | store_lib.c | 83 if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL) { in OSSL_STORE_open() 240 OSSL_STORE_INFO *info = OPENSSL_zalloc(sizeof(*info)); in store_info_new() 488 OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search)); in OSSL_STORE_SEARCH_by_name() 504 OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search)); in OSSL_STORE_SEARCH_by_issuer_serial() 522 OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search)); in OSSL_STORE_SEARCH_by_key_fingerprint() 550 OSSL_STORE_SEARCH *search = OPENSSL_zalloc(sizeof(*search)); in OSSL_STORE_SEARCH_by_alias() 654 if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL) { in ossl_store_attach_pem_bio()
|
/third_party/openssl/crypto/ct/ |
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()
|
D | ct_policy.c | 30 CT_POLICY_EVAL_CTX *ctx = OPENSSL_zalloc(sizeof(CT_POLICY_EVAL_CTX)); in CT_POLICY_EVAL_CTX_new()
|
/third_party/openssl/crypto/ |
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()
|
D | threads_none.c | 24 if ((lock = OPENSSL_zalloc(sizeof(unsigned int))) == NULL) { in CRYPTO_THREAD_lock_new()
|
D | threads_win.c | 22 if ((lock = OPENSSL_zalloc(sizeof(CRITICAL_SECTION))) == NULL) { in CRYPTO_THREAD_lock_new()
|
/third_party/openssl/crypto/conf/ |
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()
|
/third_party/openssl/crypto/async/ |
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()
|
/third_party/openssl/crypto/asn1/ |
D | x_info.c | 20 ret = OPENSSL_zalloc(sizeof(*ret)); in X509_INFO_new()
|
D | tasn_scn.c | 27 ASN1_SCTX *ret = OPENSSL_zalloc(sizeof(*ret)); in ASN1_SCTX_new()
|
D | x_pkey.c | 20 ret = OPENSSL_zalloc(sizeof(*ret)); in X509_PKEY_new()
|
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()
|
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()
|
/third_party/openssl/crypto/stack/ |
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()
|
/third_party/openssl/crypto/rand/ |
D | rand_lib.c | 441 pool = OPENSSL_zalloc(sizeof(*pool)); in rand_pool_new() 457 pool->buffer = OPENSSL_zalloc(pool->alloc_len); in rand_pool_new() 483 RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool)); in rand_pool_attach() 639 p = OPENSSL_zalloc(newlen); in rand_pool_grow()
|
/third_party/openssl/crypto/x509v3/ |
D | pcy_data.c | 52 ret = OPENSSL_zalloc(sizeof(*ret)); in policy_data_new()
|
/third_party/openssl/crypto/pkcs12/ |
D | p12_p8e.c | 58 p8 = OPENSSL_zalloc(sizeof(*p8)); in PKCS8_set0_pbe()
|
/third_party/openssl/crypto/evp/ |
D | digest.c | 62 return OPENSSL_zalloc(sizeof(EVP_MD_CTX)); in EVP_MD_CTX_new() 139 ctx->md_data = OPENSSL_zalloc(type->ctx_size); in EVP_DigestInit_ex()
|
/third_party/openssl/crypto/comp/ |
D | comp_lib.c | 22 if ((ret = OPENSSL_zalloc(sizeof(*ret))) == NULL) { in COMP_CTX_new()
|
/third_party/openssl/crypto/bn/ |
D | rsa_sup_mul.c | 545 l_im = OPENSSL_zalloc(l_size * LIMB_BYTE_SIZE); in ossl_bn_rsa_do_unblind() 546 l_mul = OPENSSL_zalloc(l_size * LIMB_BYTE_SIZE); in ossl_bn_rsa_do_unblind() 547 l_mod = OPENSSL_zalloc(l_mod_count * LIMB_BYTE_SIZE); in ossl_bn_rsa_do_unblind()
|
/third_party/openssl/crypto/ec/ |
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()
|
/third_party/openssl/crypto/bio/ |
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()
|