Searched refs:PPK (Results 1 – 6 of 6) sorted by relevance
224 u16 *PPK = (u16 *)&WEPSeed[4]; in tkip_mixing_phase2() local227 PPK[0] = TTAK[0]; in tkip_mixing_phase2()228 PPK[1] = TTAK[1]; in tkip_mixing_phase2()229 PPK[2] = TTAK[2]; in tkip_mixing_phase2()230 PPK[3] = TTAK[3]; in tkip_mixing_phase2()231 PPK[4] = TTAK[4]; in tkip_mixing_phase2()232 PPK[5] = TTAK[4] + IV16; in tkip_mixing_phase2()235 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()[all …]
223 u16 *PPK = (u16 *)&WEPSeed[4]; in tkip_mixing_phase2() local226 PPK[0] = TTAK[0]; in tkip_mixing_phase2()227 PPK[1] = TTAK[1]; in tkip_mixing_phase2()228 PPK[2] = TTAK[2]; in tkip_mixing_phase2()229 PPK[3] = TTAK[3]; in tkip_mixing_phase2()230 PPK[4] = TTAK[4]; in tkip_mixing_phase2()231 PPK[5] = TTAK[4] + IV16; in tkip_mixing_phase2()234 PPK[0] += _S_(PPK[5] ^ Mk16_le((u16 *)&TK[0])); in tkip_mixing_phase2()235 PPK[1] += _S_(PPK[0] ^ Mk16_le((u16 *)&TK[2])); in tkip_mixing_phase2()236 PPK[2] += _S_(PPK[1] ^ Mk16_le((u16 *)&TK[4])); in tkip_mixing_phase2()[all …]
242 u16 *PPK = (u16 *) & WEPSeed[4]; in tkip_mixing_phase2() local245 PPK[0] = TTAK[0]; in tkip_mixing_phase2()246 PPK[1] = TTAK[1]; in tkip_mixing_phase2()247 PPK[2] = TTAK[2]; in tkip_mixing_phase2()248 PPK[3] = TTAK[3]; in tkip_mixing_phase2()249 PPK[4] = TTAK[4]; in tkip_mixing_phase2()250 PPK[5] = TTAK[4] + IV16; in tkip_mixing_phase2()253 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()[all …]
397 u16 PPK[6]; /* temporary key for mixing */ in phase2() local401 PPK[i] = p1k[i]; /* first, copy P1K to PPK */ in phase2()402 PPK[5] = p1k[4] + iv16; /* next, add in IV16 */ in phase2()405 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()406 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()407 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()408 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()409 PPK[4] += _S_(PPK[3] ^ TK16(4)); in phase2()410 PPK[5] += _S_(PPK[4] ^ TK16(5)); /* Total # S-box lookups == 6 */ in phase2()413 PPK[0] += RotR1(PPK[5] ^ TK16(6)); in phase2()[all …]
521 u16 PPK[6]; /* temporary key for mixing */ in phase2() local525 PPK[i] = p1k[i]; /* first, copy P1K to PPK */ in phase2()526 PPK[5] = p1k[4] + iv16; /* next, add in IV16 */ in phase2()528 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()[all …]
414 u16 PPK[6]; /* temporary key for mixing */ in phase2() local418 PPK[i] = p1k[i]; /* first, copy P1K to PPK */ in phase2()420 PPK[5] = p1k[4]+iv16; /* next, add in IV16 */ in phase2()423 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()[all …]