Home
last modified time | relevance | path

Searched refs:a_nonce (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/wpa/src/common/
H A Ddpp_reconfig.c50 struct wpabuf *a_nonce = NULL, *e_id = NULL; in dpp_build_reconfig_announcement() local
87 a_nonce = crypto_ec_key_get_pubkey_point(id->a_nonce, 0); in dpp_build_reconfig_announcement()
89 if (!a_nonce || !e_id) in dpp_build_reconfig_announcement()
94 attr_len += 4 + wpabuf_len(a_nonce); in dpp_build_reconfig_announcement()
112 wpabuf_put_le16(msg, wpabuf_len(a_nonce)); in dpp_build_reconfig_announcement()
113 wpabuf_put_buf(msg, a_nonce); in dpp_build_reconfig_announcement()
123 wpabuf_free(a_nonce); in dpp_build_reconfig_announcement()
245 struct crypto_ec_key *a_nonce, *e_prime_id; in dpp_reconfig_init() local
261 a_nonce = dpp_set_pubkey_point(conf->csign, a_nonce_attr, a_nonce_len); in dpp_reconfig_init()
262 if (!a_nonce) { in dpp_reconfig_init()
[all …]
H A Ddpp_crypto.c2291 struct crypto_ec_point *e_prime_id, *a_nonce, *pp; in dpp_update_reconfig_id() local
2296 a_nonce = crypto_ec_point_init(id->ec); in dpp_update_reconfig_id()
2304 if (!pp || !e_prime_id || !a_nonce || !bn || !q || !generator || in dpp_update_reconfig_id()
2306 crypto_ec_point_mul(id->ec, generator, bn, a_nonce) || in dpp_update_reconfig_id()
2311 crypto_ec_point_debug_print(id->ec, a_nonce, in dpp_update_reconfig_id()
2316 crypto_ec_key_deinit(id->a_nonce); in dpp_update_reconfig_id()
2318 id->a_nonce = crypto_ec_key_set_pub_point(id->ec, a_nonce); in dpp_update_reconfig_id()
2320 if (!id->a_nonce || !id->e_prime_id) in dpp_update_reconfig_id()
2327 crypto_ec_point_deinit(a_nonce, 1); in dpp_update_reconfig_id()
2339 crypto_ec_key_deinit(id->a_nonce); in dpp_free_reconfig_id()
[all …]
H A Ddpp_i.h143 struct crypto_ec_key *a_nonce,
155 struct crypto_ec_key *a_nonce; /* A-NONCE */ member
H A Ddpp_tcp.c1000 const u8 *csign_hash, *fcgroup, *a_nonce, *e_id; in dpp_controller_rx_reconfig_announcement() local
1041 a_nonce = dpp_get_attr(buf, len, DPP_ATTR_A_NONCE, &a_nonce_len); in dpp_controller_rx_reconfig_announcement()
1045 a_nonce, a_nonce_len, e_id, e_id_len); in dpp_controller_rx_reconfig_announcement()
/freebsd/contrib/wpa/src/ap/
H A Ddpp_hostapd.c1760 const u8 *csign_hash, *fcgroup, *a_nonce, *e_id; in hostapd_dpp_rx_reconfig_announcement() local
1809 a_nonce = dpp_get_attr(buf, len, DPP_ATTR_A_NONCE, &a_nonce_len); in hostapd_dpp_rx_reconfig_announcement()
1813 conf, freq, group, a_nonce, a_nonce_len, in hostapd_dpp_rx_reconfig_announcement()
/freebsd/contrib/wpa/wpa_supplicant/
H A Ddpp_supplicant.c2500 const u8 *csign_hash, *fcgroup, *a_nonce, *e_id; in wpas_dpp_rx_reconfig_announcement() local
2545 a_nonce = dpp_get_attr(buf, len, DPP_ATTR_A_NONCE, &a_nonce_len); in wpas_dpp_rx_reconfig_announcement()
2549 a_nonce, a_nonce_len, e_id, e_id_len); in wpas_dpp_rx_reconfig_announcement()