Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_tkip.c235 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()
238 PPK[3] += _S_(PPK[2] ^ le16_to_cpu(*(__le16 *)(&TK[6]))); in tkip_mixing_phase2()
239 PPK[4] += _S_(PPK[3] ^ le16_to_cpu(*(__le16 *)(&TK[8]))); in tkip_mixing_phase2()
240 PPK[5] += _S_(PPK[4] ^ le16_to_cpu(*(__le16 *)(&TK[10]))); in tkip_mixing_phase2()
244 PPK[2] += RotR1(PPK[1]); in tkip_mixing_phase2()
245 PPK[3] += RotR1(PPK[2]); in tkip_mixing_phase2()
246 PPK[4] += RotR1(PPK[3]); in tkip_mixing_phase2()
247 PPK[5] += RotR1(PPK[4]); in tkip_mixing_phase2()
[all …]
/openbmc/linux/net/wireless/
H A Dlib80211_crypt_tkip.c253 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()
256 PPK[3] += _S_(PPK[2] ^ Mk16_le((__le16 *) & TK[6])); in tkip_mixing_phase2()
257 PPK[4] += _S_(PPK[3] ^ Mk16_le((__le16 *) & TK[8])); in tkip_mixing_phase2()
258 PPK[5] += _S_(PPK[4] ^ Mk16_le((__le16 *) & TK[10])); in tkip_mixing_phase2()
262 PPK[2] += RotR1(PPK[1]); in tkip_mixing_phase2()
263 PPK[3] += RotR1(PPK[2]); in tkip_mixing_phase2()
264 PPK[4] += RotR1(PPK[3]); in tkip_mixing_phase2()
265 PPK[5] += RotR1(PPK[4]); in tkip_mixing_phase2()
[all …]
/openbmc/linux/drivers/staging/rtl8192e/
H A Drtllib_crypt_tkip.c221 PPK[0] += _S_(PPK[5] ^ Mk16_le((u16 *)&TK[0])); in tkip_mixing_phase2()
222 PPK[1] += _S_(PPK[0] ^ Mk16_le((u16 *)&TK[2])); in tkip_mixing_phase2()
223 PPK[2] += _S_(PPK[1] ^ Mk16_le((u16 *)&TK[4])); in tkip_mixing_phase2()
224 PPK[3] += _S_(PPK[2] ^ Mk16_le((u16 *)&TK[6])); in tkip_mixing_phase2()
225 PPK[4] += _S_(PPK[3] ^ Mk16_le((u16 *)&TK[8])); in tkip_mixing_phase2()
226 PPK[5] += _S_(PPK[4] ^ Mk16_le((u16 *)&TK[10])); in tkip_mixing_phase2()
230 PPK[2] += RotR1(PPK[1]); in tkip_mixing_phase2()
231 PPK[3] += RotR1(PPK[2]); in tkip_mixing_phase2()
232 PPK[4] += RotR1(PPK[3]); in tkip_mixing_phase2()
233 PPK[5] += RotR1(PPK[4]); in tkip_mixing_phase2()
[all …]
/openbmc/linux/drivers/staging/rtl8712/
H A Drtl871x_security.c528 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()
529 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()
530 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()
531 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()
532 PPK[4] += _S_(PPK[3] ^ TK16(4)); in phase2()
533 PPK[5] += _S_(PPK[4] ^ TK16(5)); /* Total # S-box lookups == 6 */ in phase2()
535 PPK[0] += RotR1(PPK[5] ^ TK16(6)); in phase2()
537 PPK[2] += RotR1(PPK[1]); in phase2()
538 PPK[3] += RotR1(PPK[2]); in phase2()
539 PPK[4] += RotR1(PPK[3]); in phase2()
[all …]
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_security.c423 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()
424 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()
425 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()
426 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()
427 PPK[4] += _S_(PPK[3] ^ TK16(4)); in phase2()
428 PPK[5] += _S_(PPK[4] ^ TK16(5)); /* Total # S-box lookups == 6 */ in phase2()
431 PPK[0] += RotR1(PPK[5] ^ TK16(6)); in phase2()
433 PPK[2] += RotR1(PPK[1]); in phase2()
434 PPK[3] += RotR1(PPK[2]); in phase2()
435 PPK[4] += RotR1(PPK[3]); in phase2()
[all …]