Home
last modified time | relevance | path

Searched refs:ec_params (Results 1 – 2 of 2) sorted by relevance

/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c1873 EC_KEY *ec_params; in crypto_ecdh_init() local
1884 ec_params = EC_KEY_new_by_curve_name(ecdh->ec->nid); in crypto_ecdh_init()
1885 if (!ec_params) { in crypto_ecdh_init()
1890 EC_KEY_set_asn1_flag(ec_params, OPENSSL_EC_NAMED_CURVE); in crypto_ecdh_init()
1892 if (!params || EVP_PKEY_set1_EC_KEY(params, ec_params) != 1) { in crypto_ecdh_init()
/external/wpa_supplicant_8/src/common/
Ddpp.c1082 EC_KEY *ec_params; in dpp_gen_keypair() local
1094 ec_params = EC_KEY_new_by_curve_name(nid); in dpp_gen_keypair()
1095 if (!ec_params) { in dpp_gen_keypair()
1100 EC_KEY_set_asn1_flag(ec_params, OPENSSL_EC_NAMED_CURVE); in dpp_gen_keypair()
1102 if (!params || EVP_PKEY_set1_EC_KEY(params, ec_params) != 1) { in dpp_gen_keypair()