Searched refs:S_SWAP (Results 1 – 2 of 2) sorted by relevance
| /f-stack/freebsd/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 | 676 #define S_SWAP(a,b) do { u8 t = S[a]; S[a] = S[b]; S[b] = t; } while(0) in wep_encrypt() macro 684 S_SWAP(i, j); in wep_encrypt() 701 S_SWAP(i, j); in wep_encrypt() 723 S_SWAP(i, j); in wep_encrypt() 742 S_SWAP(i, j); in wep_decrypt() 757 S_SWAP(i, j); in wep_decrypt() 782 S_SWAP(i, j); in wep_decrypt()
|