Home
last modified time | relevance | path

Searched refs:pp_key (Results 1 – 7 of 7) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Ddpp.c1275 wpabuf_free(conf->pp_key); in dpp_auth_deinit()
1583 if (auth->peer_version >= 2 && auth->conf->pp_key) { in dpp_build_conf_obj_dpp()
1585 if (dpp_build_jwk(buf, "ppKey", auth->conf->pp_key, NULL, in dpp_build_conf_obj_dpp()
2422 struct wpabuf *pp_key; in dpp_copy_ppkey() local
2424 pp_key = crypto_ec_key_get_subject_public_key(ppkey); in dpp_copy_ppkey()
2425 if (!pp_key) in dpp_copy_ppkey()
2428 wpabuf_free(conf->pp_key); in dpp_copy_ppkey()
2429 conf->pp_key = pp_key; in dpp_copy_ppkey()
3380 crypto_ec_key_deinit(conf->pp_key); in dpp_configurator_free()
3437 size_t privkey_len, const u8 *pp_key, size_t pp_key_len) in dpp_keygen_configurator() argument
[all …]
Ddpp_backup.c26 crypto_ec_key_deinit(key->pp_key); in dpp_free_asymmetric_key()
43 if (!conf->pp_key) in dpp_build_conf_params()
46 priv_key = crypto_ec_key_get_ecprivate_key(conf->pp_key, false); in dpp_build_conf_params()
1053 key->pp_key = crypto_ec_key_parse_priv(hdr.payload, hdr.length); in dpp_parse_one_asymmetric_key()
1054 if (!key->pp_key) in dpp_parse_one_asymmetric_key()
1058 key->pp_key); in dpp_parse_one_asymmetric_key()
Ddpp.h241 struct crypto_ec_key *pp_key; member
333 struct wpabuf *pp_key; member
373 struct crypto_ec_key *pp_key; member
737 const u8 *pp_key,
Ddpp_i.h148 struct crypto_ec_key *pp_key; member
Ddpp_crypto.c2199 const u8 *pp_key, in dpp_gen_reconfig_id() argument
2214 if (!pp_key) in dpp_gen_reconfig_id()
2216 ppkey = crypto_ec_key_parse_pub(pp_key, pp_key_len); in dpp_gen_reconfig_id()
2246 id->pp_key = ppkey; in dpp_gen_reconfig_id()
2266 pp = crypto_ec_key_get_public_key(id->pp_key); in dpp_update_reconfig_id()
2312 crypto_ec_key_deinit(id->pp_key); in dpp_free_reconfig_id()
Ddpp_reconfig.c263 e_id = dpp_decrypt_e_id(conf->pp_key, a_nonce, e_prime_id); in dpp_reconfig_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Ddpp_supplicant.c1231 if (conf->pp_key) { in wpas_dpp_add_network()
1232 ssid->dpp_pp_key = os_malloc(wpabuf_len(conf->pp_key)); in wpas_dpp_add_network()
1235 os_memcpy(ssid->dpp_pp_key, wpabuf_head(conf->pp_key), in wpas_dpp_add_network()
1236 wpabuf_len(conf->pp_key)); in wpas_dpp_add_network()
1237 ssid->dpp_pp_key_len = wpabuf_len(conf->pp_key); in wpas_dpp_add_network()
1494 if (conf->pp_key) { in wpas_dpp_handle_config_obj()
1498 hexlen = 2 * wpabuf_len(conf->pp_key) + 1; in wpas_dpp_handle_config_obj()
1502 wpabuf_head(conf->pp_key), in wpas_dpp_handle_config_obj()
1503 wpabuf_len(conf->pp_key)); in wpas_dpp_handle_config_obj()