Searched refs:e_nonce (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12-stable/contrib/wpa/src/common/ |
| 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 = dpp_get_attr(unwrapped, unwrapped_len, in dpp_reconfig_auth_conf_rx() 929 if (!e_nonce || e_nonce_len != auth->curve->nonce_len || in dpp_reconfig_auth_conf_rx() [all …]
|
| 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 = dpp_get_attr(unwrapped, unwrapped_len, in dpp_conf_req_rx() [all …]
|
| 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,
|
| 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()
|
| /freebsd-12-stable/contrib/wpa/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 | 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()
|
| /freebsd-12-stable/contrib/wpa/wpa_supplicant/ |
| D | dpp_supplicant.c | 3894 resp = dpp_build_conf_resp(auth, auth->e_nonce, auth->curve->nonce_len, in wpas_dpp_build_conf_resp()
|