/external/openssh/ |
D | auth2-gss.c | 264 gss_buffer_desc mic, gssbuf; in input_gssapi_mic() local 272 mic.value = packet_get_string(&len); in input_gssapi_mic() 273 mic.length = len; in input_gssapi_mic() 281 if (!GSS_ERROR(PRIVSEP(ssh_gssapi_checkmic(gssctxt, &gssbuf, &mic)))) in input_gssapi_mic() 287 xfree(mic.value); in input_gssapi_mic()
|
/external/wpa_supplicant_6/wpa_supplicant/src/common/ |
D | wpa_common.c | 47 u8 *mic) in wpa_eapol_key_mic() argument 53 hmac_md5(key, 16, buf, len, mic); in wpa_eapol_key_mic() 57 os_memcpy(mic, hash, MD5_MAC_LEN); in wpa_eapol_key_mic() 61 return omac1_aes_128(key, buf, len, mic); in wpa_eapol_key_mic() 139 const u8 *ric, size_t ric_len, u8 *mic) in wpa_ft_mic() argument 171 os_memset(_ftie->mic, 0, sizeof(_ftie->mic)); in wpa_ft_mic() 180 if (omac1_aes_128(kck, buf, pos - buf, mic)) { in wpa_ft_mic()
|
D | wpa_common.h | 274 u8 mic[16]; member 293 u8 *mic); 304 const u8 *ric, size_t ric_len, u8 *mic);
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
D | eap_gpsk_common.c | 377 const u8 *data, size_t len, u8 *mic) in eap_gpsk_compute_mic_aes() argument 385 return omac1_aes_128(sk, data, len, mic); in eap_gpsk_compute_mic_aes() 401 int specifier, const u8 *data, size_t len, u8 *mic) in eap_gpsk_compute_mic() argument 410 ret = eap_gpsk_compute_mic_aes(sk, sk_len, data, len, mic); in eap_gpsk_compute_mic() 414 hmac_sha256(sk, sk_len, data, len, mic); in eap_gpsk_compute_mic()
|
D | eap_gpsk_common.h | 64 int specifier, const u8 *data, size_t len, u8 *mic);
|
D | eap_sake_common.h | 98 const u8 *mic_pos, u8 *mic);
|
D | eap_sake_common.c | 327 const u8 *mic_pos, u8 *mic) in eap_sake_compute_mic() argument 376 mic, EAP_SAKE_MIC_LEN); in eap_sake_compute_mic()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_gpsk_common.c | 368 const u8 *data, size_t len, u8 *mic) in eap_gpsk_compute_mic_aes() argument 376 return omac1_aes_128(sk, data, len, mic); in eap_gpsk_compute_mic_aes() 392 int specifier, const u8 *data, size_t len, u8 *mic) in eap_gpsk_compute_mic() argument 401 ret = eap_gpsk_compute_mic_aes(sk, sk_len, data, len, mic); in eap_gpsk_compute_mic() 405 hmac_sha256(sk, sk_len, data, len, mic); in eap_gpsk_compute_mic()
|
D | eap_gpsk_common.h | 58 int specifier, const u8 *data, size_t len, u8 *mic);
|
D | eap_sake_common.h | 92 const u8 *mic_pos, u8 *mic);
|
D | eap_sake_common.c | 321 const u8 *mic_pos, u8 *mic) in eap_sake_compute_mic() argument 370 mic, EAP_SAKE_MIC_LEN); in eap_sake_compute_mic()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
D | eap_gpsk.c | 258 u8 mic[EAP_GPSK_MAX_MIC_LEN]; in eap_gpsk_process_gpsk_2() local 443 data->specifier, payload, pos - payload, mic) in eap_gpsk_process_gpsk_2() 449 if (os_memcmp(mic, pos, miclen) != 0) { in eap_gpsk_process_gpsk_2() 452 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Computed MIC", mic, miclen); in eap_gpsk_process_gpsk_2() 475 u8 mic[EAP_GPSK_MAX_MIC_LEN]; in eap_gpsk_process_gpsk_4() local 512 data->specifier, payload, pos - payload, mic) in eap_gpsk_process_gpsk_4() 518 if (os_memcmp(mic, pos, miclen) != 0) { in eap_gpsk_process_gpsk_4() 521 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Computed MIC", mic, miclen); in eap_gpsk_process_gpsk_4()
|
D | eap_sake.c | 205 u8 *mic; in eap_sake_build_confirm() local 219 mic = wpabuf_put(msg, EAP_SAKE_MIC_LEN); in eap_sake_build_confirm() 223 wpabuf_head(msg), wpabuf_len(msg), mic, mic)) in eap_sake_build_confirm()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_gpsk.c | 253 u8 mic[EAP_GPSK_MAX_MIC_LEN]; in eap_gpsk_process_gpsk_2() local 438 data->specifier, payload, pos - payload, mic) in eap_gpsk_process_gpsk_2() 444 if (os_memcmp(mic, pos, miclen) != 0) { in eap_gpsk_process_gpsk_2() 447 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Computed MIC", mic, miclen); in eap_gpsk_process_gpsk_2() 470 u8 mic[EAP_GPSK_MAX_MIC_LEN]; in eap_gpsk_process_gpsk_4() local 507 data->specifier, payload, pos - payload, mic) in eap_gpsk_process_gpsk_4() 513 if (os_memcmp(mic, pos, miclen) != 0) { in eap_gpsk_process_gpsk_4() 516 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Computed MIC", mic, miclen); in eap_gpsk_process_gpsk_4()
|
D | eap_server_sake.c | 200 u8 *mic; in eap_sake_build_confirm() local 214 mic = wpabuf_put(msg, EAP_SAKE_MIC_LEN); in eap_sake_build_confirm() 218 wpabuf_head(msg), wpabuf_len(msg), mic, mic)) in eap_sake_build_confirm()
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | tdls.c | 51 u8 mic[TDLS_MIC_LEN]; member 420 const u8 *ftie, u8 *mic) in wpa_tdls_ftie_mic() argument 456 os_memset(_ftie->mic, 0, TDLS_MIC_LEN); in wpa_tdls_ftie_mic() 461 ret = omac1_aes_128(kck, buf, pos - buf, mic); in wpa_tdls_ftie_mic() 463 wpa_hexdump(MSG_DEBUG, "TDLS: FTIE MIC", mic, 16); in wpa_tdls_ftie_mic() 482 const u8 *ftie, u8 *mic) in wpa_tdls_key_mic_teardown() argument 515 os_memset(_ftie->mic, 0, TDLS_MIC_LEN); in wpa_tdls_key_mic_teardown() 520 ret = omac1_aes_128(kck, buf, pos - buf, mic); in wpa_tdls_key_mic_teardown() 522 wpa_hexdump(MSG_DEBUG, "TDLS: FTIE MIC", mic, 16); in wpa_tdls_key_mic_teardown() 532 u8 mic[16]; in wpa_supplicant_verify_tdls_mic() local [all …]
|
D | wpa_ft.c | 305 ric_ies_len, ftie->mic) < 0) { in wpa_ft_gen_req_ies() 689 u8 mic[16]; in wpa_ft_validate_reassoc_resp() local 786 mic) < 0) { in wpa_ft_validate_reassoc_resp() 791 if (os_memcmp(mic, ftie->mic, 16) != 0) { in wpa_ft_validate_reassoc_resp() 793 wpa_hexdump(MSG_MSGDUMP, "FT: Received MIC", ftie->mic, 16); in wpa_ft_validate_reassoc_resp() 794 wpa_hexdump(MSG_MSGDUMP, "FT: Calculated MIC", mic, 16); in wpa_ft_validate_reassoc_resp()
|
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
D | wpa_ft.c | 261 ftie->mic) < 0) { in wpa_ft_gen_req_ies() 739 u8 mic[16]; in wpa_ft_validate_reassoc_resp() local 817 mic) < 0) { in wpa_ft_validate_reassoc_resp() 822 if (os_memcmp(mic, ftie->mic, 16) != 0) { in wpa_ft_validate_reassoc_resp() 824 wpa_hexdump(MSG_MSGDUMP, "FT: Received MIC", ftie->mic, 16); in wpa_ft_validate_reassoc_resp() 825 wpa_hexdump(MSG_MSGDUMP, "FT: Calculated MIC", mic, 16); in wpa_ft_validate_reassoc_resp()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_common.c | 41 u8 *mic) in wpa_eapol_key_mic() argument 47 return hmac_md5(key, 16, buf, len, mic); in wpa_eapol_key_mic() 51 os_memcpy(mic, hash, MD5_MAC_LEN); in wpa_eapol_key_mic() 55 return omac1_aes_128(key, buf, len, mic); in wpa_eapol_key_mic() 135 const u8 *ric, size_t ric_len, u8 *mic) in wpa_ft_mic() argument 167 os_memset(_ftie->mic, 0, sizeof(_ftie->mic)); in wpa_ft_mic() 176 if (omac1_aes_128(kck, buf, pos - buf, mic)) { in wpa_ft_mic()
|
D | wpa_common.h | 276 u8 mic[16]; member 301 u8 *mic); 312 const u8 *ric, size_t ric_len, u8 *mic);
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_bsd.c | 734 struct ieee80211_michael_event *mic; in bsd_wireless_event_receive() local 788 mic = (struct ieee80211_michael_event *) &ifan[1]; in bsd_wireless_event_receive() 791 "keyix=%u src_addr=" MACSTR, mic->iev_keyix, in bsd_wireless_event_receive() 792 MAC2STR(mic->iev_src)); in bsd_wireless_event_receive() 795 data.michael_mic_failure.src = mic->iev_src; in bsd_wireless_event_receive() 1172 struct ieee80211_michael_event *mic; in wpa_driver_bsd_event_receive() local 1258 mic = (struct ieee80211_michael_event *) &ifan[1]; in wpa_driver_bsd_event_receive() 1261 "keyix=%u src_addr=" MACSTR, mic->iev_keyix, in wpa_driver_bsd_event_receive() 1262 MAC2STR(mic->iev_src)); in wpa_driver_bsd_event_receive() 1266 !IEEE80211_IS_MULTICAST(mic->iev_dst); in wpa_driver_bsd_event_receive()
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
D | driver_bsd.c | 468 struct ieee80211_michael_event *mic; in wpa_driver_bsd_event_receive() local 523 mic = (struct ieee80211_michael_event *) &ifan[1]; in wpa_driver_bsd_event_receive() 526 "keyix=%u src_addr=" MACSTR, mic->iev_keyix, in wpa_driver_bsd_event_receive() 527 MAC2STR(mic->iev_src)); in wpa_driver_bsd_event_receive() 531 !IEEE80211_IS_MULTICAST(mic->iev_dst); in wpa_driver_bsd_event_receive()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_gpsk.c | 513 u8 mic[EAP_GPSK_MAX_MIC_LEN]; in eap_gpsk_validate_gpsk_3_mic() local 527 data->specifier, payload, pos - payload, mic) in eap_gpsk_validate_gpsk_3_mic() 532 if (os_memcmp(mic, pos, miclen) != 0) { in eap_gpsk_validate_gpsk_3_mic() 535 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Computed MIC", mic, miclen); in eap_gpsk_validate_gpsk_3_mic()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
D | eap_gpsk.c | 518 u8 mic[EAP_GPSK_MAX_MIC_LEN]; in eap_gpsk_validate_gpsk_3_mic() local 532 data->specifier, payload, pos - payload, mic) in eap_gpsk_validate_gpsk_3_mic() 537 if (os_memcmp(mic, pos, miclen) != 0) { in eap_gpsk_validate_gpsk_3_mic() 540 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Computed MIC", mic, miclen); in eap_gpsk_validate_gpsk_3_mic()
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth_ft.c | 695 _ftie->mic) < 0) in wpa_sm_write_assoc_resp_ies() 939 u8 mic[16]; in wpa_ft_validate_reassoc() local 1057 mic) < 0) { in wpa_ft_validate_reassoc() 1062 if (os_memcmp(mic, ftie->mic, 16) != 0) { in wpa_ft_validate_reassoc() 1064 wpa_hexdump(MSG_MSGDUMP, "FT: Received MIC", ftie->mic, 16); in wpa_ft_validate_reassoc() 1065 wpa_hexdump(MSG_MSGDUMP, "FT: Calculated MIC", mic, 16); in wpa_ft_validate_reassoc()
|