Home
last modified time | relevance | path

Searched refs:mic0 (Results 1 – 6 of 6) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_keycache.c312 u_int32_t mic0, mic1, mic2, mic3, mic4; in ar9300_set_key_cache_entry() local
327 mic0 = LE_READ_4(k->kv_mic + 0); in ar9300_set_key_cache_entry()
333 OS_REG_WRITE(ah, AR_KEYTABLE_KEY0(micentry), mic0); in ar9300_set_key_cache_entry()
342 u_int32_t mic0, mic2; in ar9300_set_key_cache_entry() local
344 mic0 = LE_READ_4(k->kv_mic + 0); in ar9300_set_key_cache_entry()
346 OS_REG_WRITE(ah, AR_KEYTABLE_KEY0(micentry), mic0); in ar9300_set_key_cache_entry()
545 u_int32_t mic0,mic1,mic2,mic3,mic4; in ar9300_check_key_cache_entry() local
560 mic0 = LE_READ_4(k->kv_mic + 0); in ar9300_check_key_cache_entry()
566 if ((OS_REG_READ(ah, AR_KEYTABLE_KEY0(micentry)) == mic0) && in ar9300_check_key_cache_entry()
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_crypto_bip.c158 u_int8_t *mmie, mic0[8], mic[AES_CMAC_DIGEST_LENGTH]; in ieee80211_bip_decap() local
182 memcpy(mic0, &mmie[10], 8); in ieee80211_bip_decap()
202 if (timingsafe_bcmp(mic, mic0, 8) != 0) { in ieee80211_bip_decap()
H A Dieee80211_crypto_tkip.c363 u_int8_t *mic0; in ieee80211_tkip_decrypt() local
465 mic0 = buf; in ieee80211_tkip_decrypt()
466 crc = ether_crc32_le_update(crc, mic0, IEEE80211_TKIP_MICLEN); in ieee80211_tkip_decrypt()
481 if (timingsafe_bcmp(mic0, mic, IEEE80211_TKIP_MICLEN) != 0) { in ieee80211_tkip_decrypt()
H A Dieee80211_crypto_ccmp.c351 u_int8_t mic0[IEEE80211_CCMP_MICLEN]; in ieee80211_ccmp_decrypt() local
473 m_copydata(m, moff, IEEE80211_CCMP_MICLEN, mic0); in ieee80211_ccmp_decrypt()
474 if (timingsafe_bcmp(mic0, b, IEEE80211_CCMP_MICLEN) != 0) { in ieee80211_ccmp_decrypt()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar5212_keycache.c231 uint32_t mic0, mic1, mic2, mic3, mic4; in ar5212SetKeyCacheEntry() local
253 mic0 = LE_READ_4(k->kv_mic+0); in ar5212SetKeyCacheEntry()
276 OS_REG_WRITE(ah, AR_KEYTABLE_KEY0(micentry), mic0); in ar5212SetKeyCacheEntry()
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_crypto_tkip.c415 u8 mic0[IEEE80211_WEP_MICLEN]; in tkip_demic() local
423 tkip.ic_miclen, mic0); in tkip_demic()
424 if (memcmp(mic, mic0, tkip.ic_miclen)) { in tkip_demic()