Home
last modified time | relevance | path

Searched refs:key_length (Results 1 – 24 of 24) sorted by relevance

/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c114 pwep->key_length = wep_key_len; in wpa_set_encryption()
129 memcpy(pwep->key_material, param->u.crypt.key, pwep->key_length); in wpa_set_encryption()
143 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); in wpa_set_encryption()
144 psecuritypriv->dot11DefKeylen[wep_key_idx] = pwep->key_length; in wpa_set_encryption()
604 pwep->key_length = wep_key_len; in rtw_set_encryption()
611 memcpy(pwep->key_material, param->u.crypt.key, pwep->key_length); in rtw_set_encryption()
619 if (pwep->key_length == 13) { in rtw_set_encryption()
627 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); in rtw_set_encryption()
629 psecuritypriv->dot11DefKeylen[wep_key_idx] = pwep->key_length; in rtw_set_encryption()
631 rtw_ap_set_wep_key(padapter, pwep->key_material, pwep->key_length, wep_key_idx, 1); in rtw_set_encryption()
[all …]
Dioctl_cfg80211.c1763 pwep->key_length = wep_key_len; in cfg80211_rtw_connect()
1778 memcpy(pwep->key_material, (void *)sme->key, pwep->key_length); in cfg80211_rtw_connect()
/drivers/s390/crypto/
Dzcrypt_msgtype6.h127 short int key_length; in rng_type6CPRB_msgX() member
154 msg->key_length = 0x02; in rng_type6CPRB_msgX()
Dzcrypt_ccamisc.c311 char key_length[8]; in cca_genseckey() member
357 memcpy(preqparm->lv1.key_length, "KEYLN16 ", 8); in cca_genseckey()
362 memcpy(preqparm->lv1.key_length, "KEYLN24 ", 8); in cca_genseckey()
367 memcpy(preqparm->lv1.key_length, "KEYLN32 ", 8); in cca_genseckey()
Dzcrypt_cex2c.c198 short int key_length; in zcrypt_cex2c_rng_supported() member
Dzcrypt_msgtype6.c1319 short int key_length; in zcrypt_msgtype6_rng() member
/drivers/staging/rtl8723bs/core/
Drtw_ioctl_set.c437 switch (wep->key_length) { in rtw_set_802_11_add_wep()
449 memcpy(&(psecuritypriv->dot11DefKey[keyid].skey[0]), &(wep->key_material), wep->key_length); in rtw_set_802_11_add_wep()
451 psecuritypriv->dot11DefKeylen[keyid] = wep->key_length; in rtw_set_802_11_add_wep()
/drivers/crypto/marvell/cesa/
Dcipher.c274 remaining = (ctx->aes.key_length - 16) / 4; in mv_cesa_aes_setkey()
275 offset = ctx->aes.key_length + 24 - remaining; in mv_cesa_aes_setkey()
711 for (i = 0; i < ctx->aes.key_length / sizeof(u32); i++) in mv_cesa_aes_op()
714 if (ctx->aes.key_length == 24) in mv_cesa_aes_op()
716 else if (ctx->aes.key_length == 32) in mv_cesa_aes_op()
/drivers/staging/ks7010/
Deap_packet.h43 unsigned short key_length; member
/drivers/net/ethernet/mscc/
Docelot_flower.c394 int key_length = vcap->keys[VCAP_ES0_IGR_PORT].length; in ocelot_flower_parse_indev() local
434 filter->ingress_port.mask = GENMASK(key_length - 1, 0); in ocelot_flower_parse_indev()
671 int key_length = vcap->keys[VCAP_ES0_EGR_PORT].length; in ocelot_vcap_filter_create() local
674 filter->egress_port.mask = GENMASK(key_length - 1, 0); in ocelot_vcap_filter_create()
/drivers/crypto/axis/
Dartpec6_crypto.c327 size_t key_length; member
1200 ctx->key_length); in artpec6_crypto_ctr_crypt()
1256 ctx->key_length = len; in artpec6_crypto_aead_set_key()
1612 ctx->key_length = keylen; in artpec6_crypto_cipher_set_key()
1638 ctx->key_length = keylen; in artpec6_crypto_xts_set_key()
1692 ctx->key_length, true, false); in artpec6_crypto_prepare_crypto()
1699 cipher_klen = ctx->key_length/2; in artpec6_crypto_prepare_crypto()
1701 cipher_klen = ctx->key_length; in artpec6_crypto_prepare_crypto()
1716 MODULE_NAME, ctx->key_length); in artpec6_crypto_prepare_crypto()
1856 ctx->key_length, true, false); in artpec6_crypto_prepare_aead()
[all …]
/drivers/staging/wfx/
Dkey.c37 msg->key_length = key->keylen; in fill_wep_pair()
48 msg->key_length = key->keylen; in fill_wep_group()
Dhif_api_cmd.h434 u8 key_length; member
440 u8 key_length; member
/drivers/net/wireless/marvell/mwifiex/
Dsta_ioctl.c931 if (!wep_key->key_length) { in mwifiex_sec_ioctl_set_wep_key()
939 wep_key->key_material, wep_key->key_length); in mwifiex_sec_ioctl_set_wep_key()
940 encrypt_key->key_len = wep_key->key_length; in mwifiex_sec_ioctl_set_wep_key()
953 wep_key->key_length = encrypt_key->key_len; in mwifiex_sec_ioctl_set_wep_key()
956 if (wep_key->key_length) { in mwifiex_sec_ioctl_set_wep_key()
Dsta_cmd.c538 if ((priv->wep_key[i].key_length == WLAN_KEY_LEN_WEP40) || in mwifiex_set_keyparamset_wep()
539 (priv->wep_key[i].key_length == WLAN_KEY_LEN_WEP104)) { in mwifiex_set_keyparamset_wep()
546 key_length + in mwifiex_set_keyparamset_wep()
554 cpu_to_le16(priv->wep_key[i].key_length); in mwifiex_set_keyparamset_wep()
566 priv->wep_key[i].key_length); in mwifiex_set_keyparamset_wep()
568 cur_key_param_len = priv->wep_key[i].key_length + in mwifiex_set_keyparamset_wep()
576 } else if (!priv->wep_key[i].key_length) { in mwifiex_set_keyparamset_wep()
581 (i + 1), priv->wep_key[i].key_length); in mwifiex_set_keyparamset_wep()
Duap_cmd.c135 wep_key.key_length; in mwifiex_set_secure_params()
138 wep_key.key_length); in mwifiex_set_secure_params()
Dmain.h474 u32 key_length; member
Dcfg80211.c489 wep_key->key_length = params->key_len; in mwifiex_cfg80211_add_key()
/drivers/staging/rtl8723bs/include/
Dwlan_bssdef.h115 u32 key_length; /* length of key in bytes */ member
/drivers/net/dsa/ocelot/
Dfelix.c35 int key_length, upstream, err; in felix_tag_8021q_rxvlan_add() local
44 key_length = ocelot->vcap[VCAP_ES0].keys[VCAP_ES0_IGR_PORT].length; in felix_tag_8021q_rxvlan_add()
60 outer_tagging_rule->ingress_port.mask = GENMASK(key_length - 1, 0); in felix_tag_8021q_rxvlan_add()
62 outer_tagging_rule->egress_port.mask = GENMASK(key_length - 1, 0); in felix_tag_8021q_rxvlan_add()
/drivers/net/wireless/ath/wil6210/
Dtxrx.h449 __be16 key_length; member
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h596 u8 key_length; /* use bit as unit */ member
Dhclge_main.c5912 tuple_size = meta_data_key_info[i].key_length; in hclge_fd_convert_meta_data()
5964 tuple_size = tuple_key_info[i].key_length / 8; in hclge_config_key()
/drivers/s390/block/
Ddasd_eckd.c3451 cdata->key_length = fmt_buffer[pos].kl; in dasd_eckd_format_evaluate_tracks()