Home
last modified time | relevance | path

Searched refs:TK (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/net/wireless/
Dlib80211_crypt_tkip.c215 static void tkip_mixing_phase1(u16 * TTAK, const u8 * TK, const u8 * TA, in tkip_mixing_phase1() argument
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()
237 static void tkip_mixing_phase2(u8 * WEPSeed, const u8 * TK, const u16 * TTAK, in tkip_mixing_phase2() argument
253 PPK[0] += _S_(PPK[5] ^ Mk16_le((__le16 *) & TK[0])); in tkip_mixing_phase2()
254 PPK[1] += _S_(PPK[0] ^ Mk16_le((__le16 *) & TK[2])); in tkip_mixing_phase2()
255 PPK[2] += _S_(PPK[1] ^ Mk16_le((__le16 *) & TK[4])); in tkip_mixing_phase2()
[all …]
/linux-6.1.9/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c195 static void tkip_mixing_phase1(u16 *TTAK, const u8 *TK, const u8 *TA, u32 IV32) in tkip_mixing_phase1() argument
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()
217 static void tkip_mixing_phase2(u8 *WEPSeed, const u8 *TK, const u16 *TTAK, in tkip_mixing_phase2() argument
234 PPK[0] += _S_(PPK[5] ^ Mk16_le((u16 *)&TK[0])); in tkip_mixing_phase2()
235 PPK[1] += _S_(PPK[0] ^ Mk16_le((u16 *)&TK[2])); in tkip_mixing_phase2()
236 PPK[2] += _S_(PPK[1] ^ Mk16_le((u16 *)&TK[4])); in tkip_mixing_phase2()
[all …]
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c195 static void tkip_mixing_phase1(u16 *TTAK, const u8 *TK, const u8 *TA, u32 IV32) in tkip_mixing_phase1() argument
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()
217 static void tkip_mixing_phase2(u8 *WEPSeed, const u8 *TK, const u16 *TTAK, in tkip_mixing_phase2() argument
235 PPK[0] += _S_(PPK[5] ^ le16_to_cpu(*(__le16 *)(&TK[0]))); in tkip_mixing_phase2()
236 PPK[1] += _S_(PPK[0] ^ le16_to_cpu(*(__le16 *)(&TK[2]))); in tkip_mixing_phase2()
237 PPK[2] += _S_(PPK[1] ^ le16_to_cpu(*(__le16 *)(&TK[4]))); in tkip_mixing_phase2()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/misc/
Datmel-ssc.txt23 clock can get from TK pin, and also can get from RK pin. So, add
25 - By default the clock is from TK pin, if the clock from RK pin, this
/linux-6.1.9/arch/arm/boot/dts/
Dgemini-dlink-dir-685.dts351 * gpio0bgrp cover line 5, 6 used by TK I2C
358 * gpio0fgrp cover line 17 used by TK IRQ