Searched refs:e_nonce (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/wpa/src/common/ |
H A D | dpp_reconfig.c | 389 wpabuf_put_data(msg, auth->e_nonce, auth->curve->nonce_len); in dpp_reconfig_build_resp() 607 wpabuf_put_data(clear, auth->e_nonce, auth->curve->nonce_len); in dpp_reconfig_build_conf() 668 *c_nonce, *e_nonce, *conn_status; in dpp_reconfig_auth_resp_rx() local 728 e_nonce = dpp_get_attr(attr_start, attr_len, in dpp_reconfig_auth_resp_rx() 730 if (!e_nonce || e_nonce_len != auth->curve->nonce_len) { in dpp_reconfig_auth_resp_rx() 734 wpa_hexdump(MSG_DEBUG, "DPP: E-nonce", e_nonce, e_nonce_len); in dpp_reconfig_auth_resp_rx() 735 os_memcpy(auth->e_nonce, e_nonce, e_nonce_len); in dpp_reconfig_auth_resp_rx() 852 const u8 *trans_id, *version, *wrapped_data, *c_nonce, *e_nonce, in dpp_reconfig_auth_conf_rx() local 943 e_nonce = dpp_get_attr(unwrapped, unwrapped_len, in dpp_reconfig_auth_conf_rx() 945 if (!e_nonce || e_nonce_len != auth->curve->nonce_len || in dpp_reconfig_auth_conf_rx() [all …]
|
H A D | dpp.c | 798 if (random_get_bytes(auth->e_nonce, nonce_len)) { in dpp_build_conf_req_attr() 802 wpa_hexdump(MSG_DEBUG, "DPP: E-nonce", auth->e_nonce, nonce_len); in dpp_build_conf_req_attr() 839 wpabuf_put_data(clear, auth->e_nonce, nonce_len - 1); in dpp_build_conf_req_attr() 851 wpabuf_put_data(clear, auth->e_nonce, nonce_len); in dpp_build_conf_req_attr() 2033 dpp_build_conf_resp(struct dpp_authentication *auth, const u8 *e_nonce, in dpp_build_conf_resp() argument 2137 wpabuf_put_data(clear, e_nonce, e_nonce_len - 1); in dpp_build_conf_resp() 2138 wpabuf_put_u8(clear, e_nonce[e_nonce_len - 1] ^ 0x01); in dpp_build_conf_resp() 2150 wpabuf_put_data(clear, e_nonce, e_nonce_len); in dpp_build_conf_resp() 2280 const u8 *wrapped_data, *e_nonce, *config_attr; in dpp_conf_req_rx() local 2334 e_nonce = dpp_get_attr(unwrapped, unwrapped_len, in dpp_conf_req_rx() [all …]
|
H A D | dpp.h | 301 u8 e_nonce[DPP_MAX_NONCE_LEN]; member 632 dpp_build_conf_resp(struct dpp_authentication *auth, const u8 *e_nonce,
|
H A D | dpp_crypto.c | 1721 if (random_get_bytes(auth->e_nonce, auth->curve->nonce_len)) { in dpp_reconfig_derive_ke_responder() 1726 auth->e_nonce, auth->curve->nonce_len); in dpp_reconfig_derive_ke_responder() 1752 os_memcpy(&nonces[curve->nonce_len], auth->e_nonce, curve->nonce_len); in dpp_reconfig_derive_ke_responder() 1845 os_memcpy(&nonces[curve->nonce_len], auth->e_nonce, curve->nonce_len); in dpp_reconfig_derive_ke_initiator() 2446 addr[0] = auth->e_nonce; in dpp_derive_auth_i()
|
/freebsd/contrib/wpa/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 | 2198 static int wps_process_enrollee_nonce(struct wps_data *wps, const u8 *e_nonce) in wps_process_enrollee_nonce() argument 2200 if (e_nonce == NULL) { in wps_process_enrollee_nonce() 2205 os_memcpy(wps->nonce_e, e_nonce, WPS_NONCE_LEN); in wps_process_enrollee_nonce()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | dpp_supplicant.c | 4898 resp = dpp_build_conf_resp(auth, auth->e_nonce, auth->curve->nonce_len, in wpas_dpp_build_conf_resp()
|