Searched refs:PPK (Results 1 – 4 of 4) sorted by relevance
256 u16 *PPK = (u16 *) &WEPSeed[4]; in tkip_mixing_phase2() local259 PPK[0] = TTAK[0]; in tkip_mixing_phase2()260 PPK[1] = TTAK[1]; in tkip_mixing_phase2()261 PPK[2] = TTAK[2]; in tkip_mixing_phase2()262 PPK[3] = TTAK[3]; in tkip_mixing_phase2()263 PPK[4] = TTAK[4]; in tkip_mixing_phase2()264 PPK[5] = TTAK[4] + IV16; in tkip_mixing_phase2()267 PPK[0] += _S_(PPK[5] ^ Mk16_le((u16 *) &TK[0])); in tkip_mixing_phase2()268 PPK[1] += _S_(PPK[0] ^ Mk16_le((u16 *) &TK[2])); in tkip_mixing_phase2()269 PPK[2] += _S_(PPK[1] ^ Mk16_le((u16 *) &TK[4])); in tkip_mixing_phase2()[all …]
245 u16 *PPK = (u16 *) &WEPSeed[4]; in tkip_mixing_phase2() local248 PPK[0] = TTAK[0]; in tkip_mixing_phase2()249 PPK[1] = TTAK[1]; in tkip_mixing_phase2()250 PPK[2] = TTAK[2]; in tkip_mixing_phase2()251 PPK[3] = TTAK[3]; in tkip_mixing_phase2()252 PPK[4] = TTAK[4]; in tkip_mixing_phase2()253 PPK[5] = TTAK[4] + IV16; in tkip_mixing_phase2()256 PPK[0] += _S_(PPK[5] ^ Mk16_le((u16 *) &TK[0])); in tkip_mixing_phase2()257 PPK[1] += _S_(PPK[0] ^ Mk16_le((u16 *) &TK[2])); in tkip_mixing_phase2()258 PPK[2] += _S_(PPK[1] ^ Mk16_le((u16 *) &TK[4])); in tkip_mixing_phase2()[all …]
534 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()541 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()542 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()543 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()544 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()545 PPK[4] += _S_(PPK[3] ^ TK16(4)); in phase2()546 PPK[5] += _S_(PPK[4] ^ TK16(5)); /* Total # S-box lookups == 6 */ in phase2()548 PPK[0] += RotR1(PPK[5] ^ TK16(6)); in phase2()[all …]
516 u16 PPK[6]; /* temporary key for mixing */ in phase2() local519 PPK[i] = p1k[i]; /* first, copy P1K to PPK */ in phase2()520 PPK[5] = p1k[4] + iv16; /* next, add in IV16 */ in phase2()523 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()524 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()525 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()526 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()527 PPK[4] += _S_(PPK[3] ^ TK16(4)); in phase2()528 PPK[5] += _S_(PPK[4] ^ TK16(5)); /* Total # S-box lookups == 6 */ in phase2()531 PPK[0] += RotR1(PPK[5] ^ TK16(6)); in phase2()[all …]