| /drivers/crypto/cavium/cpt/ |
| A D | cptvf_algs.c | 122 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 D | cptvf_algs.h | 102 u8 key_type:2; member
|
| /drivers/staging/rtl8723bs/os_dep/ |
| A D | recv_linux.c | 141 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 D | core.c | 1489 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 D | otx_cptvf_algs.c | 411 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 D | otx_cptvf_algs.h | 133 u8 key_type; member 179 u8 key_type; member
|
| /drivers/crypto/marvell/octeontx2/ |
| A D | otx2_cptvf_algs.c | 431 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 D | otx2_cptvf_algs.h | 124 u8 key_type; member 175 u8 key_type; member
|
| /drivers/video/fbdev/omap2/omapfb/dss/ |
| A D | manager-sysfs.c | 161 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 D | main.c | 837 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 D | cmd.c | 1354 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 D | cmd.h | 62 u16 action, u8 id, u8 key_type, 66 u16 action, u8 id, u8 key_type, 497 u8 key_type; member
|
| A D | main.c | 3361 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 D | cc_cipher.c | 51 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 D | match.c | 12 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 D | ocelot_ptp.c | 316 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 D | ocelot_flower.c | 649 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 D | ocelot_vcap.c | 388 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 D | crypto.h | 16 u32 key_type, u32 *p_key_id);
|
| /drivers/net/wireless/ath/ath6kl/ |
| A D | cfg80211.c | 1136 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 D | omap_vout.c | 733 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 D | rvu_nix.c | 3979 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 D | lmac.h | 251 u8 key_type; member 441 u8 key_type; member
|
| /drivers/platform/cznic/ |
| A D | turris-signing-key.c | 117 static struct key_type turris_signing_key_type = {
|
| /drivers/net/wireless/ath/ath9k/ |
| A D | htc_drv_txrx.c | 249 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()
|