Searched refs:S_SWAP (Results 1 – 3 of 3) sorted by relevance
/netbsd-src/sys/net80211/ |
H A D | ieee80211_crypto_wep.c | 305 #define S_SWAP(a,b) do { uint8_t t = S[a]; S[a] = S[b]; S[b] = t; } while(0) in wep_encrypt() macro 332 S_SWAP(i, j); in wep_encrypt() 351 S_SWAP(i, j); in wep_encrypt() 380 S_SWAP(i, j); in wep_encrypt() 384 #undef S_SWAP in wep_encrypt() 390 #define S_SWAP(a,b) do { uint8_t t = S[a]; S[a] = S[b]; S[b] = t; } while(0) in wep_decrypt() macro 414 S_SWAP(i, j); in wep_decrypt() 432 S_SWAP(i, j); in wep_decrypt() 466 S_SWAP(i, j); in wep_decrypt() 474 #undef S_SWAP in wep_decrypt()
|
H A D | ieee80211_crypto_tkip.c | 586 #define S_SWAP(a,b) do { u8 t = S[a]; S[a] = S[b]; S[b] = t; } while(0) in wep_encrypt() macro 594 S_SWAP(i, j); in wep_encrypt() 611 S_SWAP(i, j); in wep_encrypt() 633 S_SWAP(i, j); in wep_encrypt() 652 S_SWAP(i, j); in wep_decrypt() 667 S_SWAP(i, j); in wep_decrypt() 692 S_SWAP(i, j); in wep_decrypt()
|
/netbsd-src/external/bsd/wpa/dist/src/crypto/ |
H A D | rc4.c | 14 #define S_SWAP(a,b) do { u8 t = S[a]; S[a] = S[b]; S[b] = t; } while(0) macro 33 S_SWAP(i, j); in rc4_skip() 41 S_SWAP(i, j); in rc4_skip() 49 S_SWAP(i, j); in rc4_skip()
|