Searched refs:PPK (Results 1 – 6 of 6) sorted by relevance
241 u16 *PPK = (u16 *)&WEPSeed[4]; in tkip_mixing_phase2() local244 PPK[0] = TTAK[0]; in tkip_mixing_phase2()245 PPK[1] = TTAK[1]; in tkip_mixing_phase2()246 PPK[2] = TTAK[2]; in tkip_mixing_phase2()247 PPK[3] = TTAK[3]; in tkip_mixing_phase2()248 PPK[4] = TTAK[4]; in tkip_mixing_phase2()249 PPK[5] = TTAK[4] + IV16; in tkip_mixing_phase2()252 PPK[0] += _S_(PPK[5] ^ le16_to_cpu(*(__le16 *)(&TK[0]))); in tkip_mixing_phase2()253 PPK[1] += _S_(PPK[0] ^ le16_to_cpu(*(__le16 *)(&TK[2]))); in tkip_mixing_phase2()254 PPK[2] += _S_(PPK[1] ^ le16_to_cpu(*(__le16 *)(&TK[4]))); in tkip_mixing_phase2()[all …]
237 u16 *PPK = (u16 *) &WEPSeed[4]; in tkip_mixing_phase2() local240 PPK[0] = TTAK[0]; in tkip_mixing_phase2()241 PPK[1] = TTAK[1]; in tkip_mixing_phase2()242 PPK[2] = TTAK[2]; in tkip_mixing_phase2()243 PPK[3] = TTAK[3]; in tkip_mixing_phase2()244 PPK[4] = TTAK[4]; in tkip_mixing_phase2()245 PPK[5] = TTAK[4] + IV16; in tkip_mixing_phase2()248 PPK[0] += _S_(PPK[5] ^ Mk16_le((u16 *) &TK[0])); in tkip_mixing_phase2()249 PPK[1] += _S_(PPK[0] ^ Mk16_le((u16 *) &TK[2])); in tkip_mixing_phase2()250 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 …]
535 u16 PPK[6]; /* temporary key for mixing */ in phase2() local538 PPK[i] = p1k[i]; /* first, copy P1K to PPK */ in phase2()539 PPK[5] = p1k[4] + iv16; /* next, add in IV16 */ in phase2()542 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()543 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()544 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()545 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()546 PPK[4] += _S_(PPK[3] ^ TK16(4)); in phase2()547 PPK[5] += _S_(PPK[4] ^ TK16(5)); /* Total # S-box lookups == 6 */ in phase2()550 PPK[0] += RotR1(PPK[5] ^ TK16(6)); in phase2()[all …]
522 u16 PPK[6]; /* temporary key for mixing */ in phase2() local526 PPK[i] = p1k[i]; /* first, copy P1K to PPK */ in phase2()527 PPK[5] = p1k[4] + iv16; /* next, add in IV16 */ in phase2()529 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()530 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()531 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()532 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()533 PPK[4] += _S_(PPK[3] ^ TK16(4)); in phase2()534 PPK[5] += _S_(PPK[4] ^ TK16(5)); /* Total # S-box lookups == 6 */ in phase2()536 PPK[0] += RotR1(PPK[5] ^ TK16(6)); in phase2()[all …]
606 u16 PPK[6]; /* temporary key for mixing */ in phase2() local610 PPK[i] = p1k[i]; /* first, copy P1K to PPK */ in phase2()612 PPK[5] = p1k[4]+iv16; /* next, add in IV16 */ in phase2()615 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()616 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()617 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()618 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()619 PPK[4] += _S_(PPK[3] ^ TK16(4)); in phase2()620 PPK[5] += _S_(PPK[4] ^ TK16(5)); /* Total # S-box lookups == 6 */ in phase2()623 PPK[0] += RotR1(PPK[5] ^ TK16(6)); in phase2()[all …]