Searched refs:S_SWAP (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/wpa/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()
|
/freebsd/sys/net80211/ |
H A D | ieee80211_crypto_wep.c | 347 #define S_SWAP(a,b) do { uint8_t t = S[a]; S[a] = S[b]; S[b] = t; } while(0) in wep_encrypt() macro 372 S_SWAP(i, j); in wep_encrypt() 391 S_SWAP(i, j); in wep_encrypt() 420 S_SWAP(i, j); in wep_encrypt() 424 #undef S_SWAP in wep_encrypt() 430 #define S_SWAP(a,b) do { uint8_t t = S[a]; S[a] = S[b]; S[b] = t; } while(0) in wep_decrypt() macro 455 S_SWAP(i, j); in wep_decrypt() 473 S_SWAP(i, j); in wep_decrypt() 503 S_SWAP(i, j); in wep_decrypt() 511 #undef S_SWAP in wep_decrypt()
|
H A D | ieee80211_crypto_tkip.c | 674 #define S_SWAP(a,b) do { u8 t = S[a]; S[a] = S[b]; S[b] = t; } while(0) in wep_encrypt() macro 682 S_SWAP(i, j); in wep_encrypt() 699 S_SWAP(i, j); in wep_encrypt() 721 S_SWAP(i, j); in wep_encrypt() 740 S_SWAP(i, j); in wep_decrypt() 755 S_SWAP(i, j); in wep_decrypt() 780 S_SWAP(i, j); in wep_decrypt()
|