Searched refs:TTAK (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/net/wireless/ |
D | lib80211_crypt_tkip.c | 215 static void tkip_mixing_phase1(u16 * TTAK, const u8 * TK, const u8 * TA, in tkip_mixing_phase1() argument 221 TTAK[0] = Lo16(IV32); in tkip_mixing_phase1() 222 TTAK[1] = Hi16(IV32); in tkip_mixing_phase1() 223 TTAK[2] = Mk16(TA[1], TA[0]); in tkip_mixing_phase1() 224 TTAK[3] = Mk16(TA[3], TA[2]); in tkip_mixing_phase1() 225 TTAK[4] = Mk16(TA[5], TA[4]); in tkip_mixing_phase1() 229 TTAK[0] += _S_(TTAK[4] ^ Mk16(TK[1 + j], TK[0 + j])); in tkip_mixing_phase1() 230 TTAK[1] += _S_(TTAK[0] ^ Mk16(TK[5 + j], TK[4 + j])); in tkip_mixing_phase1() 231 TTAK[2] += _S_(TTAK[1] ^ Mk16(TK[9 + j], TK[8 + j])); in tkip_mixing_phase1() 232 TTAK[3] += _S_(TTAK[2] ^ Mk16(TK[13 + j], TK[12 + j])); in tkip_mixing_phase1() [all …]
|
/linux-6.1.9/drivers/staging/rtl8192e/ |
D | rtllib_crypt_tkip.c | 195 static void tkip_mixing_phase1(u16 *TTAK, const u8 *TK, const u8 *TA, u32 IV32) in tkip_mixing_phase1() argument 200 TTAK[0] = Lo16(IV32); in tkip_mixing_phase1() 201 TTAK[1] = Hi16(IV32); in tkip_mixing_phase1() 202 TTAK[2] = Mk16(TA[1], TA[0]); in tkip_mixing_phase1() 203 TTAK[3] = Mk16(TA[3], TA[2]); in tkip_mixing_phase1() 204 TTAK[4] = Mk16(TA[5], TA[4]); in tkip_mixing_phase1() 208 TTAK[0] += _S_(TTAK[4] ^ Mk16(TK[1 + j], TK[0 + j])); in tkip_mixing_phase1() 209 TTAK[1] += _S_(TTAK[0] ^ Mk16(TK[5 + j], TK[4 + j])); in tkip_mixing_phase1() 210 TTAK[2] += _S_(TTAK[1] ^ Mk16(TK[9 + j], TK[8 + j])); in tkip_mixing_phase1() 211 TTAK[3] += _S_(TTAK[2] ^ Mk16(TK[13 + j], TK[12 + j])); in tkip_mixing_phase1() [all …]
|
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_tkip.c | 195 static void tkip_mixing_phase1(u16 *TTAK, const u8 *TK, const u8 *TA, u32 IV32) in tkip_mixing_phase1() argument 200 TTAK[0] = Lo16(IV32); in tkip_mixing_phase1() 201 TTAK[1] = Hi16(IV32); in tkip_mixing_phase1() 202 TTAK[2] = Mk16(TA[1], TA[0]); in tkip_mixing_phase1() 203 TTAK[3] = Mk16(TA[3], TA[2]); in tkip_mixing_phase1() 204 TTAK[4] = Mk16(TA[5], TA[4]); in tkip_mixing_phase1() 208 TTAK[0] += _S_(TTAK[4] ^ Mk16(TK[1 + j], TK[0 + j])); in tkip_mixing_phase1() 209 TTAK[1] += _S_(TTAK[0] ^ Mk16(TK[5 + j], TK[4 + j])); in tkip_mixing_phase1() 210 TTAK[2] += _S_(TTAK[1] ^ Mk16(TK[9 + j], TK[8 + j])); in tkip_mixing_phase1() 211 TTAK[3] += _S_(TTAK[2] ^ Mk16(TK[13 + j], TK[12 + j])); in tkip_mixing_phase1() [all …]
|