Searched refs:ec_params (Results 1 – 3 of 3) sorted by relevance
2061 EC_KEY *ec_params = NULL; in crypto_ecdh_init() local2072 ec_params = EC_KEY_new_by_curve_name(ecdh->ec->nid); in crypto_ecdh_init()2073 if (!ec_params) { in crypto_ecdh_init()2078 EC_KEY_set_asn1_flag(ec_params, OPENSSL_EC_NAMED_CURVE); in crypto_ecdh_init()2080 if (!params || EVP_PKEY_set1_EC_KEY(params, ec_params) != 1) { in crypto_ecdh_init()2104 EC_KEY_free(ec_params); in crypto_ecdh_init()2478 EC_KEY *ec_params = NULL, *eckey; in crypto_ec_key_gen() local2488 ec_params = EC_KEY_new_by_curve_name(nid); in crypto_ec_key_gen()2489 if (!ec_params) { in crypto_ec_key_gen()2494 EC_KEY_set_asn1_flag(ec_params, OPENSSL_EC_NAMED_CURVE); in crypto_ec_key_gen()[all …]
1973 EC_KEY *ec_params = NULL; in crypto_ecdh_init() local1984 ec_params = EC_KEY_new_by_curve_name(ecdh->ec->nid); in crypto_ecdh_init()1985 if (!ec_params) { in crypto_ecdh_init()1990 EC_KEY_set_asn1_flag(ec_params, OPENSSL_EC_NAMED_CURVE); in crypto_ecdh_init()1992 if (!params || EVP_PKEY_set1_EC_KEY(params, ec_params) != 1) { in crypto_ecdh_init()2016 EC_KEY_free(ec_params); in crypto_ecdh_init()
1225 EC_KEY *ec_params = NULL; in dpp_gen_keypair() local1237 ec_params = EC_KEY_new_by_curve_name(nid); in dpp_gen_keypair()1238 if (!ec_params) { in dpp_gen_keypair()1243 EC_KEY_set_asn1_flag(ec_params, OPENSSL_EC_NAMED_CURVE); in dpp_gen_keypair()1245 if (!params || EVP_PKEY_set1_EC_KEY(params, ec_params) != 1) { in dpp_gen_keypair()1264 EC_KEY_free(ec_params); in dpp_gen_keypair()