Lines Matching refs:ppk
112 u16 ppk[6]; in tkip_mixing_phase2() local
116 ppk[0] = p1k[0]; in tkip_mixing_phase2()
117 ppk[1] = p1k[1]; in tkip_mixing_phase2()
118 ppk[2] = p1k[2]; in tkip_mixing_phase2()
119 ppk[3] = p1k[3]; in tkip_mixing_phase2()
120 ppk[4] = p1k[4]; in tkip_mixing_phase2()
121 ppk[5] = p1k[4] + tsc_IV16; in tkip_mixing_phase2()
123 ppk[0] += tkipS(ppk[5] ^ get_unaligned_le16(tk + 0)); in tkip_mixing_phase2()
124 ppk[1] += tkipS(ppk[0] ^ get_unaligned_le16(tk + 2)); in tkip_mixing_phase2()
125 ppk[2] += tkipS(ppk[1] ^ get_unaligned_le16(tk + 4)); in tkip_mixing_phase2()
126 ppk[3] += tkipS(ppk[2] ^ get_unaligned_le16(tk + 6)); in tkip_mixing_phase2()
127 ppk[4] += tkipS(ppk[3] ^ get_unaligned_le16(tk + 8)); in tkip_mixing_phase2()
128 ppk[5] += tkipS(ppk[4] ^ get_unaligned_le16(tk + 10)); in tkip_mixing_phase2()
129 ppk[0] += ror16(ppk[5] ^ get_unaligned_le16(tk + 12), 1); in tkip_mixing_phase2()
130 ppk[1] += ror16(ppk[0] ^ get_unaligned_le16(tk + 14), 1); in tkip_mixing_phase2()
131 ppk[2] += ror16(ppk[1], 1); in tkip_mixing_phase2()
132 ppk[3] += ror16(ppk[2], 1); in tkip_mixing_phase2()
133 ppk[4] += ror16(ppk[3], 1); in tkip_mixing_phase2()
134 ppk[5] += ror16(ppk[4], 1); in tkip_mixing_phase2()
137 *rc4key++ = ((ppk[5] ^ get_unaligned_le16(tk)) >> 1) & 0xFF; in tkip_mixing_phase2()
140 put_unaligned_le16(ppk[i], rc4key + 2 * i); in tkip_mixing_phase2()