ieee80211_crypto_attach , ieee80211_crypto_detach , ieee80211_wep_crypt - 802.11 WEP encryption functions
The
ieee80211_crypto_attach ();
function initializes crypto support for the interface
Fa ifp ,
and sets the initialization vector (IV) for WEP encryption to
a random number derived from a secure PRNG.
The
ieee80211_crypto_detach ();
function frees data structures associated with crypto support
for the interface
Fa ifp .
The
ieee80211_wep_crypt ();
function runs the appropriate WEP encryption algorithm over the 802.11
encapsulated frame held in the mbuf chain
Fa m0 ,
for transmission or reception on the interface
Fa ifp .
The
Fa txflag
argument specifies whether the frame is being received or transmitted.
A value of 0 indicates that the frame is being received and should
therefore be decrypted; a non-zero value indicates that the frame
is being transmitted
and should be encrypted.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |