Home
last modified time | relevance | path

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

/net/bluetooth/
Damp.c186 BT_DBG("conn %p key_type %d", conn, conn->key_type); in phylink_gen_key()
189 if (conn->key_type < 3) { in phylink_gen_key()
190 BT_ERR("Legacy key type %d", conn->key_type); in phylink_gen_key()
194 *type = conn->key_type; in phylink_gen_key()
214 if (conn->key_type == HCI_LK_DEBUG_COMBINATION) { in phylink_gen_key()
461 &cp.key_type)) { in amp_create_phylink()
500 &cp.key_type)) { in amp_accept_phylink()
Dhci_conn.c511 conn->key_type = 0xff; in hci_conn_add()
1172 conn->key_type != HCI_LK_AUTH_COMBINATION_P256) in hci_conn_check_link_mode()
1275 if (conn->key_type == HCI_LK_AUTH_COMBINATION_P256 && in hci_conn_security()
1281 if ((conn->key_type == HCI_LK_AUTH_COMBINATION_P192 || in hci_conn_security()
1282 conn->key_type == HCI_LK_AUTH_COMBINATION_P256) && in hci_conn_security()
1288 if ((conn->key_type == HCI_LK_UNAUTH_COMBINATION_P192 || in hci_conn_security()
1289 conn->key_type == HCI_LK_UNAUTH_COMBINATION_P256) && in hci_conn_security()
1297 if (conn->key_type == HCI_LK_COMBINATION && in hci_conn_security()
Dhci_event.c2598 if (conn->key_type == HCI_LK_AUTH_COMBINATION_P256) in hci_encrypt_change_evt()
3375 static void conn_set_key(struct hci_conn *conn, u8 key_type, u8 pin_len) in conn_set_key() argument
3377 if (key_type == HCI_LK_CHANGED_COMBINATION) in conn_set_key()
3381 conn->key_type = key_type; in conn_set_key()
3383 switch (key_type) { in conn_set_key()
3488 conn_set_key(conn, ev->key_type, conn->pin_length); in hci_link_key_notify_evt()
3494 ev->key_type, pin_len, &persistent); in hci_link_key_notify_evt()
3501 if (ev->key_type == HCI_LK_CHANGED_COMBINATION) in hci_link_key_notify_evt()
Dhci_core.c2353 u8 key_type, u8 old_key_type) in hci_persistent_key() argument
2356 if (key_type < 0x03) in hci_persistent_key()
2360 if (key_type == HCI_LK_DEBUG_COMBINATION) in hci_persistent_key()
2364 if (key_type == HCI_LK_CHANGED_COMBINATION && old_key_type == 0xff) in hci_persistent_key()
2478 old_key_type = conn ? conn->key_type : 0xff; in hci_add_link_key()
2494 conn->key_type = type; in hci_add_link_key()
Dsmp.c1050 if (hcon->key_type == HCI_LK_DEBUG_COMBINATION) in smp_notify_keys()
1133 u8 key_type, auth; in sc_add_ltk() local
1136 key_type = SMP_LTK_P256_DEBUG; in sc_add_ltk()
1138 key_type = SMP_LTK_P256; in sc_add_ltk()
1146 key_type, auth, smp->tk, smp->enc_key_size, in sc_add_ltk()
/net/wireless/
Dmlme.c184 enum nl80211_key_type key_type, int key_id, in cfg80211_michael_mic_failure() argument
196 key_type == NL80211_KEYTYPE_GROUP ? "broad" : "uni", in cfg80211_michael_mic_failure()
205 trace_cfg80211_michael_mic_failure(dev, addr, key_type, key_id, tsc); in cfg80211_michael_mic_failure()
206 nl80211_michael_mic_failure(rdev, dev, addr, key_type, key_id, tsc, gfp); in cfg80211_michael_mic_failure()
Dnl80211.h70 enum nl80211_key_type key_type,
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,
Dnl80211.c12113 enum nl80211_key_type key_type, int key_id, in nl80211_michael_mic_failure() argument
12132 nla_put_u32(msg, NL80211_ATTR_KEY_TYPE, key_type) || in nl80211_michael_mic_failure()
/net/openvswitch/
Dflow_netlink.c2007 int key_type = nla_type(ovs_key); in validate_set() local
2018 if (key_type > OVS_KEY_ATTR_MAX || in validate_set()
2019 !check_attr_len(key_len, ovs_key_lens[key_type].len)) in validate_set()
2025 switch (key_type) { in validate_set()
2133 if (!masked && key_type != OVS_KEY_ATTR_TUNNEL) { in validate_set()
2145 at = __add_action(sfa, key_type, NULL, len, log); in validate_set()
2152 if (key_type == OVS_KEY_ATTR_IPV6) { in validate_set()
2421 int key_type = nla_type(ovs_key); in set_action_to_attr() local
2425 switch (key_type) { in set_action_to_attr()
/net/rxrpc/
Dar-internal.h539 extern struct key_type key_type_rxrpc;
540 extern struct key_type key_type_rxrpc_s;
Dar-key.c42 struct key_type key_type_rxrpc = {
57 struct key_type key_type_rxrpc_s = {
/net/dns_resolver/
Ddns_key.c255 struct key_type key_type_dns_resolver = {
/net/ceph/
Dcrypto.c565 struct key_type key_type_ceph = {