Home
last modified time | relevance | path

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

/net/wireless/
Dlib80211_crypt_tkip.c245 static void tkip_mixing_phase1(u16 * TTAK, const u8 * TK, const u8 * TA, in tkip_mixing_phase1() argument
259 TTAK[0] += _S_(TTAK[4] ^ Mk16(TK[1 + j], TK[0 + j])); in tkip_mixing_phase1()
260 TTAK[1] += _S_(TTAK[0] ^ Mk16(TK[5 + j], TK[4 + j])); in tkip_mixing_phase1()
261 TTAK[2] += _S_(TTAK[1] ^ Mk16(TK[9 + j], TK[8 + j])); in tkip_mixing_phase1()
262 TTAK[3] += _S_(TTAK[2] ^ Mk16(TK[13 + j], TK[12 + j])); in tkip_mixing_phase1()
263 TTAK[4] += _S_(TTAK[3] ^ Mk16(TK[1 + j], TK[0 + j])) + i; in tkip_mixing_phase1()
267 static void tkip_mixing_phase2(u8 * WEPSeed, const u8 * TK, const u16 * TTAK, in tkip_mixing_phase2() argument
283 PPK[0] += _S_(PPK[5] ^ Mk16_le((__le16 *) & TK[0])); in tkip_mixing_phase2()
284 PPK[1] += _S_(PPK[0] ^ Mk16_le((__le16 *) & TK[2])); in tkip_mixing_phase2()
285 PPK[2] += _S_(PPK[1] ^ Mk16_le((__le16 *) & TK[4])); in tkip_mixing_phase2()
[all …]