/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | dpp_reconfig.c | 373 wpabuf_put_data(msg, auth->e_nonce, auth->curve->nonce_len); in dpp_reconfig_build_resp() 591 wpabuf_put_data(clear, auth->e_nonce, auth->curve->nonce_len); in dpp_reconfig_build_conf() 652 *c_nonce, *e_nonce, *conn_status; in dpp_reconfig_auth_resp_rx() local 712 e_nonce = dpp_get_attr(attr_start, attr_len, in dpp_reconfig_auth_resp_rx() 714 if (!e_nonce || e_nonce_len != auth->curve->nonce_len) { in dpp_reconfig_auth_resp_rx() 718 wpa_hexdump(MSG_DEBUG, "DPP: E-nonce", e_nonce, e_nonce_len); in dpp_reconfig_auth_resp_rx() 719 os_memcpy(auth->e_nonce, e_nonce, e_nonce_len); in dpp_reconfig_auth_resp_rx() 836 const u8 *trans_id, *version, *wrapped_data, *c_nonce, *e_nonce, in dpp_reconfig_auth_conf_rx() local 927 e_nonce in dpp_reconfig_auth_conf_rx() [all...] |
H A D | dpp.c | 669 if (random_get_bytes(auth->e_nonce, nonce_len)) { in dpp_build_conf_req_attr() 673 wpa_hexdump(MSG_DEBUG, "DPP: E-nonce", auth->e_nonce, nonce_len); in dpp_build_conf_req_attr() 698 wpabuf_put_data(clear, auth->e_nonce, nonce_len - 1); in dpp_build_conf_req_attr() 710 wpabuf_put_data(clear, auth->e_nonce, nonce_len); in dpp_build_conf_req_attr() 1695 dpp_build_conf_resp(struct dpp_authentication *auth, const u8 *e_nonce, in dpp_build_conf_resp() argument 1768 wpabuf_put_data(clear, e_nonce, e_nonce_len - 1); in dpp_build_conf_resp() 1769 wpabuf_put_u8(clear, e_nonce[e_nonce_len - 1] ^ 0x01); in dpp_build_conf_resp() 1781 wpabuf_put_data(clear, e_nonce, e_nonce_len); in dpp_build_conf_resp() 1889 const u8 *wrapped_data, *e_nonce, *config_attr; in dpp_conf_req_rx() local 1939 e_nonce in dpp_conf_req_rx() 2859 const u8 *wrapped_data, *e_nonce, *status, *conf_obj; dpp_conf_resp_rx() local 3009 const u8 *wrapped_data, *status, *e_nonce; dpp_conf_result_rx() local 3163 const u8 *wrapped_data, *status, *e_nonce; dpp_conn_status_result_rx() local [all...] |
H A D | dpp.h | 267 u8 e_nonce[DPP_MAX_NONCE_LEN]; member 563 dpp_build_conf_resp(struct dpp_authentication *auth, const u8 *e_nonce,
|
H A D | dpp_crypto.c | 1698 if (random_get_bytes(auth->e_nonce, auth->curve->nonce_len)) { in dpp_reconfig_derive_ke_responder() 1703 auth->e_nonce, auth->curve->nonce_len); in dpp_reconfig_derive_ke_responder() 1729 os_memcpy(&nonces[curve->nonce_len], auth->e_nonce, curve->nonce_len); in dpp_reconfig_derive_ke_responder() 1820 os_memcpy(&nonces[curve->nonce_len], auth->e_nonce, curve->nonce_len); in dpp_reconfig_derive_ke_initiator()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | dpp.c | 2373 if (random_get_bytes(auth->e_nonce, nonce_len)) { in dpp_build_conf_req_attr() 2377 wpa_hexdump(MSG_DEBUG, "DPP: E-nonce", auth->e_nonce, nonce_len); in dpp_build_conf_req_attr() 2402 wpabuf_put_data(clear, auth->e_nonce, nonce_len - 1); in dpp_build_conf_req_attr() 2414 wpabuf_put_data(clear, auth->e_nonce, nonce_len); in dpp_build_conf_req_attr() 4845 dpp_build_conf_resp(struct dpp_authentication *auth, const u8 *e_nonce, in dpp_build_conf_resp() argument 4887 wpabuf_put_data(clear, e_nonce, e_nonce_len - 1); in dpp_build_conf_resp() 4888 wpabuf_put_u8(clear, e_nonce[e_nonce_len - 1] ^ 0x01); in dpp_build_conf_resp() 4900 wpabuf_put_data(clear, e_nonce, e_nonce_len); in dpp_build_conf_resp() 4977 const u8 *wrapped_data, *e_nonce, *config_attr; in dpp_conf_req_rx() local 5026 e_nonce in dpp_conf_req_rx() 5915 const u8 *wrapped_data, *e_nonce, *status, *conf_obj; dpp_conf_resp_rx() local 6017 const u8 *wrapped_data, *status, *e_nonce; dpp_conf_result_rx() local [all...] |
H A D | dpp.h | 191 u8 e_nonce[DPP_MAX_NONCE_LEN]; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A 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()
|
H A D | wps_registrar.c | 2208 static int wps_process_enrollee_nonce(struct wps_data *wps, const u8 *e_nonce) in wps_process_enrollee_nonce() argument 2210 if (e_nonce == NULL) { in wps_process_enrollee_nonce() 2215 os_memcpy(wps->nonce_e, e_nonce, WPS_NONCE_LEN); in wps_process_enrollee_nonce()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A 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()
|
H A D | wps_registrar.c | 2199 static int wps_process_enrollee_nonce(struct wps_data *wps, const u8 *e_nonce) in wps_process_enrollee_nonce() argument 2201 if (e_nonce == NULL) { in wps_process_enrollee_nonce() 2206 os_memcpy(wps->nonce_e, e_nonce, WPS_NONCE_LEN); in wps_process_enrollee_nonce()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | dpp_supplicant.c | 3901 resp = dpp_build_conf_resp(auth, auth->e_nonce, auth->curve->nonce_len, in wpas_dpp_build_conf_resp()
|