Home
last modified time | relevance | path

Searched refs:klen (Results 1 – 5 of 5) sorted by relevance

/drivers/staging/rtl8187se/ieee80211/
Dieee80211_crypt_wep.c109 u32 klen, len; in prism2_wep_encrypt() local
125 klen = 3 + wep->key_len; in prism2_wep_encrypt()
134 if (B >= 3 && B < klen) in prism2_wep_encrypt()
155 crypto_blkcipher_setkey(wep->tx_tfm, key, klen); in prism2_wep_encrypt()
173 u32 klen, plen; in prism2_wep_decrypt() local
191 klen = 3 + wep->key_len; in prism2_wep_decrypt()
199 crypto_blkcipher_setkey(wep->rx_tfm, key, klen); in prism2_wep_decrypt()
/drivers/staging/rtl8192e/
Drtllib_crypt_wep.c99 u32 klen, len; in prism2_wep_encrypt() local
120 klen = 3 + wep->key_len; in prism2_wep_encrypt()
129 if (B >= 3 && B < klen) in prism2_wep_encrypt()
153 crypto_blkcipher_setkey(wep->tx_tfm, key, klen); in prism2_wep_encrypt()
171 u32 klen, plen; in prism2_wep_decrypt() local
191 klen = 3 + wep->key_len; in prism2_wep_decrypt()
201 crypto_blkcipher_setkey(wep->rx_tfm, key, klen); in prism2_wep_decrypt()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_wep.c105 u32 klen, len; in prism2_wep_encrypt() local
122 klen = 3 + wep->key_len; in prism2_wep_encrypt()
131 if (B >= 3 && B < klen) in prism2_wep_encrypt()
155 crypto_blkcipher_setkey(wep->tx_tfm, key, klen); in prism2_wep_encrypt()
175 u32 klen, plen; in prism2_wep_decrypt() local
194 klen = 3 + wep->key_len; in prism2_wep_decrypt()
204 crypto_blkcipher_setkey(wep->rx_tfm, key, klen); in prism2_wep_decrypt()
/drivers/net/ethernet/sun/
Dcassini.c3245 int klen = readb(p + 2); in cas_get_vpd_info() local
3294 if ((klen == 29) && readb(p + 4) == 6 && in cas_get_vpd_info()
3312 if ((klen == 24) && in cas_get_vpd_info()
3323 if ((klen == 18) && readb(p + 4) == 4 && in cas_get_vpd_info()
3331 if ((klen == 23) && readb(p + 4) == 4 && in cas_get_vpd_info()
3346 p += klen; in cas_get_vpd_info()
/drivers/net/wireless/
Dairo.c506 __le16 klen; member
5169 int klen = min_t(int, buflen, le16_to_cpu(wkr.klen)); in get_wep_key() local
5170 memcpy(buf, wkr.key, klen); in get_wep_key()
5171 return klen; in get_wep_key()
5213 wkr.klen = cpu_to_le16(keylen); in set_wep_key()
5334 le16_to_cpu(wkr.klen)); in proc_wepkey_open()