Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/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,
/external/wpa_supplicant_8/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()
621 data->i_nonce, data->i_nonce_len, in ikev2_process_auth_secret()
1013 wpabuf_put_data(msg, data->i_nonce, data->i_nonce_len); in ikev2_build_ni()
1097 data->i_nonce_len = IKEV2_NONCE_MIN_LEN; in ikev2_build_sa_init()
1098 if (random_get_bytes(data->i_nonce, data->i_nonce_len)) in ikev2_build_sa_init()
1100 wpa_hexdump(MSG_DEBUG, "IKEV2: Ni", data->i_nonce, data->i_nonce_len); in ikev2_build_sa_init()
Deap_server_ikev2.c339 data->ikev2.i_nonce, data->ikev2.i_nonce_len, in eap_ikev2_server_keymat()
530 sid_len = 1 + data->ikev2.i_nonce_len + data->ikev2.r_nonce_len; in eap_ikev2_get_session_id()
537 data->ikev2.i_nonce_len); in eap_ikev2_get_session_id()
538 offset += data->ikev2.i_nonce_len; in eap_ikev2_get_session_id()
Dikev2.h28 size_t i_nonce_len; member
/external/wpa_supplicant_8/src/eap_peer/
Deap_ikev2.c124 data->ikev2.i_nonce, data->ikev2.i_nonce_len, in eap_ikev2_peer_keymat()
493 sid_len = 1 + data->ikev2.i_nonce_len + data->ikev2.r_nonce_len; in eap_ikev2_get_session_id()
500 data->ikev2.i_nonce_len); in eap_ikev2_get_session_id()
501 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()
1005 data->i_nonce, data->i_nonce_len, in ikev2_build_auth()
Dikev2.h29 size_t i_nonce_len; member