Home
last modified time | relevance | path

Searched refs:r_nonce (Results 1 – 10 of 10) 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
27 if (keys->SK_d == NULL || i_nonce == NULL || r_nonce == NULL) 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.h30 u8 r_nonce[IKEV2_NONCE_MAX_LEN]; member
Dikev2.c70 os_memcpy(pos, data->r_nonce, 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()
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()
Deap_ikev2.c125 data->ikev2.r_nonce, data->ikev2.r_nonce_len, in eap_ikev2_peer_keymat()
502 os_memcpy(sid + offset, data->ikev2.r_nonce, in eap_ikev2_get_session_id()
/external/wpa_supplicant_8/src/eap_server/
Dikev2.h29 u8 r_nonce[IKEV2_NONCE_MAX_LEN]; member
Dikev2.c74 os_memcpy(pos, data->r_nonce, data->r_nonce_len); in ikev2_derive_keys()
438 os_memcpy(data->r_nonce, nr, 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()
Deap_server_ikev2.c340 data->ikev2.r_nonce, data->ikev2.r_nonce_len, in eap_ikev2_server_keymat()
539 os_memcpy(sid + offset, data->ikev2.r_nonce, in eap_ikev2_get_session_id()
/external/wpa_supplicant_8/src/wps/
Dwps_enrollee.c508 static int wps_process_registrar_nonce(struct wps_data *wps, const u8 *r_nonce) in wps_process_registrar_nonce() argument
510 if (r_nonce == NULL) { in wps_process_registrar_nonce()
515 os_memcpy(wps->nonce_r, r_nonce, WPS_NONCE_LEN); in wps_process_registrar_nonce()
Dwps_registrar.c2148 static int wps_process_registrar_nonce(struct wps_data *wps, const u8 *r_nonce) in wps_process_registrar_nonce() argument
2150 if (r_nonce == NULL) { in wps_process_registrar_nonce()
2155 if (os_memcmp(wps->nonce_r, r_nonce, WPS_NONCE_LEN) != 0) { in wps_process_registrar_nonce()