Lines Matching defs:smp
53 #define SMP_ALLOW_CMD(smp, code) set_bit(code, &smp->allow_cmd) argument
541 struct smp_dev *smp; in smp_generate_oob() local
592 struct smp_chan *smp; in smp_send_cmd() local
652 struct smp_chan *smp = chan->data; in build_pairing_cmd() local
727 struct smp_chan *smp = chan->data; in check_enc_key_size() local
745 struct smp_chan *smp = chan->data; in smp_chan_destroy() local
835 static u8 get_auth_method(struct smp_chan *smp, u8 local_io, u8 remote_io) in get_auth_method()
855 struct smp_chan *smp = chan->data; in tk_request() local
948 static u8 smp_confirm(struct smp_chan *smp) in smp_confirm()
975 static u8 smp_random(struct smp_chan *smp) in smp_random()
1039 struct smp_chan *smp = chan->data; in smp_notify_keys() local
1139 static void sc_add_ltk(struct smp_chan *smp) in sc_add_ltk()
1159 static void sc_generate_link_key(struct smp_chan *smp) in sc_generate_link_key()
1195 static void smp_allow_key_dist(struct smp_chan *smp) in smp_allow_key_dist()
1209 static void sc_generate_ltk(struct smp_chan *smp) in sc_generate_ltk()
1246 static void smp_distribute_keys(struct smp_chan *smp) in smp_distribute_keys()
1381 struct smp_chan *smp = container_of(work, struct smp_chan, in smp_timeout() local
1394 struct smp_chan *smp; in smp_chan_create() local
1430 static int sc_mackey_and_ltk(struct smp_chan *smp, u8 mackey[16], u8 ltk[16]) in sc_mackey_and_ltk()
1451 static void sc_dhkey_check(struct smp_chan *smp) in sc_dhkey_check()
1487 static u8 sc_passkey_send_confirm(struct smp_chan *smp) in sc_passkey_send_confirm()
1508 static u8 sc_passkey_round(struct smp_chan *smp, u8 smp_op) in sc_passkey_round()
1595 static int sc_user_reply(struct smp_chan *smp, u16 mgmt_op, __le32 passkey) in sc_user_reply()
1641 struct smp_chan *smp; in smp_user_confirm_reply() local
1702 static void build_bredr_pairing_cmd(struct smp_chan *smp, in build_bredr_pairing_cmd()
1749 struct smp_chan *smp; in smp_cmd_pairing_req() local
1882 static u8 sc_send_public_key(struct smp_chan *smp) in sc_send_public_key()
1939 struct smp_chan *smp = chan->data; in smp_cmd_pairing_rsp() local
2035 static u8 sc_check_confirm(struct smp_chan *smp) in sc_check_confirm()
2057 static int fixup_sc_false_positive(struct smp_chan *smp) in fixup_sc_false_positive()
2097 struct smp_chan *smp = chan->data; in smp_cmd_pairing_confirm() local
2142 struct smp_chan *smp = chan->data; in smp_cmd_pairing_random() local
2304 struct smp_chan *smp; in smp_cmd_security_req() local
2366 struct smp_chan *smp; in smp_conn_security() local
2460 struct smp_chan *smp; in smp_cancel_and_remove_pairing() local
2505 struct smp_chan *smp = chan->data; in smp_cmd_encrypt_info() local
2534 struct smp_chan *smp = chan->data; in smp_cmd_initiator_ident() local
2570 struct smp_chan *smp = chan->data; in smp_cmd_ident_info() local
2600 struct smp_chan *smp = chan->data; in smp_cmd_ident_addr_info() local
2668 struct smp_chan *smp = chan->data; in smp_cmd_sign_info() local
2695 static u8 sc_select_method(struct smp_chan *smp) in sc_select_method()
2745 struct smp_chan *smp = chan->data; in smp_cmd_public_key() local
2885 struct smp_chan *smp = chan->data; in smp_cmd_dhkey_check() local
2959 struct smp_chan *smp; in smp_sig_channel() local
3087 struct smp_chan *smp; in bredr_pairing() local
3150 struct smp_chan *smp = chan->data; in smp_resume_cb() local
3199 struct smp_chan *smp = chan->data; in smp_recv_cb() local
3294 struct smp_dev *smp; in smp_add_cid() local
3370 struct smp_dev *smp; in smp_del_chan() local