Searched refs:Mk16 (Results 1 - 2 of 2) sorted by relevance
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/mac80211/ |
H A D | tkip.c | 65 static inline u16 Mk16(u8 x, u8 y) function 123 p1k[2] = Mk16(ta[1], ta[0]); 124 p1k[3] = Mk16(ta[3], ta[2]); 125 p1k[4] = Mk16(ta[5], ta[4]); 129 p1k[0] += tkip_S(p1k[4] ^ Mk16(tk[ 1 + j], tk[ 0 + j])); 130 p1k[1] += tkip_S(p1k[0] ^ Mk16(tk[ 5 + j], tk[ 4 + j])); 131 p1k[2] += tkip_S(p1k[1] ^ Mk16(tk[ 9 + j], tk[ 8 + j])); 132 p1k[3] += tkip_S(p1k[2] ^ Mk16(tk[13 + j], tk[12 + j])); 133 p1k[4] += tkip_S(p1k[3] ^ Mk16(tk[ 1 + j], tk[ 0 + j])) + i; 151 ppk[0] += tkip_S(ppk[5] ^ Mk16(t [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/ieee80211/ |
H A D | ieee80211_crypt_tkip.c | 187 static inline u16 Mk16(u8 hi, u8 lo) function 248 TTAK[2] = Mk16(TA[1], TA[0]); 249 TTAK[3] = Mk16(TA[3], TA[2]); 250 TTAK[4] = Mk16(TA[5], TA[4]); 254 TTAK[0] += _S_(TTAK[4] ^ Mk16(TK[1 + j], TK[0 + j])); 255 TTAK[1] += _S_(TTAK[0] ^ Mk16(TK[5 + j], TK[4 + j])); 256 TTAK[2] += _S_(TTAK[1] ^ Mk16(TK[9 + j], TK[8 + j])); 257 TTAK[3] += _S_(TTAK[2] ^ Mk16(TK[13 + j], TK[12 + j])); 258 TTAK[4] += _S_(TTAK[3] ^ Mk16(TK[1 + j], TK[0 + j])) + i;
|
Completed in 45 milliseconds