/third_party/node/deps/openssl/openssl/crypto/rsa/ |
D | rsa_backend.c | 337 RSA *dupkey = NULL; in ossl_rsa_dup() local 346 if ((dupkey = ossl_rsa_new_with_ctx(rsa->libctx)) == NULL) in ossl_rsa_dup() 351 if (!rsa_bn_dup_check(&dupkey->n, rsa->n)) in ossl_rsa_dup() 353 if (!rsa_bn_dup_check(&dupkey->e, rsa->e)) in ossl_rsa_dup() 360 if (!rsa_bn_dup_check(&dupkey->d, rsa->d)) in ossl_rsa_dup() 364 if (!rsa_bn_dup_check(&dupkey->p, rsa->p)) in ossl_rsa_dup() 366 if (!rsa_bn_dup_check(&dupkey->q, rsa->q)) in ossl_rsa_dup() 368 if (!rsa_bn_dup_check(&dupkey->dmp1, rsa->dmp1)) in ossl_rsa_dup() 370 if (!rsa_bn_dup_check(&dupkey->dmq1, rsa->dmq1)) in ossl_rsa_dup() 372 if (!rsa_bn_dup_check(&dupkey->iqmp, rsa->iqmp)) in ossl_rsa_dup() [all …]
|
D | rsa_ameth.c | 929 RSA *dupkey = NULL; in rsa_pkey_copy() local 933 dupkey = ossl_rsa_dup(rsa, OSSL_KEYMGMT_SELECT_ALL); in rsa_pkey_copy() 934 if (dupkey == NULL) in rsa_pkey_copy() 938 ret = EVP_PKEY_assign(to, from->type, dupkey); in rsa_pkey_copy() 940 RSA_free(dupkey); in rsa_pkey_copy()
|
/third_party/openssl/crypto/rsa/ |
D | rsa_backend.c | 349 RSA *dupkey = NULL; in ossl_rsa_dup() local 358 if ((dupkey = ossl_rsa_new_with_ctx(rsa->libctx)) == NULL) in ossl_rsa_dup() 363 if (!rsa_bn_dup_check(&dupkey->n, rsa->n)) in ossl_rsa_dup() 365 if (!rsa_bn_dup_check(&dupkey->e, rsa->e)) in ossl_rsa_dup() 372 if (!rsa_bn_dup_check(&dupkey->d, rsa->d)) in ossl_rsa_dup() 376 if (!rsa_bn_dup_check(&dupkey->p, rsa->p)) in ossl_rsa_dup() 378 if (!rsa_bn_dup_check(&dupkey->q, rsa->q)) in ossl_rsa_dup() 380 if (!rsa_bn_dup_check(&dupkey->dmp1, rsa->dmp1)) in ossl_rsa_dup() 382 if (!rsa_bn_dup_check(&dupkey->dmq1, rsa->dmq1)) in ossl_rsa_dup() 384 if (!rsa_bn_dup_check(&dupkey->iqmp, rsa->iqmp)) in ossl_rsa_dup() [all …]
|
D | rsa_ameth.c | 894 RSA *dupkey = NULL; in rsa_pkey_copy() local 898 dupkey = ossl_rsa_dup(rsa, OSSL_KEYMGMT_SELECT_ALL); in rsa_pkey_copy() 899 if (dupkey == NULL) in rsa_pkey_copy() 903 ret = EVP_PKEY_assign(to, from->type, dupkey); in rsa_pkey_copy() 905 RSA_free(dupkey); in rsa_pkey_copy()
|
/third_party/openssl/crypto/dh/ |
D | dh_backend.c | 147 DH *dupkey = NULL; in ossl_dh_dup() local 153 if ((dupkey = ossl_dh_new_ex(dh->libctx)) == NULL) in ossl_dh_dup() 156 dupkey->length = DH_get_length(dh); in ossl_dh_dup() 158 && !ossl_ffc_params_copy(&dupkey->params, &dh->params)) in ossl_dh_dup() 161 dupkey->flags = dh->flags; in ossl_dh_dup() 165 || !dh_bn_dup_check(&dupkey->pub_key, dh->pub_key))) in ossl_dh_dup() 170 || !dh_bn_dup_check(&dupkey->priv_key, dh->priv_key))) in ossl_dh_dup() 175 &dupkey->ex_data, &dh->ex_data)) in ossl_dh_dup() 179 return dupkey; in ossl_dh_dup() 182 DH_free(dupkey); in ossl_dh_dup()
|
D | dh_ameth.c | 545 DH *dupkey = NULL; in dh_pkey_copy() local 549 dupkey = ossl_dh_dup(dh, OSSL_KEYMGMT_SELECT_ALL); in dh_pkey_copy() 550 if (dupkey == NULL) in dh_pkey_copy() 554 ret = EVP_PKEY_assign(to, from->type, dupkey); in dh_pkey_copy() 556 DH_free(dupkey); in dh_pkey_copy()
|
/third_party/node/deps/openssl/openssl/crypto/dh/ |
D | dh_backend.c | 147 DH *dupkey = NULL; in ossl_dh_dup() local 153 if ((dupkey = ossl_dh_new_ex(dh->libctx)) == NULL) in ossl_dh_dup() 156 dupkey->length = DH_get_length(dh); in ossl_dh_dup() 158 && !ossl_ffc_params_copy(&dupkey->params, &dh->params)) in ossl_dh_dup() 161 dupkey->flags = dh->flags; in ossl_dh_dup() 165 || !dh_bn_dup_check(&dupkey->pub_key, dh->pub_key))) in ossl_dh_dup() 170 || !dh_bn_dup_check(&dupkey->priv_key, dh->priv_key))) in ossl_dh_dup() 175 &dupkey->ex_data, &dh->ex_data)) in ossl_dh_dup() 179 return dupkey; in ossl_dh_dup() 182 DH_free(dupkey); in ossl_dh_dup()
|
D | dh_ameth.c | 545 DH *dupkey = NULL; in dh_pkey_copy() local 549 dupkey = ossl_dh_dup(dh, OSSL_KEYMGMT_SELECT_ALL); in dh_pkey_copy() 550 if (dupkey == NULL) in dh_pkey_copy() 554 ret = EVP_PKEY_assign(to, from->type, dupkey); in dh_pkey_copy() 556 DH_free(dupkey); in dh_pkey_copy()
|
/third_party/node/deps/openssl/openssl/crypto/dsa/ |
D | dsa_backend.c | 84 DSA *dupkey = NULL; in ossl_dsa_dup() local 90 if ((dupkey = ossl_dsa_new(dsa->libctx)) == NULL) in ossl_dsa_dup() 94 && !ossl_ffc_params_copy(&dupkey->params, &dsa->params)) in ossl_dsa_dup() 97 dupkey->flags = dsa->flags; in ossl_dsa_dup() 101 || !dsa_bn_dup_check(&dupkey->pub_key, dsa->pub_key))) in ossl_dsa_dup() 106 || !dsa_bn_dup_check(&dupkey->priv_key, dsa->priv_key))) in ossl_dsa_dup() 111 &dupkey->ex_data, &dsa->ex_data)) in ossl_dsa_dup() 115 return dupkey; in ossl_dsa_dup() 118 DSA_free(dupkey); in ossl_dsa_dup()
|
D | dsa_ameth.c | 502 DSA *dupkey = NULL; in dsa_pkey_copy() local 506 dupkey = ossl_dsa_dup(dsa, OSSL_KEYMGMT_SELECT_ALL); in dsa_pkey_copy() 507 if (dupkey == NULL) in dsa_pkey_copy() 511 ret = EVP_PKEY_assign_DSA(to, dupkey); in dsa_pkey_copy() 513 DSA_free(dupkey); in dsa_pkey_copy()
|
/third_party/openssl/crypto/dsa/ |
D | dsa_backend.c | 84 DSA *dupkey = NULL; in ossl_dsa_dup() local 90 if ((dupkey = ossl_dsa_new(dsa->libctx)) == NULL) in ossl_dsa_dup() 94 && !ossl_ffc_params_copy(&dupkey->params, &dsa->params)) in ossl_dsa_dup() 97 dupkey->flags = dsa->flags; in ossl_dsa_dup() 101 || !dsa_bn_dup_check(&dupkey->pub_key, dsa->pub_key))) in ossl_dsa_dup() 106 || !dsa_bn_dup_check(&dupkey->priv_key, dsa->priv_key))) in ossl_dsa_dup() 111 &dupkey->ex_data, &dsa->ex_data)) in ossl_dsa_dup() 115 return dupkey; in ossl_dsa_dup() 118 DSA_free(dupkey); in ossl_dsa_dup()
|
D | dsa_ameth.c | 502 DSA *dupkey = NULL; in dsa_pkey_copy() local 506 dupkey = ossl_dsa_dup(dsa, OSSL_KEYMGMT_SELECT_ALL); in dsa_pkey_copy() 507 if (dupkey == NULL) in dsa_pkey_copy() 511 ret = EVP_PKEY_assign_DSA(to, dupkey); in dsa_pkey_copy() 513 DSA_free(dupkey); in dsa_pkey_copy()
|
/third_party/openssl/crypto/ec/ |
D | ec_ameth.c | 633 EC_KEY *dupkey = NULL; in ec_pkey_copy() local 637 dupkey = EC_KEY_dup(eckey); in ec_pkey_copy() 638 if (dupkey == NULL) in ec_pkey_copy() 645 ret = EVP_PKEY_assign_EC_KEY(to, dupkey); in ec_pkey_copy() 647 EC_KEY_free(dupkey); in ec_pkey_copy()
|
D | ecx_meth.c | 409 ECX_KEY *ecx = from->pkey.ecx, *dupkey = NULL; in ecx_pkey_copy() local 413 dupkey = ossl_ecx_key_dup(ecx, OSSL_KEYMGMT_SELECT_ALL); in ecx_pkey_copy() 414 if (dupkey == NULL) in ecx_pkey_copy() 418 ret = EVP_PKEY_assign(to, from->type, dupkey); in ecx_pkey_copy() 420 ossl_ecx_key_free(dupkey); in ecx_pkey_copy()
|
/third_party/node/deps/openssl/openssl/crypto/ec/ |
D | ec_ameth.c | 633 EC_KEY *dupkey = NULL; in ec_pkey_copy() local 637 dupkey = EC_KEY_dup(eckey); in ec_pkey_copy() 638 if (dupkey == NULL) in ec_pkey_copy() 645 ret = EVP_PKEY_assign_EC_KEY(to, dupkey); in ec_pkey_copy() 647 EC_KEY_free(dupkey); in ec_pkey_copy()
|
D | ecx_meth.c | 409 ECX_KEY *ecx = from->pkey.ecx, *dupkey = NULL; in ecx_pkey_copy() local 413 dupkey = ossl_ecx_key_dup(ecx, OSSL_KEYMGMT_SELECT_ALL); in ecx_pkey_copy() 414 if (dupkey == NULL) in ecx_pkey_copy() 418 ret = EVP_PKEY_assign(to, from->type, dupkey); in ecx_pkey_copy() 420 ossl_ecx_key_free(dupkey); in ecx_pkey_copy()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_meta_copy.c | 1934 uint8_t *dupkey = malloc(V3DV_META_TEXEL_BUFFER_COPY_CACHE_KEY_SIZE); in get_copy_texel_buffer_pipeline() local 1935 memcpy(dupkey, key, V3DV_META_TEXEL_BUFFER_COPY_CACHE_KEY_SIZE); in get_copy_texel_buffer_pipeline() 1937 dupkey, *pipeline); in get_copy_texel_buffer_pipeline()
|