Home
last modified time | relevance | path

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

/linux-6.6.21/fs/smb/server/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
44 return user->passkey; in user_passkey()
/linux-6.6.21/net/bluetooth/
Dsmp.c857 u32 passkey = 0; in tk_request() local
894 passkey, 1); in tk_request()
927 get_random_bytes(&passkey, sizeof(passkey)); in tk_request()
928 passkey %= 1000000; in tk_request()
929 put_unaligned_le32(passkey, smp->tk); in tk_request()
930 bt_dev_dbg(hcon->hdev, "PassKey: %u", passkey); in tk_request()
940 passkey, 1); in tk_request()
944 passkey, 0); in tk_request()
1596 static int sc_user_reply(struct smp_chan *smp, u16 mgmt_op, __le32 passkey) in sc_user_reply() argument
1612 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.c3649 u16 hci_op, __le32 passkey) in user_pairing_resp() argument
3678 err = smp_user_confirm_reply(conn, mgmt_op, passkey); in user_pairing_resp()
3704 cp.passkey = passkey; in user_pairing_resp()
3767 HCI_OP_USER_PASSKEY_REPLY, cp->passkey); in user_passkey_reply()
9961 u8 link_type, u8 addr_type, u32 passkey, in mgmt_user_passkey_notify() argument
9970 ev.passkey = __cpu_to_le32(passkey); in mgmt_user_passkey_notify()
Dhci_event.c5494 le32_to_cpu(ev->passkey), confirm_hint); in hci_user_confirm_request_evt()
5523 conn->passkey_notify = __le32_to_cpu(ev->passkey); in hci_user_passkey_notify_evt()
/linux-6.6.21/include/net/bluetooth/
Dmgmt.h303 __le32 passkey; member
1019 __le32 passkey; member
Dhci.h905 __le32 passkey; member
2516 __le32 passkey; member
2538 __le32 passkey; member
Dhci_core.h2245 u8 link_type, u8 addr_type, u32 passkey,
/linux-6.6.21/fs/smb/server/
Dsmb2pdu.c626 memcmp(user->passkey, prev_user->passkey, user->passkey_sz)) in destroy_previous_session()