Lines Matching refs:eckey
765 EC_KEY *eckey = NULL; in ossl_ec_key_param_from_x509_algor() local
769 if ((eckey = EC_KEY_new_ex(libctx, propq)) == NULL) { in ossl_ec_key_param_from_x509_algor()
780 if (d2i_ECParameters(&eckey, &pm, pmlen) == NULL) { in ossl_ec_key_param_from_x509_algor()
795 if (EC_KEY_set_group(eckey, group) == 0) in ossl_ec_key_param_from_x509_algor()
803 return eckey; in ossl_ec_key_param_from_x509_algor()
806 EC_KEY_free(eckey); in ossl_ec_key_param_from_x509_algor()
816 EC_KEY *eckey = NULL; in ossl_ec_key_from_pkcs8() local
821 eckey = ossl_ec_key_param_from_x509_algor(palg, libctx, propq); in ossl_ec_key_from_pkcs8()
822 if (eckey == NULL) in ossl_ec_key_from_pkcs8()
826 if (!d2i_ECPrivateKey(&eckey, &p, pklen)) { in ossl_ec_key_from_pkcs8()
831 return eckey; in ossl_ec_key_from_pkcs8()
833 EC_KEY_free(eckey); in ossl_ec_key_from_pkcs8()