Searched refs:key_type (Results 1 - 96 of 96) sorted by relevance

/linux-4.1.27/include/keys/
H A Dceph-type.h6 extern struct key_type key_type_ceph;
H A Ddns_resolver-type.h17 extern struct key_type key_type_dns_resolver;
H A Dtrusted-type.h29 extern struct key_type key_type_trusted;
H A Duser-type.h35 extern struct key_type key_type_user;
36 extern struct key_type key_type_logon;
H A Dbig_key-type.h17 extern struct key_type key_type_big_key;
H A Dencrypted-type.h36 extern struct key_type key_type_encrypted;
H A Dasymmetric-type.h19 extern struct key_type key_type_asymmetric;
H A Drxrpc-type.h20 extern struct key_type key_type_rxrpc;
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/
H A Drecv_linux.c29 enum nl80211_key_type key_type = 0; rtw_handle_tkip_mic_err23a() local
51 key_type |= NL80211_KEYTYPE_GROUP; rtw_handle_tkip_mic_err23a()
53 key_type |= NL80211_KEYTYPE_PAIRWISE; rtw_handle_tkip_mic_err23a()
57 key_type, -1, NULL, GFP_ATOMIC); rtw_handle_tkip_mic_err23a()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
H A Dmanager-sysfs.c171 enum omap_dss_trans_key_type key_type; manager_trans_key_type_show() local
176 key_type = info.trans_key_type; manager_trans_key_type_show()
177 BUG_ON(key_type >= ARRAY_SIZE(trans_key_type_str)); manager_trans_key_type_show()
179 return snprintf(buf, PAGE_SIZE, "%s\n", trans_key_type_str[key_type]); manager_trans_key_type_show()
185 enum omap_dss_trans_key_type key_type; manager_trans_key_type_store() local
189 for (key_type = OMAP_DSS_COLOR_KEY_GFX_DST; manager_trans_key_type_store()
190 key_type < ARRAY_SIZE(trans_key_type_str); key_type++) { manager_trans_key_type_store()
191 if (sysfs_streq(buf, trans_key_type_str[key_type])) manager_trans_key_type_store()
195 if (key_type == ARRAY_SIZE(trans_key_type_str)) manager_trans_key_type_store()
200 info.trans_key_type = key_type; manager_trans_key_type_store()
/linux-4.1.27/security/keys/
H A Dinternal.h37 extern struct key_type key_type_dead;
38 extern struct key_type key_type_user;
39 extern struct key_type key_type_logon;
88 extern struct key_type *key_type_lookup(const char *type);
89 extern void key_type_put(struct key_type *ktype);
146 extern struct key *request_key_and_link(struct key_type *type,
170 extern void key_gc_keytype(struct key_type *ktype);
196 extern struct key_type key_type_request_key_auth;
H A Duser_defined.c27 struct key_type key_type_user = {
47 struct key_type key_type_logon = {
H A Dgc.c36 static struct key_type *key_gc_dead_keytype;
48 struct key_type key_type_dead = {
104 void key_gc_keytype(struct key_type *ktype) key_gc_keytype()
H A Drequest_key.c505 struct key *request_key_and_link(struct key_type *type, request_key_and_link()
616 struct key *request_key(struct key_type *type, request_key()
653 struct key *request_key_with_auxdata(struct key_type *type, request_key_with_auxdata()
689 struct key *request_key_async(struct key_type *type, request_key_async()
714 struct key *request_key_async_with_auxdata(struct key_type *type, request_key_async_with_auxdata()
H A Dkey.c224 struct key *key_alloc(struct key_type *type, const char *desc, key_alloc()
659 struct key_type *key_type_lookup(const char *type) key_type_lookup()
661 struct key_type *ktype; key_type_lookup()
702 void key_type_put(struct key_type *ktype) key_type_put()
1071 int register_key_type(struct key_type *ktype) register_key_type()
1073 struct key_type *p; register_key_type()
1107 void unregister_key_type(struct key_type *ktype) unregister_key_type()
H A Dbig_key.c34 struct key_type key_type_big_key = {
H A Drequest_key_auth.c35 struct key_type key_type_request_key_auth = {
H A Dkeyctl.c169 struct key_type *ktype; SYSCALL_DEFINE4()
638 struct key_type *ktype; keyctl_keyring_search()
H A Dkeyring.c86 struct key_type key_type_keyring = {
890 struct key_type *type, keyring_search()
H A Dtrusted.c1098 struct key_type key_type_trusted = {
/linux-4.1.27/include/linux/
H A Dkey.h81 struct key_type;
87 struct key_type *type;
184 struct key_type *type; /* type of key */
214 extern struct key *key_alloc(struct key_type *type,
247 extern struct key *request_key(struct key_type *type,
251 extern struct key *request_key_with_auxdata(struct key_type *type,
257 extern struct key *request_key_async(struct key_type *type,
262 extern struct key *request_key_async_with_auxdata(struct key_type *type,
299 struct key_type *type,
H A Dkey-type.h76 struct key_type { struct
157 extern struct key_type key_type_keyring;
159 extern int register_key_type(struct key_type *ktype);
160 extern void unregister_key_type(struct key_type *ktype);
/linux-4.1.27/drivers/staging/vt6655/
H A Dkey.c45 struct ieee80211_key_conf *key, u32 key_type, u32 mode, vnt_set_keymode()
61 if (key_type != VNT_KEY_DEFAULTKEY) { vnt_set_keymode()
73 switch (key_type) { vnt_set_keymode()
44 vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr, struct ieee80211_key_conf *key, u32 key_type, u32 mode, bool onfly_latch) vnt_set_keymode() argument
/linux-4.1.27/drivers/staging/vt6656/
H A Dkey.c51 struct ieee80211_key_conf *key, u32 key_type, u32 mode, vnt_set_keymode()
67 if (key_type != VNT_KEY_DEFAULTKEY) { vnt_set_keymode()
79 switch (key_type) { vnt_set_keymode()
50 vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr, struct ieee80211_key_conf *key, u32 key_type, u32 mode, bool onfly_latch) vnt_set_keymode() argument
/linux-4.1.27/net/bluetooth/
H A Damp.c185 BT_DBG("conn %p key_type %d", conn, conn->key_type); phylink_gen_key()
188 if (conn->key_type < 3) { phylink_gen_key()
189 BT_ERR("Legacy key type %d", conn->key_type); phylink_gen_key()
193 *type = conn->key_type; phylink_gen_key()
213 if (conn->key_type == HCI_LK_DEBUG_COMBINATION) { phylink_gen_key()
358 &cp.key_type)) { amp_create_phylink()
377 &cp.key_type)) { amp_accept_phylink()
H A Dhci_conn.c453 conn->key_type = 0xff; hci_conn_add()
948 conn->key_type != HCI_LK_AUTH_COMBINATION_P256) hci_conn_check_link_mode()
1034 if (conn->key_type == HCI_LK_AUTH_COMBINATION_P256 && hci_conn_security()
1040 if ((conn->key_type == HCI_LK_AUTH_COMBINATION_P192 || hci_conn_security()
1041 conn->key_type == HCI_LK_AUTH_COMBINATION_P256) && hci_conn_security()
1047 if ((conn->key_type == HCI_LK_UNAUTH_COMBINATION_P192 || hci_conn_security()
1048 conn->key_type == HCI_LK_UNAUTH_COMBINATION_P256) && hci_conn_security()
1056 if (conn->key_type == HCI_LK_COMBINATION && hci_conn_security()
H A Dhci_event.c2627 if (conn->key_type == HCI_LK_AUTH_COMBINATION_P256) hci_encrypt_change_evt()
2663 conn->key_type != HCI_LK_AUTH_COMBINATION_P256)) { hci_encrypt_change_evt()
3402 static void conn_set_key(struct hci_conn *conn, u8 key_type, u8 pin_len) conn_set_key() argument
3404 if (key_type == HCI_LK_CHANGED_COMBINATION) conn_set_key()
3408 conn->key_type = key_type; conn_set_key()
3410 switch (key_type) { conn_set_key()
3515 conn_set_key(conn, ev->key_type, conn->pin_length); hci_link_key_notify_evt()
3521 ev->key_type, pin_len, &persistent); hci_link_key_notify_evt()
3528 if (ev->key_type == HCI_LK_CHANGED_COMBINATION) hci_link_key_notify_evt()
H A Dsmp.c1066 if (hcon->key_type == HCI_LK_DEBUG_COMBINATION) smp_notify_keys()
1135 u8 key_type, auth; sc_add_ltk() local
1138 key_type = SMP_LTK_P256_DEBUG; sc_add_ltk()
1140 key_type = SMP_LTK_P256; sc_add_ltk()
1151 key_type, auth, smp->tk, smp->enc_key_size, sc_add_ltk()
H A Dhci_core.c2211 u8 key_type, u8 old_key_type) hci_persistent_key()
2214 if (key_type < 0x03) hci_persistent_key()
2218 if (key_type == HCI_LK_DEBUG_COMBINATION) hci_persistent_key()
2222 if (key_type == HCI_LK_CHANGED_COMBINATION && old_key_type == 0xff) hci_persistent_key()
2336 old_key_type = conn ? conn->key_type : 0xff; hci_add_link_key()
2352 conn->key_type = type; hci_add_link_key()
2210 hci_persistent_key(struct hci_dev *hdev, struct hci_conn *conn, u8 key_type, u8 old_key_type) hci_persistent_key() argument
/linux-4.1.27/drivers/bluetooth/
H A Dbtintel.h45 __u8 key_type; member in struct:intel_boot_params
/linux-4.1.27/fs/cifs/
H A Dcifs_spnego.h43 extern struct key_type cifs_spnego_key_type;
H A Dcifs_spnego.c65 struct key_type cifs_spnego_key_type = {
H A Dcifsacl.c82 static struct key_type cifs_idmap_key_type = {
/linux-4.1.27/fs/ubifs/
H A Dgc.c138 ubifs_assert(key_type(c, &sa->key) == UBIFS_DATA_KEY); data_nodes_cmp()
139 ubifs_assert(key_type(c, &sb->key) == UBIFS_DATA_KEY); data_nodes_cmp()
182 ubifs_assert(key_type(c, &sa->key) != UBIFS_DATA_KEY && nondata_nodes_cmp()
183 key_type(c, &sb->key) != UBIFS_DATA_KEY); nondata_nodes_cmp()
196 ubifs_assert(key_type(c, &sa->key) == UBIFS_DENT_KEY || nondata_nodes_cmp()
197 key_type(c, &sa->key) == UBIFS_XENT_KEY); nondata_nodes_cmp()
198 ubifs_assert(key_type(c, &sb->key) == UBIFS_DENT_KEY || nondata_nodes_cmp()
199 key_type(c, &sb->key) == UBIFS_XENT_KEY); nondata_nodes_cmp()
273 ubifs_assert(key_type(c, &snod->key) == UBIFS_DATA_KEY || sort_nodes()
274 key_type(c, &snod->key) == UBIFS_INO_KEY || sort_nodes()
275 key_type(c, &snod->key) == UBIFS_DENT_KEY || sort_nodes()
276 key_type(c, &snod->key) == UBIFS_XENT_KEY); sort_nodes()
293 if (key_type(c, &snod->key) != UBIFS_DATA_KEY) sort_nodes()
403 if (key_type(c, &snod->key) == UBIFS_DENT_KEY || move_nodes()
H A Dtnc_misc.c324 switch (key_type(c, &zbr->key)) { read_znode()
332 i, key_type(c, &zbr->key)); read_znode()
340 type = key_type(c, &zbr->key); read_znode()
462 int err, type = key_type(c, key); ubifs_tnc_read_node()
H A Dkey.h323 * key_type - get key type.
327 static inline int key_type(const struct ubifs_info *c, key_type() function
529 int type = key_type(c, key); is_hash_key()
H A Dreplay.c237 switch (key_type(c, &r->key)) { apply_replay_entry()
453 int key_type = key_type_flash(c, dent->key); ubifs_validate_entry() local
461 ubifs_err(c, "bad %s node", key_type == UBIFS_DENT_KEY ? ubifs_validate_entry()
466 if (key_type != UBIFS_DENT_KEY && key_type != UBIFS_XENT_KEY) { ubifs_validate_entry()
467 ubifs_err(c, "bad key type %d", key_type); ubifs_validate_entry()
H A Dtnc.c494 ret = try_read_node(c, node, key_type(c, key), zbr->len, zbr->lnum, fallible_read_node()
1167 ubifs_assert(key_type(c, key) < UBIFS_INVALID_KEY); ubifs_lookup_level0()
1547 key_type(c, key) != UBIFS_DATA_KEY) { ubifs_tnc_get_bu_keys()
2003 if (znode->level == 0 && key_type(c, key) == UBIFS_DATA_KEY) { tnc_insert()
2008 key_type(c, key1) == UBIFS_DATA_KEY) tnc_insert()
2019 key_type(c, key1) == UBIFS_DATA_KEY) { tnc_insert()
2022 key_type(c, key1) != UBIFS_DATA_KEY) { tnc_insert()
2753 int n, err, type = key_type(c, key); ubifs_tnc_next_ent()
2812 key_type(c, dkey) != type) { ubifs_tnc_next_ent()
2979 ubifs_assert(key_type(c, key) < UBIFS_INVALID_KEY); lookup_znode()
H A Dorphan.c833 if (key_type(c, &zbr->key) != UBIFS_INO_KEY) dbg_orphan_check()
835 (unsigned long)inum, key_type(c, &zbr->key)); dbg_orphan_check()
H A Ddebug.c105 int type = key_type(c, key); dbg_snprintf_key()
1984 int err, type = key_type(c, &zbr->key); check_leaf()
H A Drecovery.c1374 switch (key_type(c, key)) { ubifs_recover_size_accum()
/linux-4.1.27/drivers/net/wireless/rtlwifi/
H A Dcore.c1488 u8 key_type = NO_ENCRYPTION; rtl_op_set_key() local
1517 key_type = WEP40_ENCRYPTION; rtl_op_set_key()
1522 key_type = WEP104_ENCRYPTION; rtl_op_set_key()
1525 key_type = TKIP_ENCRYPTION; rtl_op_set_key()
1529 key_type = AESCCMP_ENCRYPTION; rtl_op_set_key()
1536 key_type = AESCMAC_ENCRYPTION; rtl_op_set_key()
1547 if (key_type == WEP40_ENCRYPTION || rtl_op_set_key()
1548 key_type == WEP104_ENCRYPTION || rtl_op_set_key()
1571 if (!group_key || key_type == WEP40_ENCRYPTION || rtl_op_set_key()
1572 key_type == WEP104_ENCRYPTION) { rtl_op_set_key()
1582 (key_type == WEP40_ENCRYPTION || rtl_op_set_key()
1583 key_type == WEP104_ENCRYPTION)) rtl_op_set_key()
1585 rtlpriv->sec.pairwise_enc_algorithm = key_type; rtl_op_set_key()
1587 "set enable_hw_sec, key_type:%x(OPEN:0 WEP40:1 TKIP:2 AES:4 WEP104:5)\n", rtl_op_set_key()
1588 key_type); rtl_op_set_key()
1599 rtlpriv->sec.pairwise_enc_algorithm = key_type; rtl_op_set_key()
1600 rtlpriv->sec.group_enc_algorithm = key_type; rtl_op_set_key()
1610 rtlpriv->sec.group_enc_algorithm = key_type; rtl_op_set_key()
1627 rtlpriv->sec.pairwise_enc_algorithm = key_type; rtl_op_set_key()
1637 group_key, key_type, wep_only, rtl_op_set_key()
1643 if (key_type == TKIP_ENCRYPTION) rtl_op_set_key()
1646 if (key_type == AESCCMP_ENCRYPTION) rtl_op_set_key()
/linux-4.1.27/crypto/asymmetric_keys/
H A Dpkcs7_key_type.c73 static struct key_type key_type_pkcs7 = {
H A Dasymmetric_type.c343 struct key_type key_type_asymmetric = {
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Dcmd.c1347 cmd->key_type = KEY_WEP; wl12xx_cmd_set_default_wep_key()
1362 u16 action, u8 id, u8 key_type, wl1271_cmd_set_sta_key()
1381 if (key_type == KEY_WEP) wl1271_cmd_set_sta_key()
1390 cmd->key_type = key_type; wl1271_cmd_set_sta_key()
1397 if (key_type == KEY_TKIP) { wl1271_cmd_set_sta_key()
1431 u16 action, u8 id, u8 key_type, wl1271_cmd_set_ap_key()
1444 if (key_type == KEY_WEP) wl1271_cmd_set_ap_key()
1454 (int)key_type, (int)hlid); wl1271_cmd_set_ap_key()
1460 cmd->key_type = key_type; wl1271_cmd_set_ap_key()
1465 if (key_type == KEY_TKIP) { wl1271_cmd_set_ap_key()
1361 wl1271_cmd_set_sta_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 action, u8 id, u8 key_type, u8 key_size, const u8 *key, const u8 *addr, u32 tx_seq_32, u16 tx_seq_16) wl1271_cmd_set_sta_key() argument
1430 wl1271_cmd_set_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 action, u8 id, u8 key_type, u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32, u16 tx_seq_16) wl1271_cmd_set_ap_key() argument
H A Dcmd.h76 u16 action, u8 id, u8 key_type,
80 u16 action, u8 id, u8 key_type,
512 u8 key_type; member in struct:wl1271_cmd_set_keys
H A Dmain.c3241 u8 id, u8 key_type, u8 key_size, wl1271_record_ap_key()
3275 ap_key->key_type = key_type; wl1271_record_ap_key()
3313 key->id, key->key_type, wl1271_ap_init_hwenc()
3320 if (key->key_type == KEY_WEP) wl1271_ap_init_hwenc()
3337 u16 action, u8 id, u8 key_type, wl1271_set_key()
3364 key_type, key_size, wl1271_set_key()
3369 id, key_type, key_size, wl1271_set_key()
3402 id, key_type, key_size, wl1271_set_key()
3466 u8 key_type; wlcore_set_key() local
3496 key_type = KEY_WEP; wlcore_set_key()
3501 key_type = KEY_TKIP; wlcore_set_key()
3505 key_type = KEY_AES; wlcore_set_key()
3509 key_type = KEY_GEM; wlcore_set_key()
3520 key_conf->keyidx, key_type, wlcore_set_key()
3533 (sta || key_type == KEY_WEP) && wlcore_set_key()
3534 wlvif->encryption_type != key_type) { wlcore_set_key()
3535 wlvif->encryption_type = key_type; wlcore_set_key()
3546 key_conf->keyidx, key_type, wlcore_set_key()
3240 wl1271_record_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 id, u8 key_type, u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32, u16 tx_seq_16) wl1271_record_ap_key() argument
3336 wl1271_set_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 action, u8 id, u8 key_type, u8 key_size, const u8 *key, u32 tx_seq_32, u16 tx_seq_16, struct ieee80211_sta *sta) wl1271_set_key() argument
H A Dwlcore_i.h217 u8 key_type; member in struct:wl1271_ap_key
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
H A Dmain.c858 key->key_type = KEY_WEP_DEFAULT; wl1251_set_key_type()
860 key->key_type = KEY_WEP_ADDR; wl1251_set_key_type()
866 key->key_type = KEY_TKIP_MIC_GROUP; wl1251_set_key_type()
868 key->key_type = KEY_TKIP_MIC_PAIRWISE; wl1251_set_key_type()
874 key->key_type = KEY_AES_GROUP; wl1251_set_key_type()
876 key->key_type = KEY_AES_PAIRWISE; wl1251_set_key_type()
950 if (wl_cmd->key_type != KEY_WEP_DEFAULT) wl1251_op_set_key()
953 if ((wl_cmd->key_type == KEY_TKIP_MIC_GROUP) || wl1251_op_set_key()
954 (wl_cmd->key_type == KEY_TKIP_MIC_PAIRWISE)) { wl1251_op_set_key()
H A Dcmd.h406 u8 key_type; member in struct:wl1251_cmd_set_keys
/linux-4.1.27/net/wireless/
H A Dnl80211.h70 enum nl80211_key_type key_type,
H A Dmlme.c171 enum nl80211_key_type key_type, int key_id, cfg80211_michael_mic_failure()
183 key_type == NL80211_KEYTYPE_GROUP ? "broad" : "uni", cfg80211_michael_mic_failure()
192 trace_cfg80211_michael_mic_failure(dev, addr, key_type, key_id, tsc); cfg80211_michael_mic_failure()
193 nl80211_michael_mic_failure(rdev, dev, addr, key_type, key_id, tsc, gfp); cfg80211_michael_mic_failure()
170 cfg80211_michael_mic_failure(struct net_device *dev, const u8 *addr, enum nl80211_key_type key_type, int key_id, const u8 *tsc, gfp_t gfp) cfg80211_michael_mic_failure() argument
H A Dtrace.h2224 enum nl80211_key_type key_type, int key_id, const u8 *tsc),
2225 TP_ARGS(netdev, addr, key_type, key_id, tsc),
2229 __field(enum nl80211_key_type, key_type)
2236 __entry->key_type = key_type;
2242 NETDEV_PR_ARG, MAC_PR_ARG(addr), __entry->key_type,
H A Dnl80211.c11673 enum nl80211_key_type key_type, int key_id, nl80211_michael_mic_failure()
11692 nla_put_u32(msg, NL80211_ATTR_KEY_TYPE, key_type) || nl80211_michael_mic_failure()
11671 nl80211_michael_mic_failure(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *addr, enum nl80211_key_type key_type, int key_id, const u8 *tsc, gfp_t gfp) nl80211_michael_mic_failure() argument
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Dcfg80211.c1125 u8 key_type; ath6kl_cfg80211_add_key() local
1171 key_type = WEP_CRYPT; ath6kl_cfg80211_add_key()
1175 key_type = TKIP_CRYPT; ath6kl_cfg80211_add_key()
1179 key_type = AES_CRYPT; ath6kl_cfg80211_add_key()
1182 key_type = WAPI_CRYPT; ath6kl_cfg80211_add_key()
1195 "%s: index %d, key_len %d, key_type 0x%x, key_usage 0x%x, seq_len %d\n", ath6kl_cfg80211_add_key()
1196 __func__, key_index, key->key_len, key_type, ath6kl_cfg80211_add_key()
1200 (key_type == TKIP_CRYPT || key_type == AES_CRYPT || ath6kl_cfg80211_add_key()
1201 key_type == WAPI_CRYPT)) { ath6kl_cfg80211_add_key()
1204 ar->ap_mode_bkey.key_type = key_type; ath6kl_cfg80211_add_key()
1218 if (vif->next_mode == AP_NETWORK && key_type == WEP_CRYPT && ath6kl_cfg80211_add_key()
1234 key_type, key_usage, key->key_len, ath6kl_cfg80211_add_key()
1314 enum crypto_type key_type = NONE_CRYPT; ath6kl_cfg80211_set_default_key() local
1340 key_type = vif->prwise_crypto; ath6kl_cfg80211_set_default_key()
1342 key_type = vif->grp_crypto; ath6kl_cfg80211_set_default_key()
1349 key_type, key_usage, ath6kl_cfg80211_set_default_key()
H A Dmain.c390 if (!ik->valid || ik->key_type != WAPI_CRYPT) ath6kl_connect_ap_mode_bss()
403 ar->wmi, vif->fw_vif_idx, ik->key_index, ik->key_type, ath6kl_connect_ap_mode_bss()
H A Dcore.h548 int key_type; member in struct:ath6kl_req_key
H A Dwmi.c2299 enum crypto_type key_type, ath6kl_wmi_addkey_cmd()
2311 "addkey cmd: key_index=%u key_type=%d key_usage=%d key_len=%d key_op_ctrl=%d\n", ath6kl_wmi_addkey_cmd()
2312 key_index, key_type, key_usage, key_len, key_op_ctrl); ath6kl_wmi_addkey_cmd()
2318 if ((WEP_CRYPT != key_type) && (NULL == key_rsc)) ath6kl_wmi_addkey_cmd()
2327 cmd->key_type = key_type; ath6kl_wmi_addkey_cmd()
2298 ath6kl_wmi_addkey_cmd(struct wmi *wmi, u8 if_idx, u8 key_index, enum crypto_type key_type, u8 key_usage, u8 key_len, u8 *key_rsc, unsigned int key_rsc_len, u8 *key_material, u8 key_op_ctrl, u8 *mac_addr, enum wmi_sync_flag sync_flag) ath6kl_wmi_addkey_cmd() argument
H A Dwmi.h782 u8 key_type; member in struct:wmi_add_cipher_key_cmd
2613 enum crypto_type key_type,
/linux-4.1.27/include/uapi/linux/
H A Domapfb.h170 __u8 key_type; member in struct:omapfb_color_key
/linux-4.1.27/fs/btrfs/
H A Dtree-log.c1779 u64 dirid, int key_type, find_dir_range()
1792 key.type = key_type; find_dir_range()
1806 if (key.type != key_type || key.objectid != dirid) { find_dir_range()
1834 if (key.type != key_type || key.objectid != dirid) { find_dir_range()
2078 int key_type = BTRFS_DIR_LOG_ITEM_KEY; replay_dir_deletes() local
2107 ret = find_dir_range(log, path, dirid, key_type, replay_dir_deletes()
2153 if (key_type == BTRFS_DIR_LOG_ITEM_KEY) { replay_dir_deletes()
2154 key_type = BTRFS_DIR_LOG_INDEX_KEY; replay_dir_deletes()
3101 int key_type, u64 dirid, insert_dir_log_key()
3110 if (key_type == BTRFS_DIR_ITEM_KEY) insert_dir_log_key()
3134 struct btrfs_path *dst_path, int key_type, log_dir_items()
3152 min_key.type = key_type; log_dir_items()
3161 if (ret != 0 || min_key.objectid != ino || min_key.type != key_type) { log_dir_items()
3163 min_key.type = key_type; log_dir_items()
3171 ret = btrfs_previous_item(root, path, ino, key_type); log_dir_items()
3182 if (key_type == tmp.type) log_dir_items()
3189 ret = btrfs_previous_item(root, path, ino, key_type); log_dir_items()
3193 if (key_type == tmp.type) { log_dir_items()
3224 if (min_key.objectid != ino || min_key.type != key_type) log_dir_items()
3276 if (tmp.objectid != ino || tmp.type != key_type) { log_dir_items()
3301 ret = insert_dir_log_key(trans, log, path, key_type, log_dir_items()
3330 int key_type = BTRFS_DIR_ITEM_KEY; log_directory_changes() local
3337 dst_path, key_type, ctx, min_key, log_directory_changes()
3346 if (key_type == BTRFS_DIR_ITEM_KEY) { log_directory_changes()
3347 key_type = BTRFS_DIR_INDEX_KEY; log_directory_changes()
1777 find_dir_range(struct btrfs_root *root, struct btrfs_path *path, u64 dirid, int key_type, u64 *start_ret, u64 *end_ret) find_dir_range() argument
3098 insert_dir_log_key(struct btrfs_trans_handle *trans, struct btrfs_root *log, struct btrfs_path *path, int key_type, u64 dirid, u64 first_offset, u64 last_offset) insert_dir_log_key() argument
3131 log_dir_items(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct inode *inode, struct btrfs_path *path, struct btrfs_path *dst_path, int key_type, struct btrfs_log_ctx *ctx, u64 min_offset, u64 *last_offset_ret) log_dir_items() argument
H A Dinode.c5664 int key_type = BTRFS_DIR_INDEX_KEY; btrfs_real_readdir() local
5673 key_type = BTRFS_DIR_ITEM_KEY; btrfs_real_readdir()
5684 if (key_type == BTRFS_DIR_INDEX_KEY) { btrfs_real_readdir()
5690 key.type = key_type; btrfs_real_readdir()
5716 if (found_key.type != key_type) btrfs_real_readdir()
5720 if (key_type == BTRFS_DIR_INDEX_KEY && btrfs_real_readdir()
5788 if (key_type == BTRFS_DIR_INDEX_KEY) { btrfs_real_readdir()
5825 if (key_type == BTRFS_DIR_INDEX_KEY) { btrfs_real_readdir()
5834 if (key_type == BTRFS_DIR_INDEX_KEY) btrfs_real_readdir()
H A Dctree.c2617 u64 iobjectid, u64 ioff, u8 key_type, btrfs_find_item()
2627 key.type = key_type; btrfs_find_item()
2616 btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path, u64 iobjectid, u64 ioff, u8 key_type, struct btrfs_key *found_key) btrfs_find_item() argument
H A Dctree.h3578 u64 inum, u64 ioff, u8 key_type, struct btrfs_key *found_key);
/linux-4.1.27/drivers/net/wireless/p54/
H A Dlmac.h254 u8 key_type; member in struct:p54_tx_data
444 u8 key_type; member in struct:p54_keycache
H A Dtxrx.c460 switch (entry_data->key_type) { p54_rx_frame_sent()
902 txhdr->key_type = p54_convert_algo(info->control.hw_key->cipher); p54_tx_80211()
916 txhdr->key_type = 0; p54_tx_80211()
H A Dfwio.c670 rxkey->key_type = algo; p54_upload_key()
/linux-4.1.27/drivers/net/wireless/rsi/
H A Drsi_91x_mac80211.c569 u8 key_type; rsi_hal_key_config() local
572 key_type = RSI_PAIRWISE_KEY; rsi_hal_key_config()
574 key_type = RSI_GROUP_KEY; rsi_hal_key_config()
576 rsi_dbg(ERR_ZONE, "%s: Cipher 0x%x key_type: %d key_len: %d\n", rsi_hal_key_config()
577 __func__, key->cipher, key_type, key->keylen); rsi_hal_key_config()
593 key_type, rsi_hal_key_config()
H A Drsi_91x_mgmt.c688 * @key_type: Type of key: GROUP/PAIRWISE.
697 u8 key_type, rsi_hal_load_key()
725 if (key_type == RSI_PAIRWISE_KEY) rsi_hal_load_key()
730 key_descriptor |= (key_type | BIT(13) | (key_id << 14)); rsi_hal_load_key()
694 rsi_hal_load_key(struct rsi_common *common, u8 *data, u16 key_len, u8 key_type, u8 key_id, u32 cipher) rsi_hal_load_key() argument
H A Drsi_mgmt.h294 u8 key_type, u8 key_id, u32 cipher);
/linux-4.1.27/net/openvswitch/
H A Dflow_netlink.c1820 int key_type = nla_type(ovs_key); validate_set() local
1831 if (key_type > OVS_KEY_ATTR_MAX || validate_set()
1832 (ovs_key_lens[key_type].len != key_len && validate_set()
1833 ovs_key_lens[key_type].len != OVS_ATTR_NESTED)) validate_set()
1839 switch (key_type) { validate_set()
1945 if (!masked && key_type != OVS_KEY_ATTR_TUNNEL) { validate_set()
1957 at = __add_action(sfa, key_type, NULL, len, log); validate_set()
1964 if (key_type == OVS_KEY_ATTR_IPV6) { validate_set()
2224 int key_type = nla_type(ovs_key); set_action_to_attr() local
2228 switch (key_type) { set_action_to_attr()
/linux-4.1.27/fs/nfs/
H A Dnfs4idmap.c57 static struct key_type key_type_id_resolver_legacy;
176 static struct key_type key_type_id_resolver = {
399 static struct key_type key_type_id_resolver_legacy = {
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dhtc.h79 u8 key_type; member in struct:tx_frame_hdr
90 u8 key_type; member in struct:tx_mgmt_hdr
H A Dhtc_drv_txrx.c249 mgmt_hdr.key_type = ath9k_cmn_get_hw_crypto_keytype(skb); ath9k_htc_tx_mgmt()
250 if (mgmt_hdr.key_type == ATH9K_KEY_TYPE_CLEAR) ath9k_htc_tx_mgmt()
316 tx_hdr.key_type = ath9k_cmn_get_hw_crypto_keytype(skb); ath9k_htc_tx_data()
317 if (tx_hdr.key_type == ATH9K_KEY_TYPE_CLEAR) ath9k_htc_tx_data()
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_cam.c95 ieee->swcamtable[EntryNo].key_type = KeyType; set_swcam()
/linux-4.1.27/fs/hfsplus/
H A Dhfsplus_raw.h179 u8 key_type; member in struct:hfs_btree_header_rec
H A Dbtree.c205 (head->key_type == HFSPLUS_KEY_BINARY)) hfs_btree_open()
/linux-4.1.27/net/dns_resolver/
H A Ddns_key.c250 struct key_type key_type_dns_resolver = {
/linux-4.1.27/drivers/net/wireless/libertas/
H A Dcfg.c1007 int key_type, int key_info, lbs_set_key_material()
1035 cmd.param.keytypeid = cpu_to_le16(key_type); lbs_set_key_material()
1512 u16 key_type; lbs_cfg_add_key() local
1551 key_type = (params->cipher == WLAN_CIPHER_SUITE_TKIP) lbs_cfg_add_key()
1555 key_type, lbs_cfg_add_key()
1006 lbs_set_key_material(struct lbs_private *priv, int key_type, int key_info, const u8 *key, u16 key_len) lbs_set_key_material() argument
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-ioctl.c386 if (ck->key_type == OMAPFB_COLOR_KEY_DISABLED) { _omapfb_set_color_key()
399 switch (ck->key_type) { _omapfb_set_color_key()
/linux-4.1.27/security/keys/encrypted-keys/
H A Dencrypted.c376 static int get_derived_key(u8 *derived_key, enum derived_key_type key_type, get_derived_key() argument
392 if (key_type) get_derived_key()
971 struct key_type key_type_encrypted = {
/linux-4.1.27/drivers/net/wireless/mwifiex/
H A Dsta_cmd.c571 km->key_param_set.key_type = KEY_TYPE_ID_AES_CMAC; mwifiex_set_aes_key_v2()
582 km->key_param_set.key_type = KEY_TYPE_ID_AES; mwifiex_set_aes_key_v2()
673 km->key_param_set.key_type = KEY_TYPE_ID_WEP; mwifiex_cmd_802_11_key_material_v2()
714 km->key_param_set.key_type = KEY_TYPE_ID_WAPI; mwifiex_cmd_802_11_key_material_v2()
757 km->key_param_set.key_type = KEY_TYPE_ID_TKIP; mwifiex_cmd_802_11_key_material_v2()
H A Dfw.h820 u8 key_type; member in struct:mwifiex_ie_type_key_param_set_v2
H A Dsta_cmdresp.c626 if (key_v2->key_param_set.key_type != KEY_TYPE_ID_AES) mwifiex_ret_802_11_key_material_v2()
/linux-4.1.27/include/net/bluetooth/
H A Dhci.h704 __u8 key_type; member in struct:hci_cp_create_phy_link
712 __u8 key_type; member in struct:hci_cp_accept_phy_link
1618 __u8 key_type; member in struct:hci_ev_link_key_notify
H A Dhci_core.h420 __u8 key_type; member in struct:hci_conn
/linux-4.1.27/drivers/media/platform/omap/
H A Domap_vout.c1742 enum omap_dss_trans_key_type key_type = OMAP_DSS_COLOR_KEY_GFX_DST; vidioc_s_fbuf() local
1760 key_type = OMAP_DSS_COLOR_KEY_VID_SRC; vidioc_s_fbuf()
1766 key_type = OMAP_DSS_COLOR_KEY_GFX_DST; vidioc_s_fbuf()
1780 info.trans_key_type = key_type; vidioc_s_fbuf()
/linux-4.1.27/net/ceph/
H A Dcrypto.c569 struct key_type key_type_ceph = {
/linux-4.1.27/net/rxrpc/
H A Dar-internal.h539 extern struct key_type key_type_rxrpc;
540 extern struct key_type key_type_rxrpc_s;
H A Dar-key.c42 struct key_type key_type_rxrpc = {
57 struct key_type key_type_rxrpc_s = {
/linux-4.1.27/drivers/net/wireless/
H A Drndis_wlan.c2907 enum nl80211_key_type key_type; rndis_wlan_auth_indication() local
2944 key_type = NL80211_KEYTYPE_PAIRWISE; rndis_wlan_auth_indication()
2949 key_type, key_id, NULL, rndis_wlan_auth_indication()
2954 key_type = NL80211_KEYTYPE_GROUP; rndis_wlan_auth_indication()
2959 key_type, key_id, NULL, rndis_wlan_auth_indication()
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
H A Dwmi.h262 u8 key_type; member in struct:wmi_add_cipher_key_cmd
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dcfg80211.c4985 enum nl80211_key_type key_type; brcmf_notify_mic_status() local
4988 key_type = NL80211_KEYTYPE_GROUP; brcmf_notify_mic_status()
4990 key_type = NL80211_KEYTYPE_PAIRWISE; brcmf_notify_mic_status()
4992 cfg80211_michael_mic_failure(ifp->ndev, (u8 *)&e->addr, key_type, -1, brcmf_notify_mic_status()
/linux-4.1.27/drivers/net/wireless/ipw2x00/
H A Dipw2200.h944 u8 key_type; member in struct:ipw_rx_key
/linux-4.1.27/drivers/staging/rtl8192e/
H A Drtllib.h1911 u16 key_type; member in struct:sw_cam_table
/linux-4.1.27/include/net/
H A Dcfg80211.h4191 * @key_type: The key type that the received frame used
4201 enum nl80211_key_type key_type, int key_id,

Completed in 7233 milliseconds