Searched refs:TTAK (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/net80211/ |
H A D | ieee80211_crypto_tkip.c | 594 static void tkip_mixing_phase1(u16 *TTAK, const u8 *TK, const u8 *TA, u32 IV32) in tkip_mixing_phase1() argument 599 TTAK[0] = Lo16(IV32); in tkip_mixing_phase1() 600 TTAK[1] = Hi16(IV32); in tkip_mixing_phase1() 601 TTAK[2] = Mk16(TA[1], TA[0]); in tkip_mixing_phase1() 602 TTAK[3] = Mk16(TA[3], TA[2]); in tkip_mixing_phase1() 603 TTAK[4] = Mk16(TA[5], TA[4]); in tkip_mixing_phase1() 607 TTAK[0] += _S_(TTAK[4] ^ Mk16(TK[1 + j], TK[0 + j])); in tkip_mixing_phase1() 608 TTAK[1] += _S_(TTAK[0] ^ Mk16(TK[5 + j], TK[4 + j])); in tkip_mixing_phase1() 609 TTAK[2] += _S_(TTAK[1] ^ Mk16(TK[9 + j], TK[8 + j])); in tkip_mixing_phase1() 610 TTAK[3] += _S_(TTAK[2] ^ Mk16(TK[13 + j], TK[12 + j])); in tkip_mixing_phase1() [all …]
|