Lines Matching refs:eckey
104 EC_KEY *eckey = NULL; in eckey_pub_decode() local
112 eckey = ossl_ec_key_param_from_x509_algor(palg, libctx, propq); in eckey_pub_decode()
114 if (!eckey) in eckey_pub_decode()
118 if (!o2i_ECPublicKey(&eckey, &p, pklen)) { in eckey_pub_decode()
123 EVP_PKEY_assign_EC_KEY(pkey, eckey); in eckey_pub_decode()
127 EC_KEY_free(eckey); in eckey_pub_decode()
152 EC_KEY *eckey = ossl_ec_key_from_pkcs8(p8, libctx, propq); in eckey_priv_decode_ex() local
154 if (eckey != NULL) { in eckey_priv_decode_ex()
156 EVP_PKEY_assign_EC_KEY(pkey, eckey); in eckey_priv_decode_ex()
349 EC_KEY *eckey; in eckey_param_decode() local
351 if ((eckey = d2i_ECParameters(NULL, pder, derlen)) == NULL) in eckey_param_decode()
353 EVP_PKEY_assign_EC_KEY(pkey, eckey); in eckey_param_decode()
425 EC_KEY *eckey = pkey->pkey.ec; in ec_pkey_check() local
428 if (eckey->priv_key == NULL) { in ec_pkey_check()
433 return EC_KEY_check_key(eckey); in ec_pkey_check()
438 EC_KEY *eckey = pkey->pkey.ec; in ec_pkey_public_check() local
449 return EC_KEY_check_key(eckey); in ec_pkey_public_check()
454 EC_KEY *eckey = pkey->pkey.ec; in ec_pkey_param_check() local
457 if (eckey->group == NULL) { in ec_pkey_param_check()
462 return EC_GROUP_check(eckey->group, NULL); in ec_pkey_param_check()
476 const EC_KEY *eckey = NULL; in ec_pkey_export_to() local
489 || (eckey = from->pkey.ec) == NULL in ec_pkey_export_to()
490 || (ecg = EC_KEY_get0_group(eckey)) == NULL) in ec_pkey_export_to()
511 priv_key = EC_KEY_get0_private_key(eckey); in ec_pkey_export_to()
512 pub_point = EC_KEY_get0_public_key(eckey); in ec_pkey_export_to()
516 point_conversion_form_t format = EC_KEY_get_conv_form(eckey); in ec_pkey_export_to()
584 (EC_KEY_get_flags(eckey) & EC_FLAG_COFACTOR_ECDH) ? 1 : 0; in ec_pkey_export_to()
632 EC_KEY *eckey = from->pkey.ec; in ec_pkey_copy() local
636 if (eckey != NULL) { in ec_pkey_copy()
637 dupkey = EC_KEY_dup(eckey); in ec_pkey_copy()