Lines Matching defs:smp
51 #define SMP_ALLOW_CMD(smp, code) set_bit(code, &smp->allow_cmd) argument
512 struct smp_dev *smp; in smp_irk_matches() local
533 struct smp_dev *smp; in smp_generate_rpa() local
558 struct smp_dev *smp; in smp_generate_oob() local
605 struct smp_chan *smp; in smp_send_cmd() local
665 struct smp_chan *smp = chan->data; in build_pairing_cmd() local
740 struct smp_chan *smp = chan->data; in check_enc_key_size() local
754 struct smp_chan *smp = chan->data; in smp_chan_destroy() local
844 static u8 get_auth_method(struct smp_chan *smp, u8 local_io, u8 remote_io) in get_auth_method()
864 struct smp_chan *smp = chan->data; in tk_request() local
949 static u8 smp_confirm(struct smp_chan *smp) in smp_confirm()
976 static u8 smp_random(struct smp_chan *smp) in smp_random()
1041 struct smp_chan *smp = chan->data; in smp_notify_keys() local
1129 static void sc_add_ltk(struct smp_chan *smp) in sc_add_ltk()
1149 static void sc_generate_link_key(struct smp_chan *smp) in sc_generate_link_key()
1174 static void smp_allow_key_dist(struct smp_chan *smp) in smp_allow_key_dist()
1188 static void sc_generate_ltk(struct smp_chan *smp) in sc_generate_ltk()
1217 static void smp_distribute_keys(struct smp_chan *smp) in smp_distribute_keys()
1351 struct smp_chan *smp = container_of(work, struct smp_chan, in smp_timeout() local
1363 struct smp_chan *smp; in smp_chan_create() local
1396 static int sc_mackey_and_ltk(struct smp_chan *smp, u8 mackey[16], u8 ltk[16]) in sc_mackey_and_ltk()
1417 static void sc_dhkey_check(struct smp_chan *smp) in sc_dhkey_check()
1453 static u8 sc_passkey_send_confirm(struct smp_chan *smp) in sc_passkey_send_confirm()
1474 static u8 sc_passkey_round(struct smp_chan *smp, u8 smp_op) in sc_passkey_round()
1561 static int sc_user_reply(struct smp_chan *smp, u16 mgmt_op, __le32 passkey) in sc_user_reply()
1607 struct smp_chan *smp; in smp_user_confirm_reply() local
1668 static void build_bredr_pairing_cmd(struct smp_chan *smp, in build_bredr_pairing_cmd()
1713 struct smp_chan *smp; in smp_cmd_pairing_req() local
1839 static u8 sc_send_public_key(struct smp_chan *smp) in sc_send_public_key()
1897 struct smp_chan *smp = chan->data; in smp_cmd_pairing_rsp() local
1990 static u8 sc_check_confirm(struct smp_chan *smp) in sc_check_confirm()
2012 static int fixup_sc_false_positive(struct smp_chan *smp) in fixup_sc_false_positive()
2052 struct smp_chan *smp = chan->data; in smp_cmd_pairing_confirm() local
2094 struct smp_chan *smp = chan->data; in smp_cmd_pairing_random() local
2232 struct smp_chan *smp; in smp_cmd_security_req() local
2288 struct smp_chan *smp; in smp_conn_security() local
2371 struct smp_chan *smp; in smp_cancel_pairing() local
2397 struct smp_chan *smp = chan->data; in smp_cmd_encrypt_info() local
2417 struct smp_chan *smp = chan->data; in smp_cmd_master_ident() local
2453 struct smp_chan *smp = chan->data; in smp_cmd_ident_info() local
2474 struct smp_chan *smp = chan->data; in smp_cmd_ident_addr_info() local
2529 struct smp_chan *smp = chan->data; in smp_cmd_sign_info() local
2556 static u8 sc_select_method(struct smp_chan *smp) in sc_select_method()
2606 struct smp_chan *smp = chan->data; in smp_cmd_public_key() local
2719 struct smp_chan *smp = chan->data; in smp_cmd_dhkey_check() local
2793 struct smp_chan *smp; in smp_sig_channel() local
2921 struct smp_chan *smp; in bredr_pairing() local
2985 struct smp_chan *smp = chan->data; in smp_resume_cb() local
3034 struct smp_chan *smp = chan->data; in smp_recv_cb() local
3129 struct smp_dev *smp; in smp_add_cid() local
3206 struct smp_dev *smp; in smp_del_chan() local