Home
last modified time | relevance | path

Searched refs:RotR1 (Results 1 – 2 of 2) sorted by relevance

/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_crypto_tkip.c622 #define RotR1(v16) ((((v16) >> 1) & 0x7FFF) ^ (((v16) & 1) << 15)) macro
767 PPK[0] += RotR1(PPK[5] ^ TK16(6)); in Phase2()
768 PPK[1] += RotR1(PPK[0] ^ TK16(7)); /* Use all of TK[] in Phase2 */ in Phase2()
769 PPK[2] += RotR1(PPK[1]); in Phase2()
770 PPK[3] += RotR1(PPK[2]); in Phase2()
771 PPK[4] += RotR1(PPK[3]); in Phase2()
772 PPK[5] += RotR1(PPK[4]); in Phase2()
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_crypto_tkip.c516 static __inline u16 RotR1(u16 val) in RotR1() function
642 PPK[0] += RotR1(PPK[5] ^ Mk16_le((const u16 *) &TK[12])); in tkip_mixing_phase2()
643 PPK[1] += RotR1(PPK[0] ^ Mk16_le((const u16 *) &TK[14])); in tkip_mixing_phase2()
644 PPK[2] += RotR1(PPK[1]); in tkip_mixing_phase2()
645 PPK[3] += RotR1(PPK[2]); in tkip_mixing_phase2()
646 PPK[4] += RotR1(PPK[3]); in tkip_mixing_phase2()
647 PPK[5] += RotR1(PPK[4]); in tkip_mixing_phase2()