Home
last modified time | relevance | path

Searched refs:r_nonce_len (Results 1 – 9 of 9) 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/common/
Ddpp_auth.c965 size_t r_nonce_len; in dpp_auth_build_conf() local
979 r_nonce_len = 4 + auth->curve->nonce_len; in dpp_auth_build_conf()
982 4 + i_auth_len + r_nonce_len + AES_BLOCK_SIZE; in dpp_auth_build_conf()
1099 wpabuf_put_le16(msg, r_nonce_len + AES_BLOCK_SIZE); in dpp_auth_build_conf()
1100 wrapped_r_nonce = wpabuf_put(msg, r_nonce_len + AES_BLOCK_SIZE); in dpp_auth_build_conf()
1107 r_nonce, r_nonce_len, in dpp_auth_build_conf()
1111 wrapped_r_nonce, r_nonce_len + AES_BLOCK_SIZE); in dpp_auth_build_conf()
1417 r_proto_len, r_nonce_len, i_nonce_len, r_capab_len, in dpp_auth_resp_rx() local
1609 &r_nonce_len); in dpp_auth_resp_rx()
1610 if (!r_nonce || r_nonce_len != auth->curve->nonce_len) { in dpp_auth_resp_rx()
[all …]
/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()
554 data->r_nonce, data->r_nonce_len, in ikev2_process_auth_secret()
948 wpabuf_put_data(msg, data->r_nonce, data->r_nonce_len); in ikev2_build_nr()
1080 data->r_nonce_len = IKEV2_NONCE_MIN_LEN; in ikev2_build_sa_init()
1081 if (random_get_bytes(data->r_nonce, data->r_nonce_len)) in ikev2_build_sa_init()
1083 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.c123 data->ikev2.r_nonce, data->ikev2.r_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()
501 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()
1070 data->r_nonce, data->r_nonce_len, in ikev2_build_auth()
Dikev2.h30 size_t r_nonce_len; member
Deap_server_ikev2.c339 data->ikev2.r_nonce, data->ikev2.r_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()
539 data->ikev2.r_nonce_len); in eap_ikev2_get_session_id()