/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | dpp_auth.c | 239 const u8 *r_nonce, const u8 *i_nonce, in dpp_auth_build_resp() argument 311 if (r_nonce) { in dpp_auth_build_resp() 317 os_memcpy(pos, r_nonce, nonce_len); in dpp_auth_build_resp() 427 const u8 *r_pubkey_hash, *i_pubkey_hash, *r_nonce, *i_nonce; in dpp_auth_build_resp_ok() local 441 os_memcpy(auth->r_nonce, dpp_nonce_override, nonce_len); in dpp_auth_build_resp_ok() 444 if (random_get_bytes(auth->r_nonce, nonce_len)) { in dpp_auth_build_resp_ok() 452 if (random_get_bytes(auth->r_nonce, nonce_len)) { in dpp_auth_build_resp_ok() 457 wpa_hexdump(MSG_DEBUG, "DPP: R-nonce", auth->r_nonce, nonce_len); in dpp_auth_build_resp_ok() 531 r_nonce = auth->r_nonce; in dpp_auth_build_resp_ok() 579 r_nonce = NULL; in dpp_auth_build_resp_ok() [all …]
|
D | dpp_crypto.c | 442 os_memcpy(&nonces[nonce_len], auth->r_nonce, nonce_len); in dpp_derive_bk_ke() 906 addr[num_elem] = auth->r_nonce; in dpp_gen_r_auth() 989 addr[num_elem] = auth->r_nonce; in dpp_gen_i_auth()
|
D | dpp.h | 266 u8 r_nonce[DPP_MAX_NONCE_LEN]; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
D | eap_ikev2_common.c | 20 const u8 *r_nonce, size_t r_nonce_len, in eap_ikev2_derive_keymat() argument 27 if (keys->SK_d == NULL || i_nonce == NULL || r_nonce == NULL) in eap_ikev2_derive_keymat() 35 os_memcpy(nonces + i_nonce_len, r_nonce, r_nonce_len); in eap_ikev2_derive_keymat()
|
D | eap_ikev2_common.h | 22 const u8 *r_nonce, size_t r_nonce_len,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
D | eap_ikev2_common.c | 20 const u8 *r_nonce, size_t r_nonce_len, in eap_ikev2_derive_keymat() argument 27 if (keys->SK_d == NULL || i_nonce == NULL || r_nonce == NULL) in eap_ikev2_derive_keymat() 35 os_memcpy(nonces + i_nonce_len, r_nonce, r_nonce_len); in eap_ikev2_derive_keymat()
|
D | eap_ikev2_common.h | 22 const u8 *r_nonce, size_t r_nonce_len,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
D | ikev2.h | 30 u8 r_nonce[IKEV2_NONCE_MAX_LEN]; member
|
D | ikev2.c | 70 os_memcpy(pos, data->r_nonce, data->r_nonce_len); in ikev2_derive_keys() 554 data->r_nonce, data->r_nonce_len, in ikev2_process_auth_secret() 948 wpabuf_put_data(msg, data->r_nonce, data->r_nonce_len); in ikev2_build_nr() 1081 if (random_get_bytes(data->r_nonce, data->r_nonce_len)) in ikev2_build_sa_init() 1083 wpa_hexdump(MSG_DEBUG, "IKEV2: Nr", data->r_nonce, data->r_nonce_len); in ikev2_build_sa_init()
|
D | eap_ikev2.c | 123 data->ikev2.r_nonce, data->ikev2.r_nonce_len, in eap_ikev2_peer_keymat() 500 os_memcpy(sid + offset, data->ikev2.r_nonce, in eap_ikev2_get_session_id()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
D | ikev2.h | 30 u8 r_nonce[IKEV2_NONCE_MAX_LEN]; member
|
D | ikev2.c | 70 os_memcpy(pos, data->r_nonce, data->r_nonce_len); in ikev2_derive_keys() 552 data->r_nonce, data->r_nonce_len, in ikev2_process_auth_secret() 946 wpabuf_put_data(msg, data->r_nonce, data->r_nonce_len); in ikev2_build_nr() 1079 if (random_get_bytes(data->r_nonce, data->r_nonce_len)) in ikev2_build_sa_init() 1081 wpa_hexdump(MSG_DEBUG, "IKEV2: Nr", data->r_nonce, data->r_nonce_len); in ikev2_build_sa_init()
|
D | eap_ikev2.c | 123 data->ikev2.r_nonce, data->ikev2.r_nonce_len, in eap_ikev2_peer_keymat() 500 os_memcpy(sid + offset, data->ikev2.r_nonce, in eap_ikev2_get_session_id()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
D | ikev2.h | 29 u8 r_nonce[IKEV2_NONCE_MAX_LEN]; member
|
D | ikev2.c | 74 os_memcpy(pos, data->r_nonce, data->r_nonce_len); in ikev2_derive_keys() 438 os_memcpy(data->r_nonce, nr, nr_len); in ikev2_process_nr() 440 data->r_nonce, data->r_nonce_len); in ikev2_process_nr() 1070 data->r_nonce, data->r_nonce_len, in ikev2_build_auth()
|
D | eap_server_ikev2.c | 339 data->ikev2.r_nonce, data->ikev2.r_nonce_len, in eap_ikev2_server_keymat() 538 os_memcpy(sid + offset, data->ikev2.r_nonce, in eap_ikev2_get_session_id()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
D | ikev2.h | 29 u8 r_nonce[IKEV2_NONCE_MAX_LEN]; member
|
D | ikev2.c | 74 os_memcpy(pos, data->r_nonce, data->r_nonce_len); in ikev2_derive_keys() 438 os_memcpy(data->r_nonce, nr, nr_len); in ikev2_process_nr() 440 data->r_nonce, data->r_nonce_len); in ikev2_process_nr() 1070 data->r_nonce, data->r_nonce_len, in ikev2_build_auth()
|
D | eap_server_ikev2.c | 339 data->ikev2.r_nonce, data->ikev2.r_nonce_len, in eap_ikev2_server_keymat() 538 os_memcpy(sid + offset, data->ikev2.r_nonce, in eap_ikev2_get_session_id()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | dpp.c | 1599 os_memcpy(&nonces[nonce_len], auth->r_nonce, nonce_len); in dpp_derive_ke() 1847 const u8 *r_nonce, const u8 *i_nonce, in dpp_auth_build_resp() argument 1916 if (r_nonce) { in dpp_auth_build_resp() 1922 os_memcpy(pos, r_nonce, nonce_len); in dpp_auth_build_resp() 2569 addr[num_elem] = auth->r_nonce; in dpp_gen_r_auth() 2648 addr[num_elem] = auth->r_nonce; in dpp_gen_i_auth() 2831 const u8 *r_pubkey_hash, *i_pubkey_hash, *r_nonce, *i_nonce; in dpp_auth_build_resp_ok() local 2845 os_memcpy(auth->r_nonce, dpp_nonce_override, nonce_len); in dpp_auth_build_resp_ok() 2848 if (random_get_bytes(auth->r_nonce, nonce_len)) { in dpp_auth_build_resp_ok() 2856 if (random_get_bytes(auth->r_nonce, nonce_len)) { in dpp_auth_build_resp_ok() [all …]
|
D | dpp.h | 190 u8 r_nonce[DPP_MAX_NONCE_LEN]; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_enrollee.c | 513 static int wps_process_registrar_nonce(struct wps_data *wps, const u8 *r_nonce) in wps_process_registrar_nonce() argument 515 if (r_nonce == NULL) { in wps_process_registrar_nonce() 520 os_memcpy(wps->nonce_r, r_nonce, WPS_NONCE_LEN); in wps_process_registrar_nonce()
|
D | wps_registrar.c | 2214 static int wps_process_registrar_nonce(struct wps_data *wps, const u8 *r_nonce) in wps_process_registrar_nonce() argument 2216 if (r_nonce == NULL) { in wps_process_registrar_nonce() 2221 if (os_memcmp(wps->nonce_r, r_nonce, WPS_NONCE_LEN) != 0) { in wps_process_registrar_nonce()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_enrollee.c | 513 static int wps_process_registrar_nonce(struct wps_data *wps, const u8 *r_nonce) in wps_process_registrar_nonce() argument 515 if (r_nonce == NULL) { in wps_process_registrar_nonce() 520 os_memcpy(wps->nonce_r, r_nonce, WPS_NONCE_LEN); in wps_process_registrar_nonce()
|
D | wps_registrar.c | 2223 static int wps_process_registrar_nonce(struct wps_data *wps, const u8 *r_nonce) in wps_process_registrar_nonce() argument 2225 if (r_nonce == NULL) { in wps_process_registrar_nonce() 2230 if (os_memcmp(wps->nonce_r, r_nonce, WPS_NONCE_LEN) != 0) { in wps_process_registrar_nonce()
|