Home
last modified time | relevance | path

Searched refs:key_type (Results 1 – 25 of 51) sorted by relevance

123

/drivers/crypto/cavium/cpt/
Dcptvf_algs.c122 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_ctx_hdr()
248 ctx->key_type = AES_128_BIT; in cvm_xts_setkey()
251 ctx->key_type = AES_256_BIT; in cvm_xts_setkey()
266 ctx->key_type = AES_128_BIT; in cvm_validate_keylen()
269 ctx->key_type = AES_192_BIT; in cvm_validate_keylen()
272 ctx->key_type = AES_256_BIT; in cvm_validate_keylen()
279 ctx->key_type = 0; in cvm_validate_keylen()
Dcptvf_algs.h102 u8 key_type:2; member
/drivers/staging/vt6655/
Dkey.c21 struct ieee80211_key_conf *key, u32 key_type, in vnt_set_keymode() argument
37 if (key_type != VNT_KEY_DEFAULTKEY) { in vnt_set_keymode()
49 switch (key_type) { in vnt_set_keymode()
/drivers/staging/vt6656/
Dkey.c37 struct ieee80211_key_conf *key, u32 key_type, in vnt_set_keymode() argument
53 if (key_type != VNT_KEY_DEFAULTKEY) { in vnt_set_keymode()
65 switch (key_type) { in vnt_set_keymode()
/drivers/net/wireless/realtek/rtlwifi/
Dcore.c1509 u8 key_type = NO_ENCRYPTION; in rtl_op_set_key() local
1540 key_type = WEP40_ENCRYPTION; in rtl_op_set_key()
1545 key_type = WEP104_ENCRYPTION; in rtl_op_set_key()
1548 key_type = TKIP_ENCRYPTION; in rtl_op_set_key()
1552 key_type = AESCCMP_ENCRYPTION; in rtl_op_set_key()
1559 key_type = AESCMAC_ENCRYPTION; in rtl_op_set_key()
1569 if (key_type == WEP40_ENCRYPTION || in rtl_op_set_key()
1570 key_type == WEP104_ENCRYPTION || in rtl_op_set_key()
1593 if (!group_key || key_type == WEP40_ENCRYPTION || in rtl_op_set_key()
1594 key_type == WEP104_ENCRYPTION) { in rtl_op_set_key()
[all …]
/drivers/staging/rtl8723bs/os_dep/
Drecv_linux.c173 enum nl80211_key_type key_type = 0; in rtw_handle_tkip_mic_err() local
195 key_type |= NL80211_KEYTYPE_GROUP; in rtw_handle_tkip_mic_err()
197 key_type |= NL80211_KEYTYPE_PAIRWISE; in rtw_handle_tkip_mic_err()
200 cfg80211_michael_mic_failure(padapter->pnetdev, (u8 *)&pmlmepriv->assoc_bssid[ 0 ], key_type, -1, in rtw_handle_tkip_mic_err()
/drivers/video/fbdev/omap2/omapfb/dss/
Dmanager-sysfs.c160 enum omap_dss_trans_key_type key_type; in manager_trans_key_type_show() local
165 key_type = info.trans_key_type; in manager_trans_key_type_show()
166 BUG_ON(key_type >= ARRAY_SIZE(trans_key_type_str)); in manager_trans_key_type_show()
168 return snprintf(buf, PAGE_SIZE, "%s\n", trans_key_type_str[key_type]); in manager_trans_key_type_show()
/drivers/net/wireless/ti/wl1251/
Dmain.c837 key->key_type = KEY_WEP_DEFAULT; in wl1251_set_key_type()
839 key->key_type = KEY_WEP_ADDR; in wl1251_set_key_type()
845 key->key_type = KEY_TKIP_MIC_GROUP; in wl1251_set_key_type()
847 key->key_type = KEY_TKIP_MIC_PAIRWISE; in wl1251_set_key_type()
853 key->key_type = KEY_AES_GROUP; in wl1251_set_key_type()
855 key->key_type = KEY_AES_PAIRWISE; in wl1251_set_key_type()
929 if (wl_cmd->key_type != KEY_WEP_DEFAULT) in wl1251_op_set_key()
932 if ((wl_cmd->key_type == KEY_TKIP_MIC_GROUP) || in wl1251_op_set_key()
933 (wl_cmd->key_type == KEY_TKIP_MIC_PAIRWISE)) { in wl1251_op_set_key()
/drivers/net/wireless/ti/wlcore/
Dcmd.c1346 cmd->key_type = KEY_WEP; in wl12xx_cmd_set_default_wep_key()
1361 u16 action, u8 id, u8 key_type, in wl1271_cmd_set_sta_key() argument
1380 if (key_type == KEY_WEP) in wl1271_cmd_set_sta_key()
1389 cmd->key_type = key_type; in wl1271_cmd_set_sta_key()
1396 if (key_type == KEY_TKIP) { in wl1271_cmd_set_sta_key()
1430 u16 action, u8 id, u8 key_type, in wl1271_cmd_set_ap_key() argument
1443 if (key_type == KEY_WEP) in wl1271_cmd_set_ap_key()
1453 (int)key_type, (int)hlid); in wl1271_cmd_set_ap_key()
1459 cmd->key_type = key_type; in wl1271_cmd_set_ap_key()
1464 if (key_type == KEY_TKIP) { in wl1271_cmd_set_ap_key()
Dcmd.h62 u16 action, u8 id, u8 key_type,
66 u16 action, u8 id, u8 key_type,
500 u8 key_type; member
Dmain.c3275 u8 id, u8 key_type, u8 key_size, in wl1271_record_ap_key() argument
3309 ap_key->key_type = key_type; in wl1271_record_ap_key()
3347 key->id, key->key_type, in wl1271_ap_init_hwenc()
3354 if (key->key_type == KEY_WEP) in wl1271_ap_init_hwenc()
3371 u16 action, u8 id, u8 key_type, in wl1271_set_key() argument
3398 key_type, key_size, in wl1271_set_key()
3403 id, key_type, key_size, in wl1271_set_key()
3436 id, key_type, key_size, in wl1271_set_key()
3503 u8 key_type; in wlcore_set_key() local
3533 key_type = KEY_WEP; in wlcore_set_key()
[all …]
/drivers/crypto/ccree/
Dcc_cipher.c56 enum cc_key_type key_type; member
71 return ctx_p->key_type; in cc_key_type()
344 ctx_p->key_type = CC_HW_PROTECTED_KEY; in cc_cipher_sethkey()
366 ctx_p->key_type = CC_POLICY_PROTECTED_KEY; in cc_cipher_sethkey()
402 ctx_p->key_type = CC_UNPROTECTED_KEY; in cc_cipher_setkey()
482 if (ctx_p->key_type == CC_POLICY_PROTECTED_KEY) in cc_setup_readiv_desc()
741 bool last_desc = (ctx_p->key_type == CC_POLICY_PROTECTED_KEY || in cc_setup_flow_desc()
864 if (ctx_p->key_type == CC_POLICY_PROTECTED_KEY) { in cc_cipher_process()
/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c1136 u8 key_type; in ath6kl_cfg80211_add_key() local
1182 key_type = WEP_CRYPT; in ath6kl_cfg80211_add_key()
1186 key_type = TKIP_CRYPT; in ath6kl_cfg80211_add_key()
1190 key_type = AES_CRYPT; in ath6kl_cfg80211_add_key()
1193 key_type = WAPI_CRYPT; in ath6kl_cfg80211_add_key()
1207 __func__, key_index, key->key_len, key_type, in ath6kl_cfg80211_add_key()
1211 (key_type == TKIP_CRYPT || key_type == AES_CRYPT || in ath6kl_cfg80211_add_key()
1212 key_type == WAPI_CRYPT)) { in ath6kl_cfg80211_add_key()
1215 ar->ap_mode_bkey.key_type = key_type; in ath6kl_cfg80211_add_key()
1229 if (vif->next_mode == AP_NETWORK && key_type == WEP_CRYPT && in ath6kl_cfg80211_add_key()
[all …]
/drivers/net/ethernet/netronome/nfp/flower/
Dmatch.c13 struct flow_cls_offload *flow, u8 key_type) in nfp_flower_compile_meta_tci() argument
22 ext->nfp_flow_key_layer = key_type; in nfp_flower_compile_meta_tci()
25 msk->nfp_flow_key_layer = key_type; in nfp_flower_compile_meta_tci()
/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dcrypto.c44 MLX5_SET(encryption_key_obj, obj, key_type, in mlx5_create_encryption_key()
/drivers/media/platform/omap/
Domap_vout.c732 enum omap_dss_trans_key_type key_type = in vidioc_s_fmt_vid_overlay() local
747 key_type = OMAP_DSS_COLOR_KEY_VID_SRC; in vidioc_s_fmt_vid_overlay()
755 info.trans_key_type = key_type; in vidioc_s_fmt_vid_overlay()
1123 enum omap_dss_trans_key_type key_type = OMAP_DSS_COLOR_KEY_GFX_DST; in vidioc_s_fbuf() local
1141 key_type = OMAP_DSS_COLOR_KEY_VID_SRC; in vidioc_s_fbuf()
1147 key_type = OMAP_DSS_COLOR_KEY_GFX_DST; in vidioc_s_fbuf()
1161 info.trans_key_type = key_type; in vidioc_s_fbuf()
/drivers/net/wireless/intersil/p54/
Dlmac.h251 u8 key_type; member
441 u8 key_type; member
Dtxrx.c466 switch (entry_data->key_type) { in p54_rx_frame_sent()
908 txhdr->key_type = p54_convert_algo(info->control.hw_key->cipher); in p54_tx_80211()
922 txhdr->key_type = 0; in p54_tx_80211()
/drivers/bluetooth/
Dbtintel.h30 __u8 key_type; member
/drivers/net/wireless/ath/ath9k/
Dhtc.h79 u8 key_type; member
90 u8 key_type; member
Dhtc_drv_txrx.c249 mgmt_hdr.key_type = ath9k_cmn_get_hw_crypto_keytype(skb); in ath9k_htc_tx_mgmt()
250 if (mgmt_hdr.key_type == ATH9K_KEY_TYPE_CLEAR) in ath9k_htc_tx_mgmt()
316 tx_hdr.key_type = ath9k_cmn_get_hw_crypto_keytype(skb); in ath9k_htc_tx_data()
317 if (tx_hdr.key_type == ATH9K_KEY_TYPE_CLEAR) in ath9k_htc_tx_data()
/drivers/net/wireless/marvell/libertas/
Dcfg.c975 int key_type, int key_info, in lbs_set_key_material() argument
1001 cmd.param.keytypeid = cpu_to_le16(key_type); in lbs_set_key_material()
1465 u16 key_type; in lbs_cfg_add_key() local
1502 key_type = (params->cipher == WLAN_CIPHER_SUITE_TKIP) in lbs_cfg_add_key()
1506 key_type, in lbs_cfg_add_key()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum1_acl_tcam.c238 .key_type = MLXSW_REG_PTAR_KEY_TYPE_FLEX,
Dspectrum_acl_ctcam.c21 region->key_type, new_size, region->id, in mlxsw_sp_acl_ctcam_region_resize()
Dspectrum2_acl_tcam.c252 .key_type = MLXSW_REG_PTAR_KEY_TYPE_FLEX2,

123