Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/eap_common/
Deap_ikev2_common.c20 const u8 *r_nonce, size_t r_nonce_len, in eap_ikev2_derive_keymat() argument
30 nlen = i_nonce_len + r_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.h22 const u8 *r_nonce, size_t r_nonce_len,
/external/wpa_supplicant_8/src/eap_peer/
Dikev2.c60 buf_len = data->i_nonce_len + data->r_nonce_len + 2 * IKEV2_SPI_LEN; in ikev2_derive_keys()
70 os_memcpy(pos, data->r_nonce, data->r_nonce_len); in ikev2_derive_keys()
71 pos += data->r_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()
553 data->r_nonce, data->r_nonce_len, in ikev2_process_auth_secret()
947 wpabuf_put_data(msg, data->r_nonce, data->r_nonce_len); in ikev2_build_nr()
1079 data->r_nonce_len = IKEV2_NONCE_MIN_LEN; in ikev2_build_sa_init()
1080 if (random_get_bytes(data->r_nonce, data->r_nonce_len)) in ikev2_build_sa_init()
1082 wpa_hexdump(MSG_DEBUG, "IKEV2: Nr", data->r_nonce, data->r_nonce_len); in ikev2_build_sa_init()
Dikev2.h31 size_t r_nonce_len; member
Deap_ikev2.c125 data->ikev2.r_nonce, data->ikev2.r_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()
503 data->ikev2.r_nonce_len); in eap_ikev2_get_session_id()
/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()
74 os_memcpy(pos, data->r_nonce, data->r_nonce_len); in ikev2_derive_keys()
75 pos += data->r_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()
437 data->r_nonce_len = nr_len; in ikev2_process_nr()
440 data->r_nonce, data->r_nonce_len); in ikev2_process_nr()
1071 data->r_nonce, data->r_nonce_len, in ikev2_build_auth()
Dikev2.h30 size_t r_nonce_len; member
Deap_server_ikev2.c340 data->ikev2.r_nonce, data->ikev2.r_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()
540 data->ikev2.r_nonce_len); in eap_ikev2_get_session_id()