| /src/crypto/external/bsd/openssh/dist/ |
| auth2-gss.c | 187 userauth_finish(ssh, 0, "gssapi-with-mic", NULL); 281 userauth_finish(ssh, authenticated, "gssapi-with-mic", NULL); 292 gss_buffer_desc mic, gssbuf; local 305 mic.value = p; 306 mic.length = len; 308 "gssapi-with-mic", ssh->kex->session_id); 314 if (!GSS_ERROR(mm_ssh_gssapi_checkmic(gssctxt, &gssbuf, &mic))) 317 logit("GSSAPI MIC check failed"); 320 free(mic.value); 327 userauth_finish(ssh, authenticated, "gssapi-with-mic", NULL) [all...] |
| auth2-gss.c | 187 userauth_finish(ssh, 0, "gssapi-with-mic", NULL); 281 userauth_finish(ssh, authenticated, "gssapi-with-mic", NULL); 292 gss_buffer_desc mic, gssbuf; local 305 mic.value = p; 306 mic.length = len; 308 "gssapi-with-mic", ssh->kex->session_id); 314 if (!GSS_ERROR(mm_ssh_gssapi_checkmic(gssctxt, &gssbuf, &mic))) 317 logit("GSSAPI MIC check failed"); 320 free(mic.value); 327 userauth_finish(ssh, authenticated, "gssapi-with-mic", NULL) [all...] |
| /src/sys/net80211/ |
| ieee80211_crypto_ccmp.c | 177 * Add MIC to the frame as needed. 261 * Verify and strip MIC from the frame. 363 uint8_t mic[IEEE80211_WEP_MICLEN]; local 374 aes_ccm_enc_mbuf(&aes_ccm, m, hdrlen + ccmp.ic_header, data_len, mic); 376 return m_append(m, ccmp.ic_trailer, mic); 387 uint8_t mic[IEEE80211_WEP_MICLEN]; local 399 m_copydata(m, m->m_pkthdr.len - ccmp.ic_trailer, ccmp.ic_trailer, mic); 402 mic)) { 404 "[%s] AES-CCM decrypt failed; MIC mismatch\n",
|
| ieee80211_crypto_ccmp.c | 177 * Add MIC to the frame as needed. 261 * Verify and strip MIC from the frame. 363 uint8_t mic[IEEE80211_WEP_MICLEN]; local 374 aes_ccm_enc_mbuf(&aes_ccm, m, hdrlen + ccmp.ic_header, data_len, mic); 376 return m_append(m, ccmp.ic_trailer, mic); 387 uint8_t mic[IEEE80211_WEP_MICLEN]; local 399 m_copydata(m, m->m_pkthdr.len - ccmp.ic_trailer, ccmp.ic_trailer, mic); 402 mic)) { 404 "[%s] AES-CCM decrypt failed; MIC mismatch\n",
|
| ieee80211_crypto_tkip.c | 105 uint64_t rx_rsc; /* held until MIC verified */ 110 u8 mic[IEEE80211_WEP_MICLEN]); 207 * Add MIC to the frame as needed. 218 uint8_t mic[IEEE80211_WEP_MICLEN]; local 225 m, hdrlen, m->m_pkthdr.len - hdrlen, mic); 226 return m_append(m, tkip.ic_miclen, mic); 289 * NB: We can't update the rsc in the key until MIC is verified. 292 * and updating wk_keyrsc when stripping the MIC in tkip_demic. 317 * Verify and strip MIC from the frame. 328 u8 mic[IEEE80211_WEP_MICLEN] local [all...] |
| ieee80211_crypto_tkip.c | 105 uint64_t rx_rsc; /* held until MIC verified */ 110 u8 mic[IEEE80211_WEP_MICLEN]); 207 * Add MIC to the frame as needed. 218 uint8_t mic[IEEE80211_WEP_MICLEN]; local 225 m, hdrlen, m->m_pkthdr.len - hdrlen, mic); 226 return m_append(m, tkip.ic_miclen, mic); 289 * NB: We can't update the rsc in the key until MIC is verified. 292 * and updating wk_keyrsc when stripping the MIC in tkip_demic. 317 * Verify and strip MIC from the frame. 328 u8 mic[IEEE80211_WEP_MICLEN] local [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/gssapi/spnego/ |
| accept_sec_context.c | 413 heim_octet_string *mic, 425 if (mic != NULL) 456 ret = verify_mechlist_mic(minor_status, ctx, mech_buf, mic); 747 heim_octet_string *mic; local 798 mic = na->mechListMIC; 799 if (mic != NULL)
|
| accept_sec_context.c | 413 heim_octet_string *mic, 425 if (mic != NULL) 456 ret = verify_mechlist_mic(minor_status, ctx, mech_buf, mic); 747 heim_octet_string *mic; local 798 mic = na->mechListMIC; 799 if (mic != NULL)
|
| /src/external/bsd/wpa/dist/src/eap_server/ |
| eap_server_gpsk.c | 247 u8 mic[EAP_GPSK_MAX_MIC_LEN]; local 439 wpa_printf(MSG_DEBUG, "EAP-GPSK: Message too short for MIC " 447 data->specifier, payload, pos - payload, mic) 449 wpa_printf(MSG_DEBUG, "EAP-GPSK: Failed to compute MIC"); 453 if (os_memcmp_const(mic, pos, miclen) != 0) { 454 wpa_printf(MSG_INFO, "EAP-GPSK: Incorrect MIC in GPSK-2"); 455 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Received MIC", pos, miclen); 456 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Computed MIC", mic, miclen); 479 u8 mic[EAP_GPSK_MAX_MIC_LEN] local [all...] |
| eap_server_sake.c | 185 u8 *mic; local 199 mic = wpabuf_put(msg, EAP_SAKE_MIC_LEN); 203 wpabuf_head(msg), wpabuf_len(msg), mic, mic)) 205 wpa_printf(MSG_INFO, "EAP-SAKE: Failed to compute MIC"); 358 wpa_printf(MSG_INFO, "EAP-SAKE: Failed to compute MIC"); 399 wpa_printf(MSG_INFO, "EAP-SAKE: Failed to compute MIC");
|
| eap_server_gpsk.c | 247 u8 mic[EAP_GPSK_MAX_MIC_LEN]; local 439 wpa_printf(MSG_DEBUG, "EAP-GPSK: Message too short for MIC " 447 data->specifier, payload, pos - payload, mic) 449 wpa_printf(MSG_DEBUG, "EAP-GPSK: Failed to compute MIC"); 453 if (os_memcmp_const(mic, pos, miclen) != 0) { 454 wpa_printf(MSG_INFO, "EAP-GPSK: Incorrect MIC in GPSK-2"); 455 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Received MIC", pos, miclen); 456 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Computed MIC", mic, miclen); 479 u8 mic[EAP_GPSK_MAX_MIC_LEN] local [all...] |
| eap_server_sake.c | 185 u8 *mic; local 199 mic = wpabuf_put(msg, EAP_SAKE_MIC_LEN); 203 wpabuf_head(msg), wpabuf_len(msg), mic, mic)) 205 wpa_printf(MSG_INFO, "EAP-SAKE: Failed to compute MIC"); 358 wpa_printf(MSG_INFO, "EAP-SAKE: Failed to compute MIC"); 399 wpa_printf(MSG_INFO, "EAP-SAKE: Failed to compute MIC");
|
| /src/external/bsd/wpa/dist/src/pasn/ |
| pasn_initiator.c | 622 u8 mic[WPA_PASN_MAX_MIC_LEN]; local 657 /* Add the MIC */ 670 pasn->hash, mic_len * 2, data, data_len, mic); 672 wpa_printf(MSG_DEBUG, "PASN: frame 3: Failed MIC calculation"); 678 wpa_printf(MSG_DEBUG, "PASN: frame 3: Corrupt MIC"); 679 mic[0] = ~mic[0]; 683 os_memcpy(ptr, mic, mic_len); 1068 u8 mic[WPA_PASN_MAX_MIC_LEN], out_mic[WPA_PASN_MAX_MIC_LEN]; local 1105 /* Check that the MIC IE exists. Save it and zero out the memory * [all...] |
| pasn_responder.c | 431 u8 mic[WPA_PASN_MAX_MIC_LEN]; local 507 /* Add the mic */ 560 frame, frame_len, mic); 563 wpa_printf(MSG_DEBUG, "PASN: Frame 3: Failed MIC calculation"); 569 wpa_printf(MSG_DEBUG, "PASN: frame 2: Corrupt MIC"); 570 mic[0] = ~mic[0]; 574 os_memcpy(ptr, mic, mic_len); 921 u8 mic[WPA_PASN_MAX_MIC_LEN], out_mic[WPA_PASN_MAX_MIC_LEN]; local 936 /* Check that the MIC IE exists. Save it and zero out the memory. * [all...] |
| pasn_initiator.c | 622 u8 mic[WPA_PASN_MAX_MIC_LEN]; local 657 /* Add the MIC */ 670 pasn->hash, mic_len * 2, data, data_len, mic); 672 wpa_printf(MSG_DEBUG, "PASN: frame 3: Failed MIC calculation"); 678 wpa_printf(MSG_DEBUG, "PASN: frame 3: Corrupt MIC"); 679 mic[0] = ~mic[0]; 683 os_memcpy(ptr, mic, mic_len); 1068 u8 mic[WPA_PASN_MAX_MIC_LEN], out_mic[WPA_PASN_MAX_MIC_LEN]; local 1105 /* Check that the MIC IE exists. Save it and zero out the memory * [all...] |
| pasn_responder.c | 431 u8 mic[WPA_PASN_MAX_MIC_LEN]; local 507 /* Add the mic */ 560 frame, frame_len, mic); 563 wpa_printf(MSG_DEBUG, "PASN: Frame 3: Failed MIC calculation"); 569 wpa_printf(MSG_DEBUG, "PASN: frame 2: Corrupt MIC"); 570 mic[0] = ~mic[0]; 574 os_memcpy(ptr, mic, mic_len); 921 u8 mic[WPA_PASN_MAX_MIC_LEN], out_mic[WPA_PASN_MAX_MIC_LEN]; local 936 /* Check that the MIC IE exists. Save it and zero out the memory. * [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/ntlm/ |
| heimntlm.h | 160 uint8_t mic[16]; member in struct:ntlm_type3
|
| heimntlm.h | 160 uint8_t mic[16]; member in struct:ntlm_type3
|
| /src/external/bsd/wpa/dist/src/eap_peer/ |
| eap_gpsk.c | 549 u8 mic[EAP_GPSK_MAX_MIC_LEN]; local 556 wpa_printf(MSG_DEBUG, "EAP-GPSK: Message too short for MIC " 563 data->specifier, payload, pos - payload, mic) 565 wpa_printf(MSG_DEBUG, "EAP-GPSK: Failed to compute MIC"); 568 if (os_memcmp_const(mic, pos, miclen) != 0) { 569 wpa_printf(MSG_INFO, "EAP-GPSK: Incorrect MIC in GPSK-3"); 570 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Received MIC", pos, miclen); 571 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Computed MIC", mic, miclen);
|
| eap_gpsk.c | 549 u8 mic[EAP_GPSK_MAX_MIC_LEN]; local 556 wpa_printf(MSG_DEBUG, "EAP-GPSK: Message too short for MIC " 563 data->specifier, payload, pos - payload, mic) 565 wpa_printf(MSG_DEBUG, "EAP-GPSK: Failed to compute MIC"); 568 if (os_memcmp_const(mic, pos, miclen) != 0) { 569 wpa_printf(MSG_INFO, "EAP-GPSK: Incorrect MIC in GPSK-3"); 570 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Received MIC", pos, miclen); 571 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Computed MIC", mic, miclen);
|
| /src/external/bsd/wpa/dist/src/rsn_supp/ |
| wpa_ft.c | 195 * @kck: KCK for MIC or %NULL if no MIC is used 363 fte_mic = ftie->mic; 377 fte_mic = ftie->mic; 389 fte_mic = ftie->mic; 458 * MIC shall be calculated over: 464 * FTIE (with MIC field set to 0) 480 wpa_printf(MSG_INFO, "FT: Failed to calculate MIC"); 865 /* Swap Tx/Rx keys for Michael MIC */ 1027 u8 mic[WPA_EAPOL_KEY_MIC_MAX_LEN] local [all...] |
| wpa_ft.c | 195 * @kck: KCK for MIC or %NULL if no MIC is used 363 fte_mic = ftie->mic; 377 fte_mic = ftie->mic; 389 fte_mic = ftie->mic; 458 * MIC shall be calculated over: 464 * FTIE (with MIC field set to 0) 480 wpa_printf(MSG_INFO, "FT: Failed to calculate MIC"); 865 /* Swap Tx/Rx keys for Michael MIC */ 1027 u8 mic[WPA_EAPOL_KEY_MIC_MAX_LEN] local [all...] |
| /src/external/bsd/wpa/dist/src/drivers/ |
| driver_bsd.c | 734 struct ieee80211_michael_event *mic; local 797 mic = (struct ieee80211_michael_event *) &ifan[1]; 799 "Michael MIC failure wireless event: " 800 "keyix=%u src_addr=" MACSTR, mic->iev_keyix, 801 MAC2STR(mic->iev_src)); 804 !IEEE80211_IS_MULTICAST(mic->iev_dst); 805 event.michael_mic_failure.src = mic->iev_src;
|
| driver_wext.c | 300 const struct iw_michaelmicfailure *mic; local 303 if (len < sizeof(*mic)) 306 mic = (const struct iw_michaelmicfailure *) ev; 308 wpa_printf(MSG_DEBUG, "Michael MIC failure wireless event: " 309 "flags=0x%x src_addr=" MACSTR, mic->flags, 310 MAC2STR(mic->src_addr.sa_data)); 313 data.michael_mic_failure.unicast = !(mic->flags & IW_MICFAILURE_GROUP);
|
| driver_bsd.c | 734 struct ieee80211_michael_event *mic; local 797 mic = (struct ieee80211_michael_event *) &ifan[1]; 799 "Michael MIC failure wireless event: " 800 "keyix=%u src_addr=" MACSTR, mic->iev_keyix, 801 MAC2STR(mic->iev_src)); 804 !IEEE80211_IS_MULTICAST(mic->iev_dst); 805 event.michael_mic_failure.src = mic->iev_src;
|