HomeSort by: relevance | last modified time | path
    Searched refs:mic (Results 1 - 25 of 31) sorted by relevancy

1 2

  /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...]
  /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_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/external/bsd/wpa/dist/src/eap_common/
eap_gpsk_common.h 64 int specifier, const u8 *data, size_t len, u8 *mic);
eap_sake_common.h 92 const u8 *mic_pos, u8 *mic);
eap_gpsk_common.c 477 * eap_gpsk_mic_len - Get the length of the MIC
480 * Returns: MIC length in bytes
501 const u8 *data, size_t len, u8 *mic)
505 "AES-CMAC MIC", (unsigned long) sk_len);
509 return omac1_aes_128(sk, data, len, mic);
514 * eap_gpsk_compute_mic - Compute EAP-GPSK MIC for an EAP packet
519 * @data: Input data to MIC
521 * @mic: Buffer for the computed MIC, eap_gpsk_mic_len(cipher) bytes
525 int specifier, const u8 *data, size_t len, u8 *mic)
    [all...]
eap_sake_common.c 320 * eap_sake_compute_mic - Compute EAP-SAKE MIC for an EAP packet
328 * @peer: MIC calculation for 0 = Server, 1 = Peer message
331 * @mic_pos: MIC position in the EAP packet (must be [eap .. eap + eap_len])
332 * @mic: Buffer for the computed 16-byte MIC
340 const u8 *mic_pos, u8 *mic)
388 peer ? "Peer MIC" : "Server MIC",
390 mic, EAP_SAKE_MIC_LEN);
  /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");
  /src/crypto/external/bsd/heimdal/dist/lib/ntlm/
heimntlm.h 160 uint8_t mic[16]; member in struct:ntlm_type3
  /src/external/bsd/wpa/dist/src/pasn/
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...]
  /src/external/bsd/wpa/dist/src/rsn_supp/
tdls.c 56 u8 mic[TDLS_MIC_LEN]; member in struct:wpa_tdls_ftie
481 * wpa_tdls_ftie_mic - Calculate TDLS FTIE MIC
489 * @mic: Pointer for writing MIC
491 * Calculate MIC for TDLS frame.
496 const u8 *fte, size_t fte_len, u8 *mic)
506 wpa_printf(MSG_WARNING, "TDLS: No memory for MIC calculation");
529 /* 7) FTIE, with the MIC field of the FTIE set to 0 */
532 os_memset(_ftie->mic, 0, TDLS_MIC_LEN);
535 wpa_hexdump(MSG_DEBUG, "TDLS: Data for FTIE MIC", buf, pos - buf)
610 u8 mic[16]; local
638 u8 mic[16]; 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/sys/arch/x68k/x68k/
clock.c 176 DELAY(int mic)
182 * busy-poll for mic microseconds. This is *no* general timeout function,
193 n = mic/32 + 2;
  /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)
  /src/external/bsd/wpa/dist/src/common/
wpa_common.h 194 /* FTE - MIC Control - RSNXE Used */
199 /* FTE - MIC Length subfield values */
238 /* variable length Key MIC field */
409 u8 mic[16]; member in struct:rsn_ftie
417 u8 mic[24]; member in struct:rsn_ftie_sha384
425 u8 mic[32]; member in struct:rsn_ftie_sha512
464 const u8 *buf, size_t len, u8 *mic);
496 u8 *mic);
763 const u8 *frame, size_t frame_len, u8 *mic);
wpa_common.c 149 * wpa_use_cmac - Is CMAC integrity algorithm used for EAPOL-Key MIC
189 * wpa_eapol_key_mic - Calculate EAPOL-Key MIC
196 * @mic: Pointer to the buffer to which the EAPOL-Key MIC is written
199 * Calculate EAPOL-Key MIC for an EAPOL-Key packet. The EAPOL-Key MIC field has
203 * description of the Key MIC calculation. It includes packet data from the
209 const u8 *buf, size_t len, u8 *mic)
215 "WPA: KCK not set - cannot calculate MIC");
222 wpa_printf(MSG_DEBUG, "WPA: EAPOL-Key MIC using HMAC-MD5")
    [all...]
ieee802_11_common.h 79 const u8 *mic; member in struct:ieee802_11_elems
  /src/external/bsd/wpa/dist/wpa_supplicant/
mesh_rsn.c 546 /* insert AMPE and encrypted MIC at @ie.
550 * @buf: wpabuf to add encrypted AMPE and MIC to.
626 /* IE: MIC */
629 /* MIC field is output ciphertext */
631 /* encrypt after MIC */
660 elems->mic ? (elems->mic - 2) - cat : 0 };
682 if (!elems->mic || elems->mic_len < AES_BLOCK_SIZE) {
683 wpa_msg(wpa_s, MSG_DEBUG, "Mesh RSN: missing mic ie");
687 ampe_buf = (u8 *) elems->mic + elems->mic_len
    [all...]
  /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);
  /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);
  /src/sys/dev/ic/
ispvar.h 765 #define ISP_FW_REV(maj, min, mic) ((maj << 24) | (min << 16) | mic)
  /src/external/bsd/wpa/dist/src/ap/
wpa_auth.c 1264 /* Supplicant reported a Michael MIC error */
1266 "received EAPOL-Key Error Request (STA detected Michael MIC failure (group=%d))",
1271 "ignore Michael MIC failure report since group cipher is not TKIP");
1274 "ignore Michael MIC failure report since pairwise cipher is not TKIP");
1347 "WPA: Earlier SNonce did not result in matching MIC");
1352 "WPA: Earlier SNonce resulted in matching MIC");
1545 u8 *mic; local
1564 mic = (u8 *) (key + 1);
1566 key_data = mic + mic_len + 2;
1567 key_data_length = WPA_GET_BE16(mic + mic_len)
2257 u8 mic[WPA_EAPOL_KEY_MIC_MAX_LEN], *mic_pos; local
3634 const u8 *eapol_key_ie, *key_data, *mic; local
4874 const u8 *key_data, *mic; local
5264 const u8 *key_data, *mic; local
    [all...]

Completed in 40 milliseconds

1 2