Lines Matching refs:slot
58 explicit ScopedSession(CK_SLOT_ID slot) : handle_(CK_INVALID_HANDLE) { in ScopedSession() argument
66 if (C_OpenSession(slot, flags, nullptr, nullptr, &handle_) != CKR_OK) { in ScopedSession()
101 CK_SLOT_ID slot; in Read() local
102 if (!GetUserSlot(username, &slot)) { in Read()
106 ScopedSession session(slot); in Read()
143 CK_SLOT_ID slot; in Write() local
144 if (!GetUserSlot(username, &slot)) { in Write()
148 ScopedSession session(slot); in Write()
194 CK_SLOT_ID slot; in Delete() local
195 if (!GetUserSlot(username, &slot)) { in Delete()
199 ScopedSession session(slot); in Delete()
216 CK_SLOT_ID slot; in DeleteByPrefix() local
217 if (!GetUserSlot(username, &slot)) { in DeleteByPrefix()
221 ScopedSession session(slot); in DeleteByPrefix()
251 CK_SLOT_ID slot; in Register() local
252 if (!GetUserSlot(username, &slot)) { in Register()
256 ScopedSession session(slot); in Register()
394 C_CloseAllSessions(slot); in Register()
401 CK_SLOT_ID slot; in RegisterCertificate() local
402 if (!GetUserSlot(username, &slot)) { in RegisterCertificate()
406 ScopedSession session(slot); in RegisterCertificate()
493 CK_SLOT_ID_PTR slot) { in GetUserSlot() argument
524 *slot = slot_list[i]; in GetUserSlot()