Home
last modified time | relevance | path

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

123

/drivers/crypto/cavium/cpt/
A Dcptvf_algs.c122 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_ctx_hdr()
249 ctx->key_type = AES_128_BIT; in cvm_xts_setkey()
252 ctx->key_type = AES_256_BIT; in cvm_xts_setkey()
267 ctx->key_type = AES_128_BIT; in cvm_validate_keylen()
270 ctx->key_type = AES_192_BIT; in cvm_validate_keylen()
273 ctx->key_type = AES_256_BIT; in cvm_validate_keylen()
280 ctx->key_type = 0; in cvm_validate_keylen()
A Dcptvf_algs.h102 u8 key_type:2; member
/drivers/staging/rtl8723bs/os_dep/
A Drecv_linux.c141 enum nl80211_key_type key_type = 0; in rtw_handle_tkip_mic_err() local
163 key_type |= NL80211_KEYTYPE_GROUP; in rtw_handle_tkip_mic_err()
165 key_type |= NL80211_KEYTYPE_PAIRWISE; in rtw_handle_tkip_mic_err()
167 cfg80211_michael_mic_failure(padapter->pnetdev, (u8 *)&pmlmepriv->assoc_bssid[0], key_type, -1, in rtw_handle_tkip_mic_err()
/drivers/net/wireless/realtek/rtlwifi/
A Dcore.c1489 u8 key_type = NO_ENCRYPTION; in rtl_op_set_key() local
1520 key_type = WEP40_ENCRYPTION; in rtl_op_set_key()
1525 key_type = WEP104_ENCRYPTION; in rtl_op_set_key()
1528 key_type = TKIP_ENCRYPTION; in rtl_op_set_key()
1532 key_type = AESCCMP_ENCRYPTION; in rtl_op_set_key()
1539 key_type = AESCMAC_ENCRYPTION; in rtl_op_set_key()
1549 if (key_type == WEP40_ENCRYPTION || in rtl_op_set_key()
1550 key_type == WEP104_ENCRYPTION || in rtl_op_set_key()
1574 key_type == WEP104_ENCRYPTION) { in rtl_op_set_key()
1590 key_type); in rtl_op_set_key()
[all …]
/drivers/crypto/marvell/octeontx/
A Dotx_cptvf_algs.c411 ctx->key_type = OTX_CPT_AES_128_BIT; in otx_cpt_skcipher_xts_setkey()
414 ctx->key_type = OTX_CPT_AES_256_BIT; in otx_cpt_skcipher_xts_setkey()
446 ctx->key_type = OTX_CPT_AES_128_BIT; in cpt_aes_setkey()
449 ctx->key_type = OTX_CPT_AES_192_BIT; in cpt_aes_setkey()
452 ctx->key_type = OTX_CPT_AES_256_BIT; in cpt_aes_setkey()
777 ctx->key_type = OTX_CPT_AES_128_BIT; in aead_hmac_init()
780 ctx->key_type = OTX_CPT_AES_192_BIT; in aead_hmac_init()
783 ctx->key_type = OTX_CPT_AES_256_BIT; in aead_hmac_init()
863 ctx->key_type = OTX_CPT_AES_128_BIT; in otx_cpt_aead_gcm_aes_setkey()
867 ctx->key_type = OTX_CPT_AES_192_BIT; in otx_cpt_aead_gcm_aes_setkey()
[all …]
A Dotx_cptvf_algs.h133 u8 key_type; member
179 u8 key_type; member
/drivers/crypto/marvell/octeontx2/
A Dotx2_cptvf_algs.c431 ctx->key_type = OTX2_CPT_AES_128_BIT; in otx2_cpt_skcipher_xts_setkey()
434 ctx->key_type = OTX2_CPT_AES_192_BIT; in otx2_cpt_skcipher_xts_setkey()
437 ctx->key_type = OTX2_CPT_AES_256_BIT; in otx2_cpt_skcipher_xts_setkey()
469 ctx->key_type = OTX2_CPT_AES_128_BIT; in cpt_aes_setkey()
472 ctx->key_type = OTX2_CPT_AES_192_BIT; in cpt_aes_setkey()
475 ctx->key_type = OTX2_CPT_AES_256_BIT; in cpt_aes_setkey()
867 ctx->key_type = OTX2_CPT_AES_128_BIT; in aead_hmac_init()
870 ctx->key_type = OTX2_CPT_AES_192_BIT; in aead_hmac_init()
873 ctx->key_type = OTX2_CPT_AES_256_BIT; in aead_hmac_init()
946 ctx->key_type = OTX2_CPT_AES_128_BIT; in otx2_cpt_aead_gcm_aes_setkey()
[all …]
A Dotx2_cptvf_algs.h124 u8 key_type; member
175 u8 key_type; member
/drivers/video/fbdev/omap2/omapfb/dss/
A Dmanager-sysfs.c161 enum omap_dss_trans_key_type key_type; in manager_trans_key_type_show() local
166 key_type = info.trans_key_type; in manager_trans_key_type_show()
167 BUG_ON(key_type >= ARRAY_SIZE(trans_key_type_str)); in manager_trans_key_type_show()
169 return sysfs_emit(buf, "%s\n", trans_key_type_str[key_type]); in manager_trans_key_type_show()
/drivers/net/wireless/ti/wl1251/
A 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/
A Dcmd.c1354 cmd->key_type = KEY_WEP; in wl12xx_cmd_set_default_wep_key()
1369 u16 action, u8 id, u8 key_type, in wl1271_cmd_set_sta_key() argument
1388 if (key_type == KEY_WEP) in wl1271_cmd_set_sta_key()
1397 cmd->key_type = key_type; in wl1271_cmd_set_sta_key()
1404 if (key_type == KEY_TKIP) { in wl1271_cmd_set_sta_key()
1438 u16 action, u8 id, u8 key_type, in wl1271_cmd_set_ap_key() argument
1451 if (key_type == KEY_WEP) in wl1271_cmd_set_ap_key()
1463 (int)key_type, (int)hlid); in wl1271_cmd_set_ap_key()
1469 cmd->key_type = key_type; in wl1271_cmd_set_ap_key()
1474 if (key_type == KEY_TKIP) { in wl1271_cmd_set_ap_key()
A Dcmd.h62 u16 action, u8 id, u8 key_type,
66 u16 action, u8 id, u8 key_type,
497 u8 key_type; member
A Dmain.c3361 ap_key->key_type = key_type; in wl1271_record_ap_key()
3400 key->id, key->key_type, in wl1271_ap_init_hwenc()
3407 if (key->key_type == KEY_WEP) in wl1271_ap_init_hwenc()
3452 key_type, key_size, in wl1271_set_key()
3457 id, key_type, key_size, in wl1271_set_key()
3555 u8 key_type; in wlcore_set_key() local
3586 key_type = KEY_WEP; in wlcore_set_key()
3591 key_type = KEY_TKIP; in wlcore_set_key()
3595 key_type = KEY_AES; in wlcore_set_key()
3599 key_type = KEY_GEM; in wlcore_set_key()
[all …]
/drivers/crypto/ccree/
A Dcc_cipher.c51 enum cc_key_type key_type; member
68 return ctx_p->key_type; in cc_key_type()
360 ctx_p->key_type = CC_HW_PROTECTED_KEY; in cc_cipher_sethkey()
382 ctx_p->key_type = CC_POLICY_PROTECTED_KEY; in cc_cipher_sethkey()
440 ctx_p->key_type = CC_UNPROTECTED_KEY; in cc_cipher_setkey()
516 if (ctx_p->key_type == CC_POLICY_PROTECTED_KEY) in cc_setup_readiv_desc()
800 bool last_desc = (ctx_p->key_type == CC_POLICY_PROTECTED_KEY || in cc_setup_flow_desc()
932 if (ctx_p->key_type == CC_POLICY_PROTECTED_KEY) { in cc_cipher_process()
/drivers/net/ethernet/netronome/nfp/flower/
A Dmatch.c12 struct nfp_flower_meta_tci *msk, u8 key_type) in nfp_flower_compile_meta() argument
15 ext->nfp_flow_key_layer = key_type; in nfp_flower_compile_meta()
18 msk->nfp_flow_key_layer = key_type; in nfp_flower_compile_meta()
54 struct flow_rule *rule, u8 key_type, bool qinq_sup) in nfp_flower_compile_meta_tci() argument
59 nfp_flower_compile_meta(ext, msk, key_type); in nfp_flower_compile_meta_tci()
/drivers/net/ethernet/mscc/
A Docelot_ptp.c316 trap->key_type = OCELOT_VCAP_KEY_ETYPE; in ocelot_populate_l2_ptp_trap_key()
324 trap->key_type = OCELOT_VCAP_KEY_IPV4; in ocelot_populate_ipv4_ptp_event_trap_key()
334 trap->key_type = OCELOT_VCAP_KEY_IPV6; in ocelot_populate_ipv6_ptp_event_trap_key()
344 trap->key_type = OCELOT_VCAP_KEY_IPV4; in ocelot_populate_ipv4_ptp_general_trap_key()
354 trap->key_type = OCELOT_VCAP_KEY_IPV6; in ocelot_populate_ipv6_ptp_general_trap_key()
A Docelot_flower.c649 filter->key_type = OCELOT_VCAP_KEY_ANY; in ocelot_flower_parse_key()
688 filter->key_type = OCELOT_VCAP_KEY_ETYPE; in ocelot_flower_parse_key()
711 filter->key_type = OCELOT_VCAP_KEY_IPV4; in ocelot_flower_parse_key()
725 filter->key_type = OCELOT_VCAP_KEY_IPV6; in ocelot_flower_parse_key()
800 filter->key_type = OCELOT_VCAP_KEY_ETYPE; in ocelot_flower_parse_key()
A Docelot_vcap.c388 switch (filter->key_type) { in is2_entry_set()
494 if (filter->key_type == OCELOT_VCAP_KEY_IPV4) { in is2_entry_set()
705 switch (filter->key_type) { in is1_entry_set()
1105 if (filter->key_type != OCELOT_VCAP_KEY_ETYPE) in ocelot_vcap_is_problematic_mac_etype()
1127 if (filter->key_type == OCELOT_VCAP_KEY_SNAP) in ocelot_vcap_is_problematic_non_mac_etype()
1129 if (filter->key_type == OCELOT_VCAP_KEY_ARP) in ocelot_vcap_is_problematic_non_mac_etype()
1131 if (filter->key_type == OCELOT_VCAP_KEY_IPV4) in ocelot_vcap_is_problematic_non_mac_etype()
1133 if (filter->key_type == OCELOT_VCAP_KEY_IPV6) in ocelot_vcap_is_problematic_non_mac_etype()
/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dcrypto.h16 u32 key_type, u32 *p_key_id);
/drivers/net/wireless/ath/ath6kl/
A 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()
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()
1351 key_type = vif->prwise_crypto; in ath6kl_cfg80211_set_default_key()
1353 key_type = vif->grp_crypto; in ath6kl_cfg80211_set_default_key()
[all …]
/drivers/media/platform/ti/omap/
A Domap_vout.c733 enum omap_dss_trans_key_type key_type = in vidioc_s_fmt_vid_overlay() local
748 key_type = OMAP_DSS_COLOR_KEY_VID_SRC; in vidioc_s_fmt_vid_overlay()
756 info.trans_key_type = key_type; in vidioc_s_fmt_vid_overlay()
1126 enum omap_dss_trans_key_type key_type = OMAP_DSS_COLOR_KEY_GFX_DST; in vidioc_s_fbuf() local
1144 key_type = OMAP_DSS_COLOR_KEY_VID_SRC; in vidioc_s_fbuf()
1150 key_type = OMAP_DSS_COLOR_KEY_GFX_DST; in vidioc_s_fbuf()
1164 info.trans_key_type = key_type; in vidioc_s_fbuf()
/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_nix.c3979 u32 key_type, valid_key; in set_flowkey_fields() local
4023 key_type = BIT(idx); in set_flowkey_fields()
4024 valid_key = flow_cfg & key_type; in set_flowkey_fields()
4031 switch (key_type) { in set_flowkey_fields()
4139 if ((key_type == NIX_FLOW_KEY_TYPE_TCP || in set_flowkey_fields()
4156 if (key_type == NIX_FLOW_KEY_TYPE_SCTP || in set_flowkey_fields()
4173 if (key_type == NIX_FLOW_KEY_TYPE_TCP) in set_flowkey_fields()
4202 if (key_type == NIX_FLOW_KEY_TYPE_GENEVE) { in set_flowkey_fields()
4260 if (key_type == NIX_FLOW_KEY_TYPE_AH) { in set_flowkey_fields()
4275 if (key_type == NIX_FLOW_KEY_TYPE_ESP || in set_flowkey_fields()
[all …]
/drivers/net/wireless/intersil/p54/
A Dlmac.h251 u8 key_type; member
441 u8 key_type; member
/drivers/platform/cznic/
A Dturris-signing-key.c117 static struct key_type turris_signing_key_type = {
/drivers/net/wireless/ath/ath9k/
A 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()
321 tx_hdr.key_type = ath9k_cmn_get_hw_crypto_keytype(skb); in ath9k_htc_tx_data()
322 if (tx_hdr.key_type == ATH9K_KEY_TYPE_CLEAR) in ath9k_htc_tx_data()

Completed in 83 milliseconds

123