Lines Matching refs:passkey
856 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_DBG("PassKey: %d", passkey); in tk_request()
938 passkey, 1); in tk_request()
942 passkey, 0); in tk_request()
1579 static int sc_user_reply(struct smp_chan *smp, u16 mgmt_op, __le32 passkey) in sc_user_reply() argument
1595 hcon->passkey_notify = le32_to_cpu(passkey); in sc_user_reply()
1621 int smp_user_confirm_reply(struct hci_conn *hcon, u16 mgmt_op, __le32 passkey) in smp_user_confirm_reply() argument
1647 err = sc_user_reply(smp, mgmt_op, passkey); in smp_user_confirm_reply()
1653 value = le32_to_cpu(passkey); in smp_user_confirm_reply()
2126 u32 passkey; in smp_cmd_pairing_random() local
2192 passkey = 0; in smp_cmd_pairing_random()
2212 err = smp_g2(smp->tfm_cmac, pkax, pkbx, na, nb, &passkey); in smp_cmd_pairing_random()
2223 hcon->dst_type, passkey, confirm_hint); in smp_cmd_pairing_random()