Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_openssl.c2061 EC_KEY *ec_params = NULL; in crypto_ecdh_init() local
2072 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() local
2488 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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_openssl.c1973 EC_KEY *ec_params = NULL; in crypto_ecdh_init() local
1984 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Ddpp.c1225 EC_KEY *ec_params = NULL; in dpp_gen_keypair() local
1237 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()