Lines Matching refs:passkey
855 u32 passkey = 0; in tk_request() local
892 passkey, 1); in tk_request()
925 get_random_bytes(&passkey, sizeof(passkey)); in tk_request()
926 passkey %= 1000000; in tk_request()
927 put_unaligned_le32(passkey, smp->tk); in tk_request()
928 bt_dev_dbg(hcon->hdev, "PassKey: %u", passkey); in tk_request()
938 passkey, 1); in tk_request()
942 passkey, 0); in tk_request()
1582 static int sc_user_reply(struct smp_chan *smp, u16 mgmt_op, __le32 passkey) in sc_user_reply() argument
1598 hcon->passkey_notify = le32_to_cpu(passkey); in sc_user_reply()
1624 int smp_user_confirm_reply(struct hci_conn *hcon, u16 mgmt_op, __le32 passkey) in smp_user_confirm_reply() argument
1650 err = sc_user_reply(smp, mgmt_op, passkey); in smp_user_confirm_reply()
1656 value = le32_to_cpu(passkey); in smp_user_confirm_reply()
2132 u32 passkey; in smp_cmd_pairing_random() local
2198 passkey = 0; in smp_cmd_pairing_random()
2218 err = smp_g2(smp->tfm_cmac, pkax, pkbx, na, nb, &passkey); in smp_cmd_pairing_random()
2229 hcon->dst_type, passkey, confirm_hint); in smp_cmd_pairing_random()