Lines Matching refs:passkey
857 u32 passkey = 0;
894 passkey, 1);
915 * Confirms and the responder Enters the passkey.
924 /* Generate random passkey. */
927 get_random_bytes(&passkey, sizeof(passkey));
928 passkey %= 1000000;
929 put_unaligned_le32(passkey, smp->tk);
930 bt_dev_dbg(hcon->hdev, "PassKey: %u", passkey);
940 passkey, 1);
944 passkey, 0);
1585 bt_dev_dbg(hdev, "Starting passkey round %u",
1596 static int sc_user_reply(struct smp_chan *smp, u16 mgmt_op, __le32 passkey)
1612 hcon->passkey_notify = le32_to_cpu(passkey);
1638 int smp_user_confirm_reply(struct hci_conn *hcon, u16 mgmt_op, __le32 passkey)
1664 err = sc_user_reply(smp, mgmt_op, passkey);
1670 value = le32_to_cpu(passkey);
2146 u32 passkey;
2209 /* Set passkey to 0. The value can be any number since
2212 passkey = 0;
2232 err = smp_g2(smp->tfm_cmac, pkax, pkbx, na, nb, &passkey);
2243 hcon->dst_type, passkey, confirm_hint);