Searched defs:slotID (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSession.c35 C_OpenSession(CK_SLOT_ID slotID, CK_FLAGS flags, CK_VOID_PTR pApplication, argument
51 if (slotID != SOFTTOKEN_SLOTID)
139 C_CloseAllSessions(CK_SLOT_ID slotID) argument
147 if (slotID != SOFTTOKEN_SLOTID)
209 pInfo->slotID = SOFTTOKEN_SLOTID;
H A DsoftSlotToken.c279 C_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo) argument
289 if (slotID != SOFTTOKEN_SLOTID)
306 C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) argument
315 if (slotID != SOFTTOKEN_SLOTID)
382 C_GetMechanismList(CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMechanismList, argument
392 if (slotID != SOFTTOKEN_SLOTID)
422 C_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, argument
432 if (slotID != SOFTTOKEN_SLOTID)
459 C_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, argument
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_digest.c108 CK_SLOT_ID slotID; local
159 slotID = pSlotList[i];
160 rv = C_GetMechanismInfo(slotID, mech_type, &info);
178 rv = C_OpenSession(slotID, CKF_SERIAL_SESSION,
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaSlotToken.c81 * The slotID argument is ignored.
85 meta_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo) argument
130 * The slotID argument is ignored.
135 meta_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) argument
236 * The slotID argument is not used.
241 meta_GetMechanismList(CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMechanismList, argument
269 * The slotID argument is not used.
273 meta_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, argument
350 meta_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, argument
H A Dpkcs11Session.c43 C_OpenSession(CK_SLOT_ID slotID, CK_FLAGS flags, CK_VOID_PTR pApplication, argument
65 return (fast_funcs->C_OpenSession(TRUEID(slotID+1),
68 return (fast_funcs->C_OpenSession(slotID, flags,
74 if (slotID == METASLOT_FRAMEWORK_ID) {
78 /* Check that slotID is valid */
79 if (pkcs11_validate_and_convert_slotid(slotID, &fw_st_id)
97 if (slotID == METASLOT_FRAMEWORK_ID) {
108 FUNCLIST(slotID)->C_CloseSession(prov_sess);
164 C_CloseAllSessions(CK_SLOT_ID slotID) argument
188 TRUEID(slotID
[all...]
H A DmetaSession.c45 * 2) the slotID argument is not checked or used because this function
50 meta_OpenSession(CK_SLOT_ID slotID, CK_FLAGS flags, CK_VOID_PTR pApplication, argument
141 meta_CloseAllSessions(CK_SLOT_ID slotID) argument
150 if (slotID != METASLOT_SLOTID)
192 pInfo->slotID = METASLOT_SLOTID;
H A Dpkcs11SlotToken.c134 C_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo) argument
146 return (fast_funcs->C_GetSlotInfo(slotID, pInfo));
148 if (slotID == METASLOT_FRAMEWORK_ID) {
153 /* Check that slotID is valid */
154 if (pkcs11_validate_and_convert_slotid(slotID, &fw_st_id) != CKR_OK) {
169 C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) argument
180 return (fast_funcs->C_GetTokenInfo(slotID, pInfo));
182 if (slotID == METASLOT_FRAMEWORK_ID) {
187 /* Check that slotID is valid */
188 if (pkcs11_validate_and_convert_slotid(slotID,
582 C_GetMechanismList(CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMechanismList, CK_ULONG_PTR pulCount) argument
722 C_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, CK_MECHANISM_INFO_PTR pInfo) argument
774 C_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, CK_UTF8CHAR_PTR pLabel) argument
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSessionUtil.c50 kernel_delete_all_sessions(CK_SLOT_ID slotID, boolean_t wrapper_only) argument
57 pslot = slot_table[slotID];
83 kernel_delete_session(slotID, session_p, B_FALSE, wrapper_only);
95 kernel_add_session(CK_SLOT_ID slotID, CK_FLAGS flags, CK_VOID_PTR pApplication, argument
115 new_sp->ses_slotid = slotID;
126 pslot = slot_table[slotID];
180 kernel_delete_session(CK_SLOT_ID slotID, kernel_session_t *session_p, argument
194 pslot = slot_table[slotID];
480 int slotID; local
486 for (slotID
513 int slotID; local
[all...]
H A DkernelSession.c36 C_OpenSession(CK_SLOT_ID slotID, CK_FLAGS flags, CK_VOID_PTR pApplication, argument
55 if (slotID >= slot_count) {
64 pslot = slot_table[slotID];
74 rv = kernel_add_session(slotID, flags, pApplication, Notify,
136 C_CloseAllSessions(CK_SLOT_ID slotID) argument
142 kernel_delete_all_sessions(slotID, B_FALSE);
198 pInfo->slotID = session_p->ses_slotid;
H A DkernelSlotToken.c69 * The slotID returned to an application will be the index to
82 C_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo) argument
91 if (slotID >= slot_count) {
99 gi.gi_provider_id = slot_table[slotID]->sl_provider_id;
136 C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) argument
145 if (slotID >= slot_count)
151 gi.gi_provider_id = slot_table[slotID]->sl_provider_id;
223 C_GetMechanismList(CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMechanismList, argument
239 if (slotID >= slot_count)
243 provider_id = slot_table[slotID]
364 C_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, CK_MECHANISM_INFO_PTR pInfo) argument
388 C_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, CK_UTF8CHAR_PTR pLabel) argument
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dutility.c362 copy_slot_info(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR sinfo) argument
H A Dapi_interface.c393 C_CloseAllSessions(CK_SLOT_ID slotID) argument
406 if (!global_shm->token_available || (slotID > NUMBER_SLOTS_MANAGED))
427 if (pCur->SltId == slotID) {
1374 C_GetMechanismInfo(CK_SLOT_ID slotID, argument
1382 if (!global_shm->token_available || (slotID > NUMBER_SLOTS_MANAGED))
1386 rv = FuncList.ST_GetMechanismInfo(slotID, type, pInfo);
1394 C_GetMechanismList(CK_SLOT_ID slotID, argument
1406 if (!global_shm->token_available || (slotID > NUMBER_SLOTS_MANAGED))
1410 rv = FuncList.ST_GetMechanismList(slotID,
1503 C_GetSlotInfo(CK_SLOT_ID slotID, argument
1560 C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) argument
1686 C_InitToken(CK_SLOT_ID slotID, CK_CHAR_PTR pPin, CK_ULONG ulPinLen, CK_CHAR_PTR pLabel) argument
1758 C_OpenSession( CK_SLOT_ID slotID, CK_FLAGS flags, CK_VOID_PTR pApplication, CK_NOTIFY Notify, CK_SESSION_HANDLE_PTR phSession) argument
[all...]
H A Dtpmtok_int.h178 CK_SLOT_ID slotID; member in struct:__anon4280
1266 (void *ppFunctionList, CK_SLOT_ID slotID, CK_CHAR_PTR pCorrelator);
1284 (CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo);
1287 (CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo);
1290 (CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMechanismList,
1294 (CK_SLOT_ID slotID, CK_MECHANISM_TYPE type,
1298 (CK_SLOT_ID slotID, CK_CHAR_PTR pPin, CK_ULONG usPinLen,
1312 (CK_SLOT_ID slotID, CK_FLAGS flags,
1320 (CK_SLOT_ID slotID);
/illumos-gate/usr/src/cmd/cmd-crypto/digest/
H A Ddigest.c366 CK_SLOT_ID slotID; local
545 slotID = token_slot_id;
551 slotID = pSlotList[i];
552 rv = C_GetMechanismInfo(slotID, mech_type, &info);
567 rv = C_GetMechanismInfo(slotID,
592 rv = C_OpenSession(slotID, CKF_SERIAL_SESSION,
/illumos-gate/usr/src/cmd/cmd-crypto/decrypt/
H A Ddecrypt.c421 CK_SLOT_ID slotID; local
596 slotID = token_slot_id;
601 slotID = pSlotList[i];
602 rv = C_GetMechanismInfo(slotID, mech_type, &info);
617 rv = C_GetMechanismInfo(slotID,
637 rv = C_OpenSession(slotID, CKF_SERIAL_SESSION,
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c5260 CK_SLOT_ID slotID; local
5287 slotID = pSlotList[i];
5288 rv = C_GetMechanismList(slotID, NULL_PTR, &ulMechTypeCount);
5304 rv = C_GetMechanismList(slotID, pMechTypeList, &ulMechTypeCount);
5327 *slot_id = slotID;
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c3533 CK_SLOT_ID slotID; member in struct:_token_entry
3626 gettext("in slot"), token_choices->token_array[i].slotID,
3655 gettext("in slot"), token_choices->token_array[i].slotID,
3995 /* See if any of the slots match the specified slotID */
4021 pkiDebug("open_session: no matching slot found for slotID %d\n",
4196 token_choices.token_array[token_choices.numtokens].slotID = slotlist[i];
4297 cctx->slotid = token_choices.token_array[choice].slotID;
/illumos-gate/usr/src/lib/pkcs11/include/
H A Dpkcs11t.h302 CK_SLOT_ID slotID; member in struct:CK_SESSION_INFO

Completed in 898 milliseconds