Searched refs:i_nonce_len (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/wpa/src/eap_common/ |
H A D | eap_ikev2_common.c | 19 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()
|
H A D | eap_ikev2_common.h | 21 const u8 *i_nonce, size_t i_nonce_len,
|
/freebsd/contrib/wpa/src/common/ |
H A D | dpp_auth.c | 682 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 …]
|
/freebsd/contrib/wpa/src/eap_server/ |
H A D | ikev2.c | 64 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()
|
H A D | eap_server_ikev2.c | 338 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()
|
H A D | ikev2.h | 28 size_t i_nonce_len; member
|
/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap_ikev2.c | 122 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()
|
H A D | ikev2.c | 60 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()
|
H A D | ikev2.h | 29 size_t i_nonce_len; member
|