Home
last modified time | relevance | path

Searched refs:i_nonce (Results 1 – 21 of 21) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Ddpp_auth.c154 os_memcpy(pos, auth->i_nonce, nonce_len - 1); in dpp_auth_build_req()
165 os_memcpy(pos, auth->i_nonce, nonce_len); in dpp_auth_build_req()
239 const u8 *r_nonce, const u8 *i_nonce, in dpp_auth_build_resp() argument
321 if (i_nonce) { in dpp_auth_build_resp()
327 os_memcpy(pos, i_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
530 i_nonce = auth->i_nonce; in dpp_auth_build_resp_ok()
582 i_nonce = NULL; in dpp_auth_build_resp_ok()
588 r_nonce, i_nonce, in dpp_auth_build_resp_ok()
606 const u8 *r_pubkey_hash, *i_pubkey_hash, *i_nonce; in dpp_auth_build_resp_status() local
[all …]
Ddpp_crypto.c441 os_memcpy(nonces, auth->i_nonce, nonce_len); in dpp_derive_bk_ke()
902 addr[num_elem] = auth->i_nonce; in dpp_gen_r_auth()
993 addr[num_elem] = auth->i_nonce; in dpp_gen_i_auth()
Ddpp.h265 u8 i_nonce[DPP_MAX_NONCE_LEN]; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
Deap_ikev2_common.c19 const u8 *i_nonce, size_t i_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()
34 os_memcpy(nonces, i_nonce, i_nonce_len); in eap_ikev2_derive_keymat()
Deap_ikev2_common.h21 const u8 *i_nonce, size_t i_nonce_len,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
Deap_ikev2_common.c19 const u8 *i_nonce, size_t i_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()
34 os_memcpy(nonces, i_nonce, i_nonce_len); in eap_ikev2_derive_keymat()
Deap_ikev2_common.h21 const u8 *i_nonce, size_t i_nonce_len,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Dikev2.h28 u8 i_nonce[IKEV2_NONCE_MAX_LEN]; member
Dikev2.c68 os_memcpy(pos, data->i_nonce, data->i_nonce_len); in ikev2_derive_keys()
436 os_memcpy(data->i_nonce, ni, ni_len); in ikev2_process_ni()
438 data->i_nonce, data->i_nonce_len); in ikev2_process_ni()
1006 data->i_nonce, data->i_nonce_len, in ikev2_build_auth()
Deap_ikev2.c122 data->ikev2.i_nonce, data->ikev2.i_nonce_len, in eap_ikev2_peer_keymat()
497 os_memcpy(sid + offset, data->ikev2.i_nonce, in eap_ikev2_get_session_id()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Dikev2.h28 u8 i_nonce[IKEV2_NONCE_MAX_LEN]; member
Dikev2.c68 os_memcpy(pos, data->i_nonce, data->i_nonce_len); in ikev2_derive_keys()
434 os_memcpy(data->i_nonce, ni, ni_len); in ikev2_process_ni()
436 data->i_nonce, data->i_nonce_len); in ikev2_process_ni()
1004 data->i_nonce, data->i_nonce_len, in ikev2_build_auth()
Deap_ikev2.c122 data->ikev2.i_nonce, data->ikev2.i_nonce_len, in eap_ikev2_peer_keymat()
497 os_memcpy(sid + offset, data->ikev2.i_nonce, in eap_ikev2_get_session_id()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Dikev2.h27 u8 i_nonce[IKEV2_NONCE_MAX_LEN]; member
Dikev2.c72 os_memcpy(pos, data->i_nonce, data->i_nonce_len); in ikev2_derive_keys()
620 data->i_nonce, data->i_nonce_len, in ikev2_process_auth_secret()
1012 wpabuf_put_data(msg, data->i_nonce, data->i_nonce_len); in ikev2_build_ni()
1097 if (random_get_bytes(data->i_nonce, data->i_nonce_len)) in ikev2_build_sa_init()
1099 wpa_hexdump(MSG_DEBUG, "IKEV2: Ni", data->i_nonce, data->i_nonce_len); in ikev2_build_sa_init()
Deap_server_ikev2.c338 data->ikev2.i_nonce, data->ikev2.i_nonce_len, in eap_ikev2_server_keymat()
535 os_memcpy(sid + offset, data->ikev2.i_nonce, in eap_ikev2_get_session_id()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Dikev2.h27 u8 i_nonce[IKEV2_NONCE_MAX_LEN]; member
Dikev2.c72 os_memcpy(pos, data->i_nonce, data->i_nonce_len); in ikev2_derive_keys()
620 data->i_nonce, data->i_nonce_len, in ikev2_process_auth_secret()
1012 wpabuf_put_data(msg, data->i_nonce, data->i_nonce_len); in ikev2_build_ni()
1097 if (random_get_bytes(data->i_nonce, data->i_nonce_len)) in ikev2_build_sa_init()
1099 wpa_hexdump(MSG_DEBUG, "IKEV2: Ni", data->i_nonce, data->i_nonce_len); in ikev2_build_sa_init()
Deap_server_ikev2.c338 data->ikev2.i_nonce, data->ikev2.i_nonce_len, in eap_ikev2_server_keymat()
535 os_memcpy(sid + offset, data->ikev2.i_nonce, in eap_ikev2_get_session_id()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Ddpp.c1598 os_memcpy(nonces, auth->i_nonce, nonce_len); in dpp_derive_ke()
1762 os_memcpy(pos, auth->i_nonce, nonce_len - 1); in dpp_auth_build_req()
1773 os_memcpy(pos, auth->i_nonce, nonce_len); in dpp_auth_build_req()
1847 const u8 *r_nonce, const u8 *i_nonce, in dpp_auth_build_resp() argument
1926 if (i_nonce) { in dpp_auth_build_resp()
1932 os_memcpy(pos, i_nonce, nonce_len); in dpp_auth_build_resp()
2257 os_memcpy(auth->i_nonce, dpp_nonce_override, nonce_len); in dpp_auth_init()
2260 if (random_get_bytes(auth->i_nonce, nonce_len)) { in dpp_auth_init()
2268 if (random_get_bytes(auth->i_nonce, nonce_len)) { in dpp_auth_init()
2273 wpa_hexdump(MSG_DEBUG, "DPP: I-nonce", auth->i_nonce, nonce_len); in dpp_auth_init()
[all …]
Ddpp.h189 u8 i_nonce[DPP_MAX_NONCE_LEN]; member