Searched refs:ppk (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/net/mac80211/
H A Dtkip.c111 u16 ppk[6]; tkip_mixing_phase2() local
115 ppk[0] = p1k[0]; tkip_mixing_phase2()
116 ppk[1] = p1k[1]; tkip_mixing_phase2()
117 ppk[2] = p1k[2]; tkip_mixing_phase2()
118 ppk[3] = p1k[3]; tkip_mixing_phase2()
119 ppk[4] = p1k[4]; tkip_mixing_phase2()
120 ppk[5] = p1k[4] + tsc_IV16; tkip_mixing_phase2()
122 ppk[0] += tkipS(ppk[5] ^ get_unaligned_le16(tk + 0)); tkip_mixing_phase2()
123 ppk[1] += tkipS(ppk[0] ^ get_unaligned_le16(tk + 2)); tkip_mixing_phase2()
124 ppk[2] += tkipS(ppk[1] ^ get_unaligned_le16(tk + 4)); tkip_mixing_phase2()
125 ppk[3] += tkipS(ppk[2] ^ get_unaligned_le16(tk + 6)); tkip_mixing_phase2()
126 ppk[4] += tkipS(ppk[3] ^ get_unaligned_le16(tk + 8)); tkip_mixing_phase2()
127 ppk[5] += tkipS(ppk[4] ^ get_unaligned_le16(tk + 10)); tkip_mixing_phase2()
128 ppk[0] += ror16(ppk[5] ^ get_unaligned_le16(tk + 12), 1); tkip_mixing_phase2()
129 ppk[1] += ror16(ppk[0] ^ get_unaligned_le16(tk + 14), 1); tkip_mixing_phase2()
130 ppk[2] += ror16(ppk[1], 1); tkip_mixing_phase2()
131 ppk[3] += ror16(ppk[2], 1); tkip_mixing_phase2()
132 ppk[4] += ror16(ppk[3], 1); tkip_mixing_phase2()
133 ppk[5] += ror16(ppk[4], 1); tkip_mixing_phase2()
136 *rc4key++ = ((ppk[5] ^ get_unaligned_le16(tk)) >> 1) & 0xFF; tkip_mixing_phase2()
139 put_unaligned_le16(ppk[i], rc4key + 2 * i); tkip_mixing_phase2()

Completed in 102 milliseconds