| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/crypto/ |
| H A D | ccmp.c | 195 u8 *crypt, *pos, *pdata; in ccmp_encrypt() local 202 crypt = os_malloc(hdrlen + 8 + plen + 8 + AES_BLOCK_SIZE); in ccmp_encrypt() 203 if (crypt == NULL) in ccmp_encrypt() 207 os_memcpy(crypt, frame, hdrlen + 8); in ccmp_encrypt() 208 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 210 pos = crypt + hdrlen + 8; in ccmp_encrypt() 213 os_memcpy(crypt, frame, hdrlen); in ccmp_encrypt() 214 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 216 pos = crypt + hdrlen; in ccmp_encrypt() 229 ccmp_aad_nonce(padapter, hdr, crypt + hdrlen, aad, &aad_len, nonce); in ccmp_encrypt() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/crypto/ |
| H A D | ccmp.c | 195 u8 *crypt, *pos, *pdata; in ccmp_encrypt() local 202 crypt = os_malloc(hdrlen + 8 + plen + 8 + AES_BLOCK_SIZE); in ccmp_encrypt() 203 if (crypt == NULL) in ccmp_encrypt() 207 os_memcpy(crypt, frame, hdrlen + 8); in ccmp_encrypt() 208 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 210 pos = crypt + hdrlen + 8; in ccmp_encrypt() 213 os_memcpy(crypt, frame, hdrlen); in ccmp_encrypt() 214 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 216 pos = crypt + hdrlen; in ccmp_encrypt() 229 ccmp_aad_nonce(padapter, hdr, crypt + hdrlen, aad, &aad_len, nonce); in ccmp_encrypt() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/ |
| H A D | phl_sec.c | 24 struct phl_sec_param_h *crypt, in _phl_set_key() argument 32 crypt->enc_type, crypt->keyid, crypt->key_type); in _phl_set_key() 35 crypt->enc_type, in _phl_set_key() 36 (crypt->key_len==RTW_PHL_EXT_KEY_LEN)?1:0, in _phl_set_key() 37 crypt->spp, in _phl_set_key() 38 crypt->keyid, in _phl_set_key() 39 crypt->key_type, in _phl_set_key() 50 struct phl_sec_param_h *crypt; member 66 param->crypt->key_len); in _phl_cmd_set_key_done() 68 if (param->crypt) in _phl_cmd_set_key_done() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/ |
| H A D | phl_sec.c | 24 struct phl_sec_param_h *crypt, in _phl_set_key() argument 32 crypt->enc_type, crypt->keyid, crypt->key_type); in _phl_set_key() 35 crypt->enc_type, in _phl_set_key() 36 (crypt->key_len==RTW_PHL_EXT_KEY_LEN)?1:0, in _phl_set_key() 37 crypt->spp, in _phl_set_key() 38 crypt->keyid, in _phl_set_key() 39 crypt->key_type, in _phl_set_key() 50 struct phl_sec_param_h *crypt; member 66 param->crypt->key_len); in _phl_cmd_set_key_done() 68 if (param->crypt) in _phl_cmd_set_key_done() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/crypto/ |
| H A D | ccmp.c | 195 u8 *crypt, *pos, *pdata; in ccmp_encrypt() local 202 crypt = os_malloc(hdrlen + 8 + plen + 8 + AES_BLOCK_SIZE); in ccmp_encrypt() 203 if (crypt == NULL) in ccmp_encrypt() 207 os_memcpy(crypt, frame, hdrlen + 8); in ccmp_encrypt() 208 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 210 pos = crypt + hdrlen + 8; in ccmp_encrypt() 213 os_memcpy(crypt, frame, hdrlen); in ccmp_encrypt() 214 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 216 pos = crypt + hdrlen; in ccmp_encrypt() 229 ccmp_aad_nonce(padapter, hdr, crypt + hdrlen, aad, &aad_len, nonce); in ccmp_encrypt() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/crypto/ |
| H A D | ccmp.c | 195 u8 *crypt, *pos, *pdata; in ccmp_encrypt() local 202 crypt = os_malloc(hdrlen + 8 + plen + 8 + AES_BLOCK_SIZE); in ccmp_encrypt() 203 if (crypt == NULL) in ccmp_encrypt() 207 os_memcpy(crypt, frame, hdrlen + 8); in ccmp_encrypt() 208 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 210 pos = crypt + hdrlen + 8; in ccmp_encrypt() 213 os_memcpy(crypt, frame, hdrlen); in ccmp_encrypt() 214 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 216 pos = crypt + hdrlen; in ccmp_encrypt() 229 ccmp_aad_nonce(padapter, hdr, crypt + hdrlen, aad, &aad_len, nonce); in ccmp_encrypt() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/crypto/ |
| H A D | ccmp.c | 195 u8 *crypt, *pos, *pdata; in ccmp_encrypt() local 202 crypt = os_malloc(hdrlen + 8 + plen + 8 + AES_BLOCK_SIZE); in ccmp_encrypt() 203 if (crypt == NULL) in ccmp_encrypt() 207 os_memcpy(crypt, frame, hdrlen + 8); in ccmp_encrypt() 208 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 210 pos = crypt + hdrlen + 8; in ccmp_encrypt() 213 os_memcpy(crypt, frame, hdrlen); in ccmp_encrypt() 214 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 216 pos = crypt + hdrlen; in ccmp_encrypt() 229 ccmp_aad_nonce(padapter, hdr, crypt + hdrlen, aad, &aad_len, nonce); in ccmp_encrypt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/crypto/ |
| H A D | ccmp.c | 194 u8 *crypt, *pos, *pdata; in ccmp_encrypt() local 201 crypt = os_malloc(hdrlen + 8 + plen + 8 + AES_BLOCK_SIZE); in ccmp_encrypt() 202 if (crypt == NULL) in ccmp_encrypt() 206 os_memcpy(crypt, frame, hdrlen + 8); in ccmp_encrypt() 207 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 209 pos = crypt + hdrlen + 8; in ccmp_encrypt() 212 os_memcpy(crypt, frame, hdrlen); in ccmp_encrypt() 213 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 215 pos = crypt + hdrlen; in ccmp_encrypt() 228 ccmp_aad_nonce(hdr, crypt + hdrlen, aad, &aad_len, nonce); in ccmp_encrypt() [all …]
|
| H A D | gcmp.c | 142 u8 aad[30], nonce[12], *crypt, *pos; in gcmp_encrypt() local 151 crypt = os_malloc(hdrlen + 8 + plen + 16 + AES_BLOCK_SIZE); in gcmp_encrypt() 152 if (crypt == NULL) in gcmp_encrypt() 156 os_memcpy(crypt, frame, hdrlen + 8); in gcmp_encrypt() 157 hdr = (struct ieee80211_hdr *)crypt; in gcmp_encrypt() 158 pos = crypt + hdrlen + 8; in gcmp_encrypt() 161 os_memcpy(crypt, frame, hdrlen); in gcmp_encrypt() 162 hdr = (struct ieee80211_hdr *)crypt; in gcmp_encrypt() 163 pos = crypt + hdrlen; in gcmp_encrypt() 177 gcmp_aad_nonce(hdr, crypt + hdrlen, aad, &aad_len, nonce); in gcmp_encrypt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/crypto/ |
| H A D | ccmp.c | 195 u8 *crypt, *pos, *pdata; in ccmp_encrypt() local 202 crypt = os_malloc(hdrlen + 8 + plen + 8 + AES_BLOCK_SIZE); in ccmp_encrypt() 203 if (crypt == NULL) in ccmp_encrypt() 207 os_memcpy(crypt, frame, hdrlen + 8); in ccmp_encrypt() 208 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 210 pos = crypt + hdrlen + 8; in ccmp_encrypt() 213 os_memcpy(crypt, frame, hdrlen); in ccmp_encrypt() 214 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 216 pos = crypt + hdrlen; in ccmp_encrypt() 229 ccmp_aad_nonce(hdr, crypt + hdrlen, aad, &aad_len, nonce); in ccmp_encrypt() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/crypto/ |
| H A D | ccmp.c | 195 u8 *crypt, *pos, *pdata; in ccmp_encrypt() local 202 crypt = os_malloc(hdrlen + 8 + plen + 8 + AES_BLOCK_SIZE); in ccmp_encrypt() 203 if (crypt == NULL) in ccmp_encrypt() 207 os_memcpy(crypt, frame, hdrlen + 8); in ccmp_encrypt() 208 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 210 pos = crypt + hdrlen + 8; in ccmp_encrypt() 213 os_memcpy(crypt, frame, hdrlen); in ccmp_encrypt() 214 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 216 pos = crypt + hdrlen; in ccmp_encrypt() 229 ccmp_aad_nonce(padapter, hdr, crypt + hdrlen, aad, &aad_len, nonce); in ccmp_encrypt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/crypto/ |
| H A D | ccmp.c | 195 u8 *crypt, *pos, *pdata; in ccmp_encrypt() local 202 crypt = os_malloc(hdrlen + 8 + plen + 8 + AES_BLOCK_SIZE); in ccmp_encrypt() 203 if (crypt == NULL) in ccmp_encrypt() 207 os_memcpy(crypt, frame, hdrlen + 8); in ccmp_encrypt() 208 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 210 pos = crypt + hdrlen + 8; in ccmp_encrypt() 213 os_memcpy(crypt, frame, hdrlen); in ccmp_encrypt() 214 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 216 pos = crypt + hdrlen; in ccmp_encrypt() 229 ccmp_aad_nonce(hdr, crypt + hdrlen, aad, &aad_len, nonce); in ccmp_encrypt() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/crypto/ |
| H A D | ccmp.c | 195 u8 *crypt, *pos, *pdata; in ccmp_encrypt() local 202 crypt = os_malloc(hdrlen + 8 + plen + 8 + AES_BLOCK_SIZE); in ccmp_encrypt() 203 if (crypt == NULL) in ccmp_encrypt() 207 os_memcpy(crypt, frame, hdrlen + 8); in ccmp_encrypt() 208 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 210 pos = crypt + hdrlen + 8; in ccmp_encrypt() 213 os_memcpy(crypt, frame, hdrlen); in ccmp_encrypt() 214 hdr = (struct ieee80211_hdr *) crypt; in ccmp_encrypt() 216 pos = crypt + hdrlen; in ccmp_encrypt() 229 ccmp_aad_nonce(padapter, hdr, crypt + hdrlen, aad, &aad_len, nonce); in ccmp_encrypt() [all …]
|
| H A D | gcmp.c | 143 u8 aad[30], nonce[12], *crypt, *pos; in gcmp_encrypt() local 152 crypt = os_malloc(hdrlen + 8 + plen + 16 + AES_BLOCK_SIZE); in gcmp_encrypt() 153 if (crypt == NULL) in gcmp_encrypt() 157 os_memcpy(crypt, frame, hdrlen + 8); in gcmp_encrypt() 158 hdr = (struct ieee80211_hdr *)crypt; in gcmp_encrypt() 159 pos = crypt + hdrlen + 8; in gcmp_encrypt() 162 os_memcpy(crypt, frame, hdrlen); in gcmp_encrypt() 163 hdr = (struct ieee80211_hdr *)crypt; in gcmp_encrypt() 164 pos = crypt + hdrlen; in gcmp_encrypt() 178 gcmp_aad_nonce(padapter, hdr, crypt + hdrlen, aad, &aad_len, nonce); in gcmp_encrypt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ |
| H A D | ixp4xx_crypto.c | 344 static void finish_scattered_hmac(struct crypt_ctl *crypt) in finish_scattered_hmac() argument 346 struct aead_request *req = crypt->data.aead_req; in finish_scattered_hmac() 356 dma_pool_free(buffer_pool, req_ctx->hmac_virt, crypt->icv_rev_aes); in finish_scattered_hmac() 362 struct crypt_ctl *crypt; in one_packet() local 368 crypt = crypt_phys2virt(phys); in one_packet() 370 switch (crypt->ctl_flags & CTL_FLAG_MASK) { in one_packet() 372 struct aead_request *req = crypt->data.aead_req; in one_packet() 375 free_buf_chain(dev, req_ctx->src, crypt->src_buf); in one_packet() 376 free_buf_chain(dev, req_ctx->dst, crypt->dst_buf); in one_packet() 378 finish_scattered_hmac(crypt); in one_packet() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/ipw2x00/ |
| H A D | libipw_tx.c | 141 struct lib80211_crypt_data *crypt = in libipw_encrypt_fragment() local 142 ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in libipw_encrypt_fragment() 145 if (crypt == NULL) in libipw_encrypt_fragment() 150 atomic_inc(&crypt->refcnt); in libipw_encrypt_fragment() 152 if (crypt->ops && crypt->ops->encrypt_mpdu) in libipw_encrypt_fragment() 153 res = crypt->ops->encrypt_mpdu(frag, hdr_len, crypt->priv); in libipw_encrypt_fragment() 155 atomic_dec(&crypt->refcnt); in libipw_encrypt_fragment() 259 struct lib80211_crypt_data *crypt; in libipw_xmit() local 283 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in libipw_xmit() 288 host_encrypt = ieee->host_encrypt && encrypt && crypt; in libipw_xmit() [all …]
|
| H A D | libipw_wx.c | 306 struct lib80211_crypt_data **crypt; in libipw_wx_set_encode() local 325 crypt = &ieee->crypt_info.crypt[key]; in libipw_wx_set_encode() 328 if (key_provided && *crypt) { in libipw_wx_set_encode() 331 lib80211_crypt_delayed_deinit(&ieee->crypt_info, crypt); in libipw_wx_set_encode() 338 if (ieee->crypt_info.crypt[i] != NULL) { in libipw_wx_set_encode() 342 &ieee->crypt_info.crypt[i]); in libipw_wx_set_encode() 360 if (*crypt != NULL && (*crypt)->ops != NULL && in libipw_wx_set_encode() 361 strcmp((*crypt)->ops->name, "WEP") != 0) { in libipw_wx_set_encode() 364 lib80211_crypt_delayed_deinit(&ieee->crypt_info, crypt); in libipw_wx_set_encode() 367 if (*crypt == NULL && host_crypto) { in libipw_wx_set_encode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/esa/common/ |
| H A D | crypt_new_rom.h | 67 extern void MRVL_WapiEncrypt(MRVL_ENDECRYPT_t *crypt, int *pErr); 68 extern void MRVL_WapiDecrypt(MRVL_ENDECRYPT_t *crypt, int *pErr); 71 extern BOOLEAN (*MRVL_AesPrimitiveEncrypt_hook) (MRVL_ENDECRYPT_t *crypt, 73 extern void MRVL_AesPrimitiveEncrypt(MRVL_ENDECRYPT_t *crypt, int *pErr); 75 extern BOOLEAN (*MRVL_AesPrimitiveDecrypt_hook) (MRVL_ENDECRYPT_t *crypt, 77 extern void MRVL_AesPrimitiveDecrypt(MRVL_ENDECRYPT_t *crypt, int *pErr); 79 extern BOOLEAN (*MRVL_AesWrapEncrypt_hook) (MRVL_ENDECRYPT_t *crypt, int *pErr); 80 extern void MRVL_AesWrapEncrypt(MRVL_ENDECRYPT_t *crypt, int *pErr); 82 extern BOOLEAN (*MRVL_AesWrapDecrypt_hook) (MRVL_ENDECRYPT_t *crypt, int *pErr); 83 extern void MRVL_AesWrapDecrypt(MRVL_ENDECRYPT_t *crypt, int *pErr); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8192u/ieee80211/ |
| H A D | ieee80211_wx.c | 283 struct ieee80211_crypt_data **crypt; in ieee80211_wx_set_encode() local 300 crypt = &ieee->crypt[key]; in ieee80211_wx_set_encode() 303 if (key_provided && *crypt) { in ieee80211_wx_set_encode() 306 ieee80211_crypt_delayed_deinit(ieee, crypt); in ieee80211_wx_set_encode() 313 if (ieee->crypt[i]) { in ieee80211_wx_set_encode() 317 ieee, &ieee->crypt[i]); in ieee80211_wx_set_encode() 335 if (*crypt && (*crypt)->ops && in ieee80211_wx_set_encode() 336 strcmp((*crypt)->ops->name, "WEP") != 0) { in ieee80211_wx_set_encode() 339 ieee80211_crypt_delayed_deinit(ieee, crypt); in ieee80211_wx_set_encode() 342 if (!*crypt) { in ieee80211_wx_set_encode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/hostap/ |
| H A D | hostap_80211_tx.c | 316 struct lib80211_crypt_data *crypt) in hostap_tx_encrypt() argument 332 strcmp(crypt->ops->name, "TKIP") == 0) { in hostap_tx_encrypt() 347 prefix_len = crypt->ops->extra_mpdu_prefix_len + in hostap_tx_encrypt() 348 crypt->ops->extra_msdu_prefix_len; in hostap_tx_encrypt() 349 postfix_len = crypt->ops->extra_mpdu_postfix_len + in hostap_tx_encrypt() 350 crypt->ops->extra_msdu_postfix_len; in hostap_tx_encrypt() 363 atomic_inc(&crypt->refcnt); in hostap_tx_encrypt() 365 if (crypt->ops->encrypt_msdu) in hostap_tx_encrypt() 366 res = crypt->ops->encrypt_msdu(skb, hdr_len, crypt->priv); in hostap_tx_encrypt() 367 if (res == 0 && crypt->ops->encrypt_mpdu) in hostap_tx_encrypt() [all …]
|
| H A D | hostap_ioctl.c | 132 struct lib80211_crypt_data **crypt; in prism2_ioctl_siwencode() local 145 crypt = &local->crypt_info.crypt[i]; in prism2_ioctl_siwencode() 148 if (*crypt) in prism2_ioctl_siwencode() 149 lib80211_crypt_delayed_deinit(&local->crypt_info, crypt); in prism2_ioctl_siwencode() 153 if (*crypt != NULL && (*crypt)->ops != NULL && in prism2_ioctl_siwencode() 154 strcmp((*crypt)->ops->name, "WEP") != 0) { in prism2_ioctl_siwencode() 156 lib80211_crypt_delayed_deinit(&local->crypt_info, crypt); in prism2_ioctl_siwencode() 159 if (*crypt == NULL) { in prism2_ioctl_siwencode() 183 *crypt = new_crypt; in prism2_ioctl_siwencode() 191 (*crypt)->ops->set_key(keybuf, len, NULL, (*crypt)->priv); in prism2_ioctl_siwencode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8192e/ |
| H A D | rtllib_wx.c | 297 struct lib80211_crypt_data **crypt; in rtllib_wx_set_encode() local 314 crypt = &ieee->crypt_info.crypt[key]; in rtllib_wx_set_encode() 316 if (key_provided && *crypt) { in rtllib_wx_set_encode() 319 lib80211_crypt_delayed_deinit(&ieee->crypt_info, crypt); in rtllib_wx_set_encode() 327 if (ieee->crypt_info.crypt[i] != NULL) { in rtllib_wx_set_encode() 331 &ieee->crypt_info.crypt[i]); in rtllib_wx_set_encode() 349 if (*crypt != NULL && (*crypt)->ops != NULL && in rtllib_wx_set_encode() 350 strcmp((*crypt)->ops->name, "R-WEP") != 0) { in rtllib_wx_set_encode() 354 lib80211_crypt_delayed_deinit(&ieee->crypt_info, crypt); in rtllib_wx_set_encode() 357 if (*crypt == NULL) { in rtllib_wx_set_encode() [all …]
|
| /OK3568_Linux_fs/buildroot/package/python3/ |
| H A D | 0033-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch | 4 Subject: [PATCH] lib/crypt: uClibc-ng doesn't set errno when encryption method 9 crypt() but uClibc-ng doesn't set errno in crypt() [2]. 16 [2] https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/libcrypt/crypt.c?h=v1.0.36#n29 20 Lib/crypt.py | 4 +++- 23 diff --git a/Lib/crypt.py b/Lib/crypt.py 25 --- a/Lib/crypt.py 26 +++ b/Lib/crypt.py 28 result = crypt('', salt)
|
| /OK3568_Linux_fs/kernel/net/wireless/ |
| H A D | lib80211.c | 73 struct lib80211_crypt_data *crypt = info->crypt[i]; in lib80211_crypt_info_free() local 74 if (crypt) { in lib80211_crypt_info_free() 75 if (crypt->ops) { in lib80211_crypt_info_free() 76 crypt->ops->deinit(crypt->priv); in lib80211_crypt_info_free() 77 module_put(crypt->ops->owner); in lib80211_crypt_info_free() 79 kfree(crypt); in lib80211_crypt_info_free() 80 info->crypt[i] = NULL; in lib80211_crypt_info_free() 137 struct lib80211_crypt_data **crypt) in lib80211_crypt_delayed_deinit() argument 142 if (*crypt == NULL) in lib80211_crypt_delayed_deinit() 145 tmp = *crypt; in lib80211_crypt_delayed_deinit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/os_dep/ |
| H A D | ioctl_cfg80211.c | 571 param->u.crypt.err = 0; in rtw_cfg80211_ap_set_encryption() 572 param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; in rtw_cfg80211_ap_set_encryption() 574 if (param_len != sizeof(struct ieee_param) + param->u.crypt.key_len) in rtw_cfg80211_ap_set_encryption() 584 if (param->u.crypt.idx >= WEP_KEYS) in rtw_cfg80211_ap_set_encryption() 601 if (strcmp(param->u.crypt.alg, "none") == 0 && (psta == NULL)) in rtw_cfg80211_ap_set_encryption() 605 DBG_8192C("clear default encryption keys, keyid =%d\n", param->u.crypt.idx); in rtw_cfg80211_ap_set_encryption() 611 if (strcmp(param->u.crypt.alg, "WEP") == 0 && (psta == NULL)) in rtw_cfg80211_ap_set_encryption() 615 wep_key_idx = param->u.crypt.idx; in rtw_cfg80211_ap_set_encryption() 616 wep_key_len = param->u.crypt.key_len; in rtw_cfg80211_ap_set_encryption() 649 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), param->u.crypt.key, wep_key_len); in rtw_cfg80211_ap_set_encryption() [all …]
|