/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_linux.c | 114 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 …]
|
D | ioctl_cfg80211.c | 1763 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/ |
D | zcrypt_msgtype6.h | 127 short int key_length; in rng_type6CPRB_msgX() member 154 msg->key_length = 0x02; in rng_type6CPRB_msgX()
|
D | zcrypt_ccamisc.c | 311 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()
|
D | zcrypt_cex2c.c | 198 short int key_length; in zcrypt_cex2c_rng_supported() member
|
D | zcrypt_msgtype6.c | 1319 short int key_length; in zcrypt_msgtype6_rng() member
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_ioctl_set.c | 437 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/ |
D | cipher.c | 274 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/ |
D | eap_packet.h | 43 unsigned short key_length; member
|
/drivers/net/ethernet/mscc/ |
D | ocelot_flower.c | 394 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/ |
D | artpec6_crypto.c | 327 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/ |
D | key.c | 37 msg->key_length = key->keylen; in fill_wep_pair() 48 msg->key_length = key->keylen; in fill_wep_group()
|
D | hif_api_cmd.h | 434 u8 key_length; member 440 u8 key_length; member
|
/drivers/net/wireless/marvell/mwifiex/ |
D | sta_ioctl.c | 931 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()
|
D | sta_cmd.c | 538 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()
|
D | uap_cmd.c | 135 wep_key.key_length; in mwifiex_set_secure_params() 138 wep_key.key_length); in mwifiex_set_secure_params()
|
D | main.h | 474 u32 key_length; member
|
D | cfg80211.c | 489 wep_key->key_length = params->key_len; in mwifiex_cfg80211_add_key()
|
/drivers/staging/rtl8723bs/include/ |
D | wlan_bssdef.h | 115 u32 key_length; /* length of key in bytes */ member
|
/drivers/net/dsa/ocelot/ |
D | felix.c | 35 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/ |
D | txrx.h | 449 __be16 key_length; member
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.h | 596 u8 key_length; /* use bit as unit */ member
|
D | hclge_main.c | 5912 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/ |
D | dasd_eckd.c | 3451 cdata->key_length = fmt_buffer[pos].kl; in dasd_eckd_format_evaluate_tracks()
|