Home
last modified time | relevance | path

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

/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_crypto_tkip.c741 Phase2(byte *RC4KEY, const byte *TK, const u16b *P1K, u16b IV16) in Phase2() argument
751 PPK = (u16b *)&RC4KEY[4]; in Phase2()
779 RC4KEY[0] = Hi8(IV16); /* RC4KEY[0..2] is the WEP IV */ in Phase2()
780 RC4KEY[1] =(Hi8(IV16) | 0x20) & 0x7F; /* Help avoid FMS weak keys */ in Phase2()
781 RC4KEY[2] = Lo8(IV16); in Phase2()
782 RC4KEY[3] = Lo8((PPK[5] ^ TK16(0)) >> 1); in Phase2()