Home
last modified time | relevance | path

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

1234567

/external/syslinux/gpxe/src/net/80211/
Dwpa_tkip.c321 const void *data, size_t len, void *mic ) in tkip_michael() argument
364 memcpy ( mic, V, sizeof ( V ) ); in tkip_michael()
383 u8 mic[8]; in tkip_encrypt() local
419 tkip_michael ( &ctx->tk.mic.tx, hdr->addr3, hdr->addr2, in tkip_encrypt()
420 iob->data + hdrlen, datalen, mic ); in tkip_encrypt()
421 cipher_encrypt ( &arc4_algorithm, &arc4, mic, in tkip_encrypt()
422 iob_put ( eiob, sizeof ( mic ) ), sizeof ( mic ) ); in tkip_encrypt()
426 icv = crc32_le ( icv, mic, sizeof ( mic ) ); in tkip_encrypt()
456 u8 mic[8]; in tkip_decrypt() local
508 tkip_michael ( &ctx->tk.mic.rx, hdr->addr1, hdr->addr3, in tkip_decrypt()
[all …]
Dwpa_ccmp.c261 const void *aad, void *mic ) in ccmp_cbc_mac() argument
307 memcpy ( mic, X, 8 ); in ccmp_cbc_mac()
329 u8 mic[8], tx_pn[6]; in ccmp_encrypt() local
363 ccmp_cbc_mac ( ctx, &nonce, iob->data + hdrlen, datalen, &aad, mic ); in ccmp_encrypt()
370 mic, emic ); in ccmp_encrypt()
477 void *mic ) in ccmp_kie_mic() argument
490 memcpy ( mic, hash, 16 ); in ccmp_kie_mic()
526 .mic = ccmp_kie_mic,
Dwpa.c489 memset ( pkt->mic, 0, sizeof ( pkt->mic ) ); in wpa_send_eapol()
491 kie->mic ( &ctx->ptk.kck, eapol, EAPOL_HDR_LEN + in wpa_send_eapol()
493 pkt->mic ); in wpa_send_eapol()
898 memcpy ( their_mic, pkt->mic, sizeof ( pkt->mic ) ); in eapol_key_rx()
899 memset ( pkt->mic, 0, sizeof ( pkt->mic ) ); in eapol_key_rx()
900 kie->mic ( &ctx->ptk.kck, ( void * ) pkt - EAPOL_HDR_LEN, in eapol_key_rx()
906 if ( memcmp ( their_mic, our_mic, sizeof ( pkt->mic ) ) != 0 ) { in eapol_key_rx()
/external/wpa_supplicant_8/src/rsn_supp/
Dpeerkey.c69 u8 *rbuf, *pos, *mic; in wpa_supplicant_send_smk_error() local
82 mic = (u8 *) (err + 1); in wpa_supplicant_send_smk_error()
94 WPA_PUT_BE16(mic + mic_len, (u16) kde_len); in wpa_supplicant_send_smk_error()
95 pos = mic + mic_len + 2; in wpa_supplicant_send_smk_error()
117 mic); in wpa_supplicant_send_smk_error()
130 u8 *rbuf, *pos, *mic; in wpa_supplicant_send_smk_m3() local
155 mic = (u8 *) (reply + 1); in wpa_supplicant_send_smk_m3()
156 WPA_PUT_BE16(mic + mic_len, (u16) kde_len); in wpa_supplicant_send_smk_m3()
157 pos = mic + mic_len + 2; in wpa_supplicant_send_smk_m3()
170 mic); in wpa_supplicant_send_smk_m3()
[all …]
Dtdls.c55 u8 mic[TDLS_MIC_LEN]; member
457 const u8 *ftie, u8 *mic) in wpa_tdls_ftie_mic() argument
493 os_memset(_ftie->mic, 0, TDLS_MIC_LEN); in wpa_tdls_ftie_mic()
498 ret = omac1_aes_128(kck, buf, pos - buf, mic); in wpa_tdls_ftie_mic()
500 wpa_hexdump(MSG_DEBUG, "TDLS: FTIE MIC", mic, 16); in wpa_tdls_ftie_mic()
519 const u8 *ftie, u8 *mic) in wpa_tdls_key_mic_teardown() argument
552 os_memset(_ftie->mic, 0, TDLS_MIC_LEN); in wpa_tdls_key_mic_teardown()
557 ret = omac1_aes_128(kck, buf, pos - buf, mic); in wpa_tdls_key_mic_teardown()
559 wpa_hexdump(MSG_DEBUG, "TDLS: FTIE MIC", mic, 16); in wpa_tdls_key_mic_teardown()
569 u8 mic[16]; in wpa_supplicant_verify_tdls_mic() local
[all …]
Dwpa_ft.c300 ric_ies_len, ftie->mic) < 0) { in wpa_ft_gen_req_ies()
674 u8 mic[WPA_EAPOL_KEY_MIC_MAX_LEN]; in wpa_ft_validate_reassoc_resp() local
772 mic) < 0) { in wpa_ft_validate_reassoc_resp()
777 if (os_memcmp_const(mic, ftie->mic, 16) != 0) { in wpa_ft_validate_reassoc_resp()
779 wpa_hexdump(MSG_MSGDUMP, "FT: Received MIC", ftie->mic, 16); in wpa_ft_validate_reassoc_resp()
780 wpa_hexdump(MSG_MSGDUMP, "FT: Calculated MIC", mic, 16); in wpa_ft_validate_reassoc_resp()
/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/syslinux/gpxe/src/include/gpxe/
Dwpa.h159 u8 mic[16]; member
240 } __attribute__ (( packed )) mic; member
387 void ( * mic ) ( const void *kck, const void *msg, size_t len, member
388 void *mic );
/external/openssh/
Dauth2-gss.c259 gss_buffer_desc mic, gssbuf; in input_gssapi_mic() local
267 mic.value = packet_get_string(&len); in input_gssapi_mic()
268 mic.length = len; in input_gssapi_mic()
276 if (!GSS_ERROR(PRIVSEP(ssh_gssapi_checkmic(gssctxt, &gssbuf, &mic)))) in input_gssapi_mic()
282 free(mic.value); in input_gssapi_mic()
/external/autotest/client/site_tests/audio_AlsaLoopback/
Dcontrol7 PURPOSE = 'Test that audio played to line out can be heard at mic in.'
9 Check if the audio played to line out is heard by arecord at mic in.
21 NOTE: For this test to pass you need to have the line out looped back to mic-in.
/external/autotest/client/site_tests/audio_CrasLoopback/
Dcontrol7 PURPOSE = 'Test that audio played to line out can be heard at mic in.'
9 Check if the audio played to line out is heard by cras_test_client at mic in.
21 NOTE: For this test to pass you need to have the line out looped back to mic-in.
/external/wpa_supplicant_8/src/eap_server/
Deap_server_gpsk.c247 u8 mic[EAP_GPSK_MAX_MIC_LEN]; in eap_gpsk_process_gpsk_2() local
447 data->specifier, payload, pos - payload, mic) in eap_gpsk_process_gpsk_2()
453 if (os_memcmp_const(mic, pos, miclen) != 0) { in eap_gpsk_process_gpsk_2()
456 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Computed MIC", mic, miclen); in eap_gpsk_process_gpsk_2()
479 u8 mic[EAP_GPSK_MAX_MIC_LEN]; in eap_gpsk_process_gpsk_4() local
516 data->specifier, payload, pos - payload, mic) in eap_gpsk_process_gpsk_4()
522 if (os_memcmp_const(mic, pos, miclen) != 0) { in eap_gpsk_process_gpsk_4()
525 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Computed MIC", mic, miclen); in eap_gpsk_process_gpsk_4()
Deap_server_sake.c185 u8 *mic; in eap_sake_build_confirm() local
199 mic = wpabuf_put(msg, EAP_SAKE_MIC_LEN); in eap_sake_build_confirm()
203 wpabuf_head(msg), wpabuf_len(msg), mic, mic)) in eap_sake_build_confirm()
/external/autotest/client/site_tests/desktopui_AudioFeedback/
Dcontrol19 Test that Flash video sound can be heard by arecord at mic in.
21 NOTE: For this test to pass you need to have the line out looped back to mic-in.
/external/autotest/client/site_tests/audio_LoopbackLatency/
Dcontrol9 Check if the audio played to line out can be heard mic in, and assert
22 NOTE: For this test to pass you need to have the line out looped back to mic-in.
/external/autotest/client/common_lib/cros/
Dcfm_util.py296 def set_preferred_mic(webview_context, mic): argument
303 "window.hrSetAudioInPrefForTest('" + mic + "')")
304 logging.info('Setting preferred mic to %s.', mic)
/external/libvpx/libvpx/vp8/encoder/
Dpickinter.c300 MODE_INFO *const mic = xd->mode_info_context; in pick_intra4x4mby_modes() local
307 const B_PREDICTION_MODE A = above_block_mode(mic, i, mis); in pick_intra4x4mby_modes()
308 const B_PREDICTION_MODE L = left_block_mode(mic, i); in pick_intra4x4mby_modes()
318 mic->bmi[i].as_mode = best_mode; in pick_intra4x4mby_modes()
585 MODE_INFO *mic = x->e_mbd.mode_info_context; in calculate_zeromv_rd_adjustment() local
591 mic -= 1; in calculate_zeromv_rd_adjustment()
592 mv_l = mic->mbmi.mv; in calculate_zeromv_rd_adjustment()
594 if (mic->mbmi.ref_frame != INTRA_FRAME) { in calculate_zeromv_rd_adjustment()
601 mic -= x->e_mbd.mode_info_stride; in calculate_zeromv_rd_adjustment()
602 mv_al = mic->mbmi.mv; in calculate_zeromv_rd_adjustment()
[all …]
/external/wpa_supplicant_8/src/eap_common/
Deap_gpsk_common.c501 const u8 *data, size_t len, u8 *mic) in eap_gpsk_compute_mic_aes() argument
509 return omac1_aes_128(sk, data, len, mic); in eap_gpsk_compute_mic_aes()
525 int specifier, const u8 *data, size_t len, u8 *mic) in eap_gpsk_compute_mic() argument
534 ret = eap_gpsk_compute_mic_aes(sk, sk_len, data, len, mic); in eap_gpsk_compute_mic()
538 ret = hmac_sha256(sk, sk_len, data, len, mic); in eap_gpsk_compute_mic()
/external/autotest/server/cros/multimedia/
Dcfm_facade_adapter.py163 def set_preferred_mic(self, mic): argument
168 self._cfm_proxy.set_preferred_mic(mic)
/external/autotest/client/site_tests/desktopui_MediaAudioFeedback/
Dcontrol19 Test that the sound from media files can be heard by recording from mic in.
25 NOTE: For this test to pass you need to have the line out looped back to mic-in.
/external/autotest/client/cros/multimedia/
Dcfm_facade_native.py212 def set_preferred_mic(self, mic): argument
217 cfm_util.set_preferred_mic(self._webview_context, mic)
/external/wpa_supplicant_8/src/drivers/
Ddriver_bsd.c779 struct ieee80211_michael_event *mic; in bsd_wireless_event_receive() local
826 mic = (struct ieee80211_michael_event *) &ifan[1]; in bsd_wireless_event_receive()
829 "keyix=%u src_addr=" MACSTR, mic->iev_keyix, in bsd_wireless_event_receive()
830 MAC2STR(mic->iev_src)); in bsd_wireless_event_receive()
833 data.michael_mic_failure.src = mic->iev_src; in bsd_wireless_event_receive()
1219 struct ieee80211_michael_event *mic; in wpa_driver_bsd_event_receive() local
1320 mic = (struct ieee80211_michael_event *) &ifan[1]; in wpa_driver_bsd_event_receive()
1323 "keyix=%u src_addr=" MACSTR, mic->iev_keyix, in wpa_driver_bsd_event_receive()
1324 MAC2STR(mic->iev_src)); in wpa_driver_bsd_event_receive()
1328 !IEEE80211_IS_MULTICAST(mic->iev_dst); in wpa_driver_bsd_event_receive()
/external/wpa_supplicant_8/wpa_supplicant/
Dmesh_rsn.c627 (elems->mic - 2) - cat }; in mesh_rsn_process_ampe()
647 if (!elems->mic || elems->mic_len < AES_BLOCK_SIZE) { in mesh_rsn_process_ampe()
652 ampe_buf = (u8 *) elems->mic + elems->mic_len; in mesh_rsn_process_ampe()
656 crypt_len = elems_len - (elems->mic - start); in mesh_rsn_process_ampe()
670 os_memcpy(crypt, elems->mic, crypt_len); in mesh_rsn_process_ampe()
/external/wpa_supplicant_8/src/common/
Dwpa_common.h310 u8 mic[16]; member
334 const u8 *buf, size_t len, u8 *mic);
360 const u8 *ric, size_t ric_len, u8 *mic);
Dwpa_common.c92 const u8 *buf, size_t len, u8 *mic) in wpa_eapol_key_mic() argument
99 return hmac_md5(key, key_len, buf, len, mic); in wpa_eapol_key_mic()
104 os_memcpy(mic, hash, MD5_MAC_LEN); in wpa_eapol_key_mic()
108 return omac1_aes_128(key, buf, len, mic); in wpa_eapol_key_mic()
114 return omac1_aes_128(key, buf, len, mic); in wpa_eapol_key_mic()
120 os_memcpy(mic, hash, MD5_MAC_LEN); in wpa_eapol_key_mic()
127 os_memcpy(mic, hash, 24); in wpa_eapol_key_mic()
459 const u8 *ric, size_t ric_len, u8 *mic) in wpa_ft_mic() argument
522 if (omac1_aes_128_vector(kck, num_elem, addr, len, mic)) in wpa_ft_mic()

1234567