Searched refs:e_nonce (Results 1 – 7 of 7) sorted by relevance
/external/wpa_supplicant_8/src/common/ |
D | dpp_reconfig.c | 377 wpabuf_put_data(msg, auth->e_nonce, auth->curve->nonce_len); in dpp_reconfig_build_resp() 595 wpabuf_put_data(clear, auth->e_nonce, auth->curve->nonce_len); in dpp_reconfig_build_conf() 656 *c_nonce, *e_nonce, *conn_status; in dpp_reconfig_auth_resp_rx() local 716 e_nonce = dpp_get_attr(attr_start, attr_len, in dpp_reconfig_auth_resp_rx() 718 if (!e_nonce || e_nonce_len != auth->curve->nonce_len) { in dpp_reconfig_auth_resp_rx() 722 wpa_hexdump(MSG_DEBUG, "DPP: E-nonce", e_nonce, e_nonce_len); in dpp_reconfig_auth_resp_rx() 723 os_memcpy(auth->e_nonce, e_nonce, e_nonce_len); in dpp_reconfig_auth_resp_rx() 840 const u8 *trans_id, *version, *wrapped_data, *c_nonce, *e_nonce, in dpp_reconfig_auth_conf_rx() local 931 e_nonce = dpp_get_attr(unwrapped, unwrapped_len, in dpp_reconfig_auth_conf_rx() 933 if (!e_nonce || e_nonce_len != auth->curve->nonce_len || in dpp_reconfig_auth_conf_rx() [all …]
|
D | dpp.c | 682 if (random_get_bytes(auth->e_nonce, nonce_len)) { in dpp_build_conf_req_attr() 686 wpa_hexdump(MSG_DEBUG, "DPP: E-nonce", auth->e_nonce, nonce_len); in dpp_build_conf_req_attr() 711 wpabuf_put_data(clear, auth->e_nonce, nonce_len - 1); in dpp_build_conf_req_attr() 723 wpabuf_put_data(clear, auth->e_nonce, nonce_len); in dpp_build_conf_req_attr() 1703 dpp_build_conf_resp(struct dpp_authentication *auth, const u8 *e_nonce, in dpp_build_conf_resp() argument 1776 wpabuf_put_data(clear, e_nonce, e_nonce_len - 1); in dpp_build_conf_resp() 1777 wpabuf_put_u8(clear, e_nonce[e_nonce_len - 1] ^ 0x01); in dpp_build_conf_resp() 1789 wpabuf_put_data(clear, e_nonce, e_nonce_len); in dpp_build_conf_resp() 1897 const u8 *wrapped_data, *e_nonce, *config_attr; in dpp_conf_req_rx() local 1947 e_nonce = dpp_get_attr(unwrapped, unwrapped_len, in dpp_conf_req_rx() [all …]
|
D | dpp.h | 265 u8 e_nonce[DPP_MAX_NONCE_LEN]; member 560 dpp_build_conf_resp(struct dpp_authentication *auth, const u8 *e_nonce,
|
D | dpp_crypto.c | 2298 if (random_get_bytes(auth->e_nonce, auth->curve->nonce_len)) { in dpp_reconfig_derive_ke_responder() 2303 auth->e_nonce, auth->curve->nonce_len); in dpp_reconfig_derive_ke_responder() 2343 os_memcpy(&nonces[curve->nonce_len], auth->e_nonce, curve->nonce_len); in dpp_reconfig_derive_ke_responder() 2441 os_memcpy(&nonces[curve->nonce_len], auth->e_nonce, curve->nonce_len); in dpp_reconfig_derive_ke_initiator()
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_enrollee.c | 528 static int wps_process_enrollee_nonce(struct wps_data *wps, const u8 *e_nonce) in wps_process_enrollee_nonce() argument 530 if (e_nonce == NULL) { in wps_process_enrollee_nonce() 535 if (os_memcmp(wps->nonce_e, e_nonce, WPS_NONCE_LEN) != 0) { in wps_process_enrollee_nonce()
|
D | wps_registrar.c | 2209 static int wps_process_enrollee_nonce(struct wps_data *wps, const u8 *e_nonce) in wps_process_enrollee_nonce() argument 2211 if (e_nonce == NULL) { in wps_process_enrollee_nonce() 2216 os_memcpy(wps->nonce_e, e_nonce, WPS_NONCE_LEN); in wps_process_enrollee_nonce()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | dpp_supplicant.c | 3876 resp = dpp_build_conf_resp(auth, auth->e_nonce, auth->curve->nonce_len, in wpas_dpp_build_conf_resp()
|