/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
D | cipher_chacha20.c | 71 PROV_CHACHA20_CTX *dupctx = NULL; in chacha20_dupctx() local 74 dupctx = OPENSSL_memdup(ctx, sizeof(*dupctx)); in chacha20_dupctx() 75 if (dupctx != NULL && dupctx->base.tlsmac != NULL && dupctx->base.alloced) { in chacha20_dupctx() 76 dupctx->base.tlsmac = OPENSSL_memdup(dupctx->base.tlsmac, in chacha20_dupctx() 77 dupctx->base.tlsmacsize); in chacha20_dupctx() 78 if (dupctx->base.tlsmac == NULL) { in chacha20_dupctx() 79 OPENSSL_free(dupctx); in chacha20_dupctx() 80 dupctx = NULL; in chacha20_dupctx() 84 return dupctx; in chacha20_dupctx()
|
D | cipher_aes_ccm.c | 39 PROV_AES_CCM_CTX *dupctx = NULL; in aes_ccm_dupctx() local 43 dupctx = OPENSSL_memdup(provctx, sizeof(*ctx)); in aes_ccm_dupctx() 44 if (dupctx == NULL) in aes_ccm_dupctx() 51 dupctx->base.ccm_ctx.key = &dupctx->ccm.ks.ks; in aes_ccm_dupctx() 53 return dupctx; in aes_ccm_dupctx()
|
D | cipher_aes_siv.h | 21 int (*dupctx)(void *src, void *dst); member
|
/third_party/openssl/crypto/evp/ |
D | evp_local.h | 149 OSSL_FUNC_keyexch_dupctx_fn *dupctx; member 180 OSSL_FUNC_signature_dupctx_fn *dupctx; member 205 OSSL_FUNC_asym_cipher_dupctx_fn *dupctx; member 226 OSSL_FUNC_kem_dupctx_fn *dupctx; member
|
D | kdf_lib.c | 59 if (src == NULL || src->algctx == NULL || src->meth->dupctx == NULL) in EVP_KDF_CTX_dup() 75 dst->algctx = src->meth->dupctx(src->algctx); in EVP_KDF_CTX_dup()
|
D | kdf_meth.c | 87 if (kdf->dupctx != NULL) in evp_kdf_from_algorithm() 89 kdf->dupctx = OSSL_FUNC_kdf_dupctx(fns); in evp_kdf_from_algorithm()
|
D | mac_meth.c | 88 if (mac->dupctx != NULL) in evp_mac_from_algorithm() 90 mac->dupctx = OSSL_FUNC_mac_dupctx(fns); in evp_mac_from_algorithm()
|
D | pmeth_lib.c | 513 if (pctx->op.kex.exchange->dupctx != NULL) in EVP_PKEY_CTX_dup() 515 = pctx->op.kex.exchange->dupctx(pctx->op.kex.algctx); in EVP_PKEY_CTX_dup() 534 if (pctx->op.sig.signature->dupctx != NULL) in EVP_PKEY_CTX_dup() 536 = pctx->op.sig.signature->dupctx(pctx->op.sig.algctx); in EVP_PKEY_CTX_dup() 555 if (pctx->op.ciph.cipher->dupctx != NULL) in EVP_PKEY_CTX_dup() 557 = pctx->op.ciph.cipher->dupctx(pctx->op.ciph.algctx); in EVP_PKEY_CTX_dup() 576 if (pctx->op.encap.kem->dupctx != NULL) in EVP_PKEY_CTX_dup() 578 = pctx->op.encap.kem->dupctx(pctx->op.encap.algctx); in EVP_PKEY_CTX_dup()
|
D | kem.c | 316 if (kem->dupctx != NULL) in evp_kem_from_algorithm() 318 kem->dupctx = OSSL_FUNC_kem_dupctx(fns); in evp_kem_from_algorithm()
|
D | digest.c | 546 if (in->digest->dupctx == NULL) { in EVP_MD_CTX_copy_ex() 564 out->algctx = in->digest->dupctx(in->algctx); in EVP_MD_CTX_copy_ex() 1003 if (md->dupctx == NULL) in evp_md_from_algorithm() 1004 md->dupctx = OSSL_FUNC_digest_dupctx(fns); in evp_md_from_algorithm()
|
D | asymcipher.c | 382 if (cipher->dupctx != NULL) in evp_asym_cipher_from_algorithm() 384 cipher->dupctx = OSSL_FUNC_asym_cipher_dupctx(fns); in evp_asym_cipher_from_algorithm()
|
D | exchange.c | 93 if (exchange->dupctx != NULL) in evp_keyexch_from_algorithm() 95 exchange->dupctx = OSSL_FUNC_keyexch_dupctx(fns); in evp_keyexch_from_algorithm()
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
D | evp_local.h | 149 OSSL_FUNC_keyexch_dupctx_fn *dupctx; member 180 OSSL_FUNC_signature_dupctx_fn *dupctx; member 205 OSSL_FUNC_asym_cipher_dupctx_fn *dupctx; member 226 OSSL_FUNC_kem_dupctx_fn *dupctx; member
|
D | kdf_lib.c | 59 if (src == NULL || src->algctx == NULL || src->meth->dupctx == NULL) in EVP_KDF_CTX_dup() 75 dst->algctx = src->meth->dupctx(src->algctx); in EVP_KDF_CTX_dup()
|
D | kdf_meth.c | 87 if (kdf->dupctx != NULL) in evp_kdf_from_algorithm() 89 kdf->dupctx = OSSL_FUNC_kdf_dupctx(fns); in evp_kdf_from_algorithm()
|
D | mac_meth.c | 88 if (mac->dupctx != NULL) in evp_mac_from_algorithm() 90 mac->dupctx = OSSL_FUNC_mac_dupctx(fns); in evp_mac_from_algorithm()
|
D | pmeth_lib.c | 514 if (pctx->op.kex.exchange->dupctx != NULL) in EVP_PKEY_CTX_dup() 516 = pctx->op.kex.exchange->dupctx(pctx->op.kex.algctx); in EVP_PKEY_CTX_dup() 535 if (pctx->op.sig.signature->dupctx != NULL) in EVP_PKEY_CTX_dup() 537 = pctx->op.sig.signature->dupctx(pctx->op.sig.algctx); in EVP_PKEY_CTX_dup() 556 if (pctx->op.ciph.cipher->dupctx != NULL) in EVP_PKEY_CTX_dup() 558 = pctx->op.ciph.cipher->dupctx(pctx->op.ciph.algctx); in EVP_PKEY_CTX_dup() 577 if (pctx->op.encap.kem->dupctx != NULL) in EVP_PKEY_CTX_dup() 579 = pctx->op.encap.kem->dupctx(pctx->op.encap.algctx); in EVP_PKEY_CTX_dup()
|
D | kem.c | 316 if (kem->dupctx != NULL) in evp_kem_from_algorithm() 318 kem->dupctx = OSSL_FUNC_kem_dupctx(fns); in evp_kem_from_algorithm()
|
D | digest.c | 546 if (in->digest->dupctx == NULL) { in EVP_MD_CTX_copy_ex() 564 out->algctx = in->digest->dupctx(in->algctx); in EVP_MD_CTX_copy_ex() 1003 if (md->dupctx == NULL) in evp_md_from_algorithm() 1004 md->dupctx = OSSL_FUNC_digest_dupctx(fns); in evp_md_from_algorithm()
|
D | exchange.c | 93 if (exchange->dupctx != NULL) in evp_keyexch_from_algorithm() 95 exchange->dupctx = OSSL_FUNC_keyexch_dupctx(fns); in evp_keyexch_from_algorithm()
|
D | asymcipher.c | 382 if (cipher->dupctx != NULL) in evp_asym_cipher_from_algorithm() 384 cipher->dupctx = OSSL_FUNC_asym_cipher_dupctx(fns); in evp_asym_cipher_from_algorithm()
|
D | evp_enc.c | 1419 if (in->cipher->dupctx == NULL) { in EVP_CIPHER_CTX_copy() 1434 out->algctx = in->cipher->dupctx(in->algctx); in EVP_CIPHER_CTX_copy() 1595 if (cipher->dupctx != NULL) in evp_cipher_from_algorithm() 1597 cipher->dupctx = OSSL_FUNC_cipher_dupctx(fns); in evp_cipher_from_algorithm()
|
/third_party/openssl/providers/implementations/ciphers/ |
D | cipher_aes_siv.h | 21 int (*dupctx)(void *src, void *dst); member
|
/third_party/node/deps/openssl/openssl/include/crypto/ |
D | evp.h | 209 OSSL_FUNC_mac_dupctx_fn *dupctx; member 231 OSSL_FUNC_kdf_dupctx_fn *dupctx; member 280 OSSL_FUNC_digest_dupctx_fn *dupctx; member 337 OSSL_FUNC_cipher_dupctx_fn *dupctx; member
|
/third_party/openssl/include/crypto/ |
D | evp.h | 209 OSSL_FUNC_mac_dupctx_fn *dupctx; member 231 OSSL_FUNC_kdf_dupctx_fn *dupctx; member 280 OSSL_FUNC_digest_dupctx_fn *dupctx; member 337 OSSL_FUNC_cipher_dupctx_fn *dupctx; member
|