Home
last modified time | relevance | path

Searched refs:i_nonce_len (Results 1 – 18 of 18) sorted by relevance

/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
30 nlen = i_nonce_len + r_nonce_len; in eap_ikev2_derive_keymat()
34 os_memcpy(nonces, i_nonce, i_nonce_len); in eap_ikev2_derive_keymat()
35 os_memcpy(nonces + i_nonce_len, r_nonce, r_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/src/eap_common/
Deap_ikev2_common.c19 const u8 *i_nonce, size_t i_nonce_len, in eap_ikev2_derive_keymat() argument
30 nlen = i_nonce_len + r_nonce_len; in eap_ikev2_derive_keymat()
34 os_memcpy(nonces, i_nonce, i_nonce_len); in eap_ikev2_derive_keymat()
35 os_memcpy(nonces + i_nonce_len, r_nonce, r_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/common/
Ddpp_auth.c682 u16 wrapped_data_len, i_proto_len, i_nonce_len, i_capab_len, in dpp_auth_req_rx() local
821 &i_nonce_len); in dpp_auth_req_rx()
822 if (!i_nonce || i_nonce_len != auth->curve->nonce_len) { in dpp_auth_req_rx()
826 wpa_hexdump(MSG_DEBUG, "DPP: I-nonce", i_nonce, i_nonce_len); in dpp_auth_req_rx()
827 os_memcpy(auth->i_nonce, i_nonce, i_nonce_len); in dpp_auth_req_rx()
1315 u16 i_nonce_len, r_capab_len; in dpp_auth_resp_rx_status() local
1358 &i_nonce_len); in dpp_auth_resp_rx_status()
1359 if (!i_nonce || i_nonce_len != auth->curve->nonce_len) { in dpp_auth_resp_rx_status()
1363 wpa_hexdump(MSG_DEBUG, "DPP: I-nonce", i_nonce, i_nonce_len); in dpp_auth_resp_rx_status()
1364 if (os_memcmp(auth->i_nonce, i_nonce, i_nonce_len) != 0) { in dpp_auth_resp_rx_status()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Dikev2.c64 buf_len = data->i_nonce_len + data->r_nonce_len + 2 * IKEV2_SPI_LEN; in ikev2_derive_keys()
72 os_memcpy(pos, data->i_nonce, data->i_nonce_len); in ikev2_derive_keys()
73 pos += data->i_nonce_len; in ikev2_derive_keys()
94 if (ikev2_prf_hash(prf->id, buf, data->i_nonce_len + data->r_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()
1096 data->i_nonce_len = IKEV2_NONCE_MIN_LEN; in ikev2_build_sa_init()
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()
529 sid_len = 1 + data->ikev2.i_nonce_len + data->ikev2.r_nonce_len; in eap_ikev2_get_session_id()
536 data->ikev2.i_nonce_len); in eap_ikev2_get_session_id()
537 offset += data->ikev2.i_nonce_len; in eap_ikev2_get_session_id()
Dikev2.h28 size_t i_nonce_len; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Dikev2.c64 buf_len = data->i_nonce_len + data->r_nonce_len + 2 * IKEV2_SPI_LEN; in ikev2_derive_keys()
72 os_memcpy(pos, data->i_nonce, data->i_nonce_len); in ikev2_derive_keys()
73 pos += data->i_nonce_len; in ikev2_derive_keys()
94 if (ikev2_prf_hash(prf->id, buf, data->i_nonce_len + data->r_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()
1096 data->i_nonce_len = IKEV2_NONCE_MIN_LEN; in ikev2_build_sa_init()
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()
529 sid_len = 1 + data->ikev2.i_nonce_len + data->ikev2.r_nonce_len; in eap_ikev2_get_session_id()
536 data->ikev2.i_nonce_len); in eap_ikev2_get_session_id()
537 offset += data->ikev2.i_nonce_len; in eap_ikev2_get_session_id()
Dikev2.h28 size_t i_nonce_len; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_ikev2.c122 data->ikev2.i_nonce, data->ikev2.i_nonce_len, in eap_ikev2_peer_keymat()
491 sid_len = 1 + data->ikev2.i_nonce_len + data->ikev2.r_nonce_len; in eap_ikev2_get_session_id()
498 data->ikev2.i_nonce_len); in eap_ikev2_get_session_id()
499 offset += data->ikev2.i_nonce_len; in eap_ikev2_get_session_id()
Dikev2.c60 buf_len = data->i_nonce_len + data->r_nonce_len + 2 * IKEV2_SPI_LEN; in ikev2_derive_keys()
68 os_memcpy(pos, data->i_nonce, data->i_nonce_len); in ikev2_derive_keys()
69 pos += data->i_nonce_len; in ikev2_derive_keys()
90 if (ikev2_prf_hash(prf->id, buf, data->i_nonce_len + data->r_nonce_len, in ikev2_derive_keys()
435 data->i_nonce_len = 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()
Dikev2.h29 size_t i_nonce_len; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_ikev2.c122 data->ikev2.i_nonce, data->ikev2.i_nonce_len, in eap_ikev2_peer_keymat()
491 sid_len = 1 + data->ikev2.i_nonce_len + data->ikev2.r_nonce_len; in eap_ikev2_get_session_id()
498 data->ikev2.i_nonce_len); in eap_ikev2_get_session_id()
499 offset += data->ikev2.i_nonce_len; in eap_ikev2_get_session_id()
Dikev2.c60 buf_len = data->i_nonce_len + data->r_nonce_len + 2 * IKEV2_SPI_LEN; in ikev2_derive_keys()
68 os_memcpy(pos, data->i_nonce, data->i_nonce_len); in ikev2_derive_keys()
69 pos += data->i_nonce_len; in ikev2_derive_keys()
90 if (ikev2_prf_hash(prf->id, buf, data->i_nonce_len + data->r_nonce_len, in ikev2_derive_keys()
433 data->i_nonce_len = 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()
Dikev2.h29 size_t i_nonce_len; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Ddpp.c3087 u16 wrapped_data_len, i_proto_len, i_nonce_len, i_capab_len, in dpp_auth_req_rx() local
3224 &i_nonce_len); in dpp_auth_req_rx()
3225 if (!i_nonce || i_nonce_len != auth->curve->nonce_len) { in dpp_auth_req_rx()
3229 wpa_hexdump(MSG_DEBUG, "DPP: I-nonce", i_nonce, i_nonce_len); in dpp_auth_req_rx()
3230 os_memcpy(auth->i_nonce, i_nonce, i_nonce_len); in dpp_auth_req_rx()
3549 u16 i_nonce_len, r_capab_len; in dpp_auth_resp_rx_status() local
3592 &i_nonce_len); in dpp_auth_resp_rx_status()
3593 if (!i_nonce || i_nonce_len != auth->curve->nonce_len) { in dpp_auth_resp_rx_status()
3597 wpa_hexdump(MSG_DEBUG, "DPP: I-nonce", i_nonce, i_nonce_len); in dpp_auth_resp_rx_status()
3598 if (os_memcmp(auth->i_nonce, i_nonce, i_nonce_len) != 0) { in dpp_auth_resp_rx_status()
[all …]