Home
last modified time | relevance | path

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

/drivers/staging/rtl8712/
Drtl871x_security.c168 u32 curfragnum, length, keylength; in r8712_wep_encrypt() local
181 keylength = psecuritypriv->DefKeylen[psecuritypriv-> in r8712_wep_encrypt()
189 keylength); in r8712_wep_encrypt()
197 arcfour_init(&mycontext, wepkey, 3 + keylength); in r8712_wep_encrypt()
208 arcfour_init(&mycontext, wepkey, 3 + keylength); in r8712_wep_encrypt()
225 u32 length, keylength; in r8712_wep_decrypt() local
239 keylength = psecuritypriv->DefKeylen[keyindex]; in r8712_wep_decrypt()
243 keylength); in r8712_wep_decrypt()
248 arcfour_init(&mycontext, wepkey, 3 + keylength); in r8712_wep_decrypt()
/drivers/staging/rtl8188eu/core/
Drtw_security.c143 u32 keylength; in rtw_wep_encrypt() local
163 keylength = psecuritypriv->dot11DefKeylen[psecuritypriv->dot11PrivacyKeyIndex]; in rtw_wep_encrypt()
168 …y(&wepkey[3], &psecuritypriv->dot11DefKey[psecuritypriv->dot11PrivacyKeyIndex].skey[0], keylength); in rtw_wep_encrypt()
176 arcfour_init(&mycontext, wepkey, 3+keylength); in rtw_wep_encrypt()
182 arcfour_init(&mycontext, wepkey, 3+keylength); in rtw_wep_encrypt()
200 u32 keylength; in rtw_wep_decrypt() local
213 keylength = psecuritypriv->dot11DefKeylen[keyindex]; in rtw_wep_decrypt()
215 memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[keyindex].skey[0], keylength); in rtw_wep_decrypt()
221 arcfour_init(&mycontext, wepkey, 3+keylength); in rtw_wep_decrypt()
/drivers/crypto/chelsio/
Dchcr_algo.h421 unsigned int keylength) in get_aes_decrypt_key() argument
428 switch (keylength) { in get_aes_decrypt_key()