Lines Matching refs:eckey
69 EVP_PKEY *eckey = NULL; in ec_main() local
176 eckey = load_pubkey(infile, informat, 1, passin, e, "public key"); in ec_main()
178 eckey = load_key(infile, informat, 1, passin, e, "private key"); in ec_main()
180 if (eckey == NULL) { in ec_main()
191 eckey, OSSL_PKEY_PARAM_EC_POINT_CONVERSION_FORMAT, in ec_main()
199 eckey, OSSL_PKEY_PARAM_EC_ENCODING, asn1_encoding)) { in ec_main()
205 if (!EVP_PKEY_set_int_param(eckey, OSSL_PKEY_PARAM_EC_INCLUDE_PUBLIC, 0)) { in ec_main()
210 if (!EVP_PKEY_set_int_param(eckey, OSSL_PKEY_PARAM_EC_INCLUDE_PUBLIC, 1)) { in ec_main()
218 if ((pubin && EVP_PKEY_print_public(out, eckey, 0, NULL) <= 0) in ec_main()
219 || (!pubin && EVP_PKEY_print_private(out, eckey, 0, NULL) <= 0)) { in ec_main()
226 pctx = EVP_PKEY_CTX_new_from_pkey(NULL, eckey, NULL); in ec_main()
255 ectx = OSSL_ENCODER_CTX_new_for_pkey(eckey, selection, in ec_main()
279 EVP_PKEY_free(eckey); in ec_main()