Home
last modified time | relevance | path

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

/Linux-v5.10/net/wireless/
Dlib80211_crypt_tkip.c162 static inline u16 Mk16(u8 hi, u8 lo) in Mk16() function
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()
233 TTAK[4] += _S_(TTAK[3] ^ Mk16(TK[1 + j], TK[0 + j])) + i; in tkip_mixing_phase1()
/Linux-v5.10/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c137 static inline u16 Mk16(u8 hi, u8 lo) in Mk16() function
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()
212 TTAK[4] += _S_(TTAK[3] ^ Mk16(TK[1 + j], TK[0 + j])) + i; in tkip_mixing_phase1()
/Linux-v5.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c144 static inline u16 Mk16(u8 hi, u8 lo) in Mk16() function
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()
212 TTAK[4] += _S_(TTAK[3] ^ Mk16(TK[1 + j], TK[0 + j])) + i; in tkip_mixing_phase1()
/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_security.c380 #define Mk16(hi, lo) ((lo) ^ (((u16)(hi)) << 8)) macro
383 #define TK16(N) Mk16(tk[2 * (N) + 1], tk[2 * (N)])
491 p1k[2] = Mk16(ta[1], ta[0]); /* use TA[] as little-endian */ in phase1()
492 p1k[3] = Mk16(ta[3], ta[2]); in phase1()
493 p1k[4] = Mk16(ta[5], ta[4]); in phase1()
/Linux-v5.10/drivers/staging/rtl8712/
Drtl871x_security.c369 #define Mk16(hi, lo) ((lo) ^ (((u16)(hi)) << 8)) macro
372 #define TK16(N) Mk16(tk[2 * (N) + 1], tk[2 * (N)])
481 p1k[2] = Mk16(ta[1], ta[0]); /* use TA[] as little-endian */ in phase1()
482 p1k[3] = Mk16(ta[3], ta[2]); in phase1()
483 p1k[4] = Mk16(ta[5], ta[4]); in phase1()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_security.c452 #define Mk16(hi, lo) ((lo) ^ (((u16)(hi)) << 8)) macro
455 #define TK16(N) Mk16(tk[2*(N)+1], tk[2*(N)])
566 p1k[2] = Mk16(ta[1], ta[0]); /* use TA[] as little-endian */ in phase1()
567 p1k[3] = Mk16(ta[3], ta[2]); in phase1()
568 p1k[4] = Mk16(ta[5], ta[4]); in phase1()