Home
last modified time | relevance | path

Searched refs:mic (Results 1 – 25 of 96) sorted by relevance

1234

/external/eigen/bench/btl/data/
Dmean.cxx41 …Lib_Mean(const string & name, const double & mic, const double & moc):_lib_name(name),_mean_in_cac… in Lib_Mean() argument
87 double mic=0; in main() local
97 mic=mean_calc(tab_sizes,tab_mflops,min_in_cache,max_in_cache); in main()
100 Lib_Mean cur_lib_mean(filename,mic,moc); in main()
/external/openssh/
Dauth2-gss.c264 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/
Dwpa_common.c47 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()
Dwpa_common.h274 u8 mic[16]; member
293 u8 *mic);
304 const u8 *ric, size_t ric_len, u8 *mic);
/external/wpa_supplicant_8/src/eap_common/
Deap_gpsk_common.c368 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()
Deap_gpsk_common.h58 int specifier, const u8 *data, size_t len, u8 *mic);
Deap_sake_common.h92 const u8 *mic_pos, u8 *mic);
Deap_sake_common.c321 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_common/
Deap_gpsk_common.c377 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()
Deap_gpsk_common.h64 int specifier, const u8 *data, size_t len, u8 *mic);
Deap_sake_common.h98 const u8 *mic_pos, u8 *mic);
Deap_sake_common.c327 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_server/
Deap_server_gpsk.c253 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()
Deap_server_sake.c200 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_6/wpa_supplicant/src/eap_server/
Deap_gpsk.c258 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()
Deap_sake.c205 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/rsn_supp/
Dtdls.c51 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 …]
Dwpa_ft.c303 ric_ies_len, ftie->mic) < 0) { in wpa_ft_gen_req_ies()
663 u8 mic[16]; in wpa_ft_validate_reassoc_resp() local
760 mic) < 0) { in wpa_ft_validate_reassoc_resp()
765 if (os_memcmp(mic, ftie->mic, 16) != 0) { in wpa_ft_validate_reassoc_resp()
767 wpa_hexdump(MSG_MSGDUMP, "FT: Received MIC", ftie->mic, 16); in wpa_ft_validate_reassoc_resp()
768 wpa_hexdump(MSG_MSGDUMP, "FT: Calculated MIC", mic, 16); in wpa_ft_validate_reassoc_resp()
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/
Dwpa_ft.c261 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/
Dwpa_common.c41 u8 *mic) in wpa_eapol_key_mic() argument
48 return hmac_md5(key, 16, buf, len, mic); in wpa_eapol_key_mic()
53 os_memcpy(mic, hash, MD5_MAC_LEN); in wpa_eapol_key_mic()
57 return omac1_aes_128(key, buf, len, mic); in wpa_eapol_key_mic()
137 const u8 *ric, size_t ric_len, u8 *mic) in wpa_ft_mic() argument
169 os_memset(_ftie->mic, 0, sizeof(_ftie->mic)); in wpa_ft_mic()
178 if (omac1_aes_128(kck, buf, pos - buf, mic)) { in wpa_ft_mic()
Dwpa_common.h280 u8 mic[16]; member
305 u8 *mic);
316 const u8 *ric, size_t ric_len, u8 *mic);
/external/wpa_supplicant_8/src/drivers/
Ddriver_bsd.c728 struct ieee80211_michael_event *mic; in bsd_wireless_event_receive() local
782 mic = (struct ieee80211_michael_event *) &ifan[1]; in bsd_wireless_event_receive()
785 "keyix=%u src_addr=" MACSTR, mic->iev_keyix, in bsd_wireless_event_receive()
786 MAC2STR(mic->iev_src)); in bsd_wireless_event_receive()
789 data.michael_mic_failure.src = mic->iev_src; in bsd_wireless_event_receive()
1166 struct ieee80211_michael_event *mic; in wpa_driver_bsd_event_receive() local
1252 mic = (struct ieee80211_michael_event *) &ifan[1]; in wpa_driver_bsd_event_receive()
1255 "keyix=%u src_addr=" MACSTR, mic->iev_keyix, in wpa_driver_bsd_event_receive()
1256 MAC2STR(mic->iev_src)); in wpa_driver_bsd_event_receive()
1260 !IEEE80211_IS_MULTICAST(mic->iev_dst); in wpa_driver_bsd_event_receive()
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_bsd.c468 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/
Deap_gpsk.c513 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/
Deap_gpsk.c518 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()

1234