Home
last modified time | relevance | path

Searched refs:passkey (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/fs/ksmbd/mgmt/
Duser_config.c43 user->passkey = kmalloc(resp->hash_sz, GFP_KERNEL); in ksmbd_alloc_user()
44 if (user->passkey) in ksmbd_alloc_user()
45 memcpy(user->passkey, resp->hash, resp->hash_sz); in ksmbd_alloc_user()
47 if (!user->name || !user->passkey) { in ksmbd_alloc_user()
49 kfree(user->passkey); in ksmbd_alloc_user()
60 kfree(user->passkey); in ksmbd_free_user()
75 if (memcmp(u1->passkey, u2->passkey, u1->passkey_sz)) in ksmbd_compare_user()
Duser_config.h20 char *passkey; member
45 return user->passkey; in user_passkey()
/linux-6.1.9/net/bluetooth/
Dsmp.c855 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()
[all …]
Dsmp.h189 int smp_user_confirm_reply(struct hci_conn *conn, u16 mgmt_op, __le32 passkey);
Dmgmt.c3635 u16 hci_op, __le32 passkey) in user_pairing_resp() argument
3664 err = smp_user_confirm_reply(conn, mgmt_op, passkey); in user_pairing_resp()
3690 cp.passkey = passkey; in user_pairing_resp()
3753 HCI_OP_USER_PASSKEY_REPLY, cp->passkey); in user_passkey_reply()
9947 u8 link_type, u8 addr_type, u32 passkey, in mgmt_user_passkey_notify() argument
9956 ev.passkey = __cpu_to_le32(passkey); in mgmt_user_passkey_notify()
Dhci_event.c5413 le32_to_cpu(ev->passkey), confirm_hint); in hci_user_confirm_request_evt()
5442 conn->passkey_notify = __le32_to_cpu(ev->passkey); in hci_user_passkey_notify_evt()
/linux-6.1.9/include/net/bluetooth/
Dmgmt.h299 __le32 passkey; member
1014 __le32 passkey; member
Dhci.h865 __le32 passkey; member
2476 __le32 passkey; member
2498 __le32 passkey; member
Dhci_core.h2056 u8 link_type, u8 addr_type, u32 passkey,
/linux-6.1.9/fs/ksmbd/
Dsmb2pdu.c607 memcmp(user->passkey, prev_user->passkey, user->passkey_sz)) in destroy_previous_session()