Searched refs:keylength (Results 1 – 3 of 3) sorted by relevance
/drivers/staging/rtl8712/ |
D | rtl871x_security.c | 155 u32 curfragnum, length, keylength, pki; in r8712_wep_encrypt() local 169 keylength = psecuritypriv->DefKeylen[pki]; in r8712_wep_encrypt() 176 keylength); in r8712_wep_encrypt() 185 arcfour_init(&mycontext, wepkey, 3 + keylength); in r8712_wep_encrypt() 196 arcfour_init(&mycontext, wepkey, 3 + keylength); in r8712_wep_encrypt() 213 u32 length, keylength; in r8712_wep_decrypt() local 227 keylength = psecuritypriv->DefKeylen[keyindex]; in r8712_wep_decrypt() 231 keylength); in r8712_wep_decrypt() 236 arcfour_init(&mycontext, wepkey, 3 + keylength); in r8712_wep_decrypt()
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_security.c | 220 u32 keylength; in rtw_wep_encrypt() local 237 keylength = psecuritypriv->dot11DefKeylen[psecuritypriv->dot11PrivacyKeyIndex]; in rtw_wep_encrypt() 242 …y(&wepkey[3], &psecuritypriv->dot11DefKey[psecuritypriv->dot11PrivacyKeyIndex].skey[0], keylength); in rtw_wep_encrypt() 251 arcfour_init(&mycontext, wepkey, 3+keylength); in rtw_wep_encrypt() 258 arcfour_init(&mycontext, wepkey, 3+keylength); in rtw_wep_encrypt() 277 u32 keylength; in rtw_wep_decrypt() local 290 keylength = psecuritypriv->dot11DefKeylen[keyindex]; in rtw_wep_decrypt() 293 memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[keyindex].skey[0], keylength); in rtw_wep_decrypt() 299 arcfour_init(&mycontext, wepkey, 3+keylength); in rtw_wep_decrypt()
|
/drivers/crypto/chelsio/ |
D | chcr_algo.c | 234 unsigned int keylength) in get_aes_decrypt_key() argument 241 switch (keylength) { in get_aes_decrypt_key()
|