Home
last modified time | relevance | path

Searched refs:CK_SLOT_ID (Results 1 – 25 of 55) sorted by relevance

123

/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11Slot.h45 CK_SLOT_ID slotid;
51 CK_SLOT_ID sl_id; /* real slotID from provider */
91 CK_SLOT_ID st_first; /* First used slot ID, used for loops */
92 CK_SLOT_ID st_last; /* Last slot ID allocated */
95 CK_SLOT_ID st_event_slot; /* Slot with event */
125 extern CK_RV pkcs11_slot_allocate(CK_SLOT_ID *slot);
127 extern CK_RV pkcs11_is_valid_slot(CK_SLOT_ID slot_id);
128 extern CK_RV pkcs11_validate_and_convert_slotid(CK_SLOT_ID slot_id,
129 CK_SLOT_ID *real_slot_id);
H A Dpkcs11SlotToken.c57 CK_SLOT_ID true_id; in C_GetSlotList()
59 CK_SLOT_ID count = 0, i; in C_GetSlotList()
60 CK_SLOT_ID slot_id; /* slot ID for returning to the application */ in C_GetSlotList()
134 C_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo) in C_GetSlotInfo()
138 CK_SLOT_ID fw_st_id; /* id for accessing framework's slottable */ in C_GetSlotInfo()
169 C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) in C_GetTokenInfo()
172 CK_SLOT_ID fw_st_id; /* id for accessing framework's slottable */ in C_GetTokenInfo()
215 CK_SLOT_ID i, j; in C_WaitForSlotEvent()
219 CK_SLOT_ID event_slot; in C_WaitForSlotEvent()
582 C_GetMechanismList(CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMechanismList, in C_GetMechanismList()
[all …]
H A DmetaSlotToken.c83 meta_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo) in meta_GetSlotInfo()
86 CK_SLOT_ID true_id; in meta_GetSlotInfo()
133 meta_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) in meta_GetTokenInfo()
137 CK_SLOT_ID true_id; in meta_GetTokenInfo()
239 meta_GetMechanismList(CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMechanismList, in meta_GetMechanismList()
271 meta_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, in meta_GetMechanismInfo()
348 meta_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, in meta_InitToken()
H A Dpkcs11Session.c41 C_OpenSession(CK_SLOT_ID slotID, CK_FLAGS flags, CK_VOID_PTR pApplication, in C_OpenSession()
46 CK_SLOT_ID true_id; in C_OpenSession()
47 CK_SLOT_ID fw_st_id; /* id for accessing framework's slottable */ in C_OpenSession()
162 C_CloseAllSessions(CK_SLOT_ID slotID) in C_CloseAllSessions()
167 CK_SLOT_ID true_id; in C_CloseAllSessions()
168 CK_SLOT_ID fw_st_id; /* id for accessing framework's slottable */ in C_CloseAllSessions()
249 CK_SLOT_ID slot_id; in C_GetSessionInfo()
H A Dpkcs11Keys.c45 CK_SLOT_ID slotid; in C_GenerateKey()
102 CK_SLOT_ID slotid; in C_GenerateKeyPair()
162 CK_SLOT_ID slotid; in C_WrapKey()
219 CK_SLOT_ID slotid; in C_UnwrapKey()
276 CK_SLOT_ID slotid; in C_DeriveKey()
H A Dpkcs11Slottable.c123 pkcs11_slot_allocate(CK_SLOT_ID *pslot_id) { in pkcs11_slot_allocate()
266 pkcs11_is_valid_slot(CK_SLOT_ID slot_id) { in pkcs11_is_valid_slot()
292 pkcs11_validate_and_convert_slotid(CK_SLOT_ID slot_id, in pkcs11_validate_and_convert_slotid()
293 CK_SLOT_ID *real_slot_id) { in pkcs11_validate_and_convert_slotid()
H A Dpkcs11SUNWExtensions.c98 match_mech(CK_SLOT_ID slot_id, void *args, CK_RV *rv) in match_mech()
124 boolean_t (*criteria)(CK_SLOT_ID slot_id, void *args, CK_RV *rv), in pkcs11_GetCriteriaSession()
130 CK_SLOT_ID slot_id; in pkcs11_GetCriteriaSession()
158 slot_list = malloc(slotcount * sizeof (CK_SLOT_ID)); in pkcs11_GetCriteriaSession()
211 CK_SLOT_ID slot_id; in SUNW_C_GetMechSession()
240 slot_list = malloc(slotcount * sizeof (CK_SLOT_ID)); in SUNW_C_GetMechSession()
283 CK_SLOT_ID slot_id; in SUNW_C_KeyToObject()
H A Dpkcs11Session.h39 CK_SLOT_ID se_slotid; /* slotID in framework */
62 extern CK_RV pkcs11_session_add(struct pkcs11_slot *pslot, CK_SLOT_ID slot_id,
H A DmetaGlobal.h243 CK_SLOT_ID fw_st_id; /* used for accessing framework's slottable */
483 CK_SLOT_ID fw_st_id; /* framework slot table ID */
555 extern CK_SLOT_ID metaslot_keystore_slotid;
689 CK_SLOT_ID meta_slotManager_get_framework_table_id(CK_ULONG slotnum);
705 CK_RV meta_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo);
706 CK_RV meta_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo);
707 CK_RV meta_GetMechanismList(CK_SLOT_ID slotID,
709 CK_RV meta_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type,
711 CK_RV meta_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin,
717 CK_RV meta_OpenSession(CK_SLOT_ID slotID, CK_FLAGS flags,
[all …]
H A DmetaSlotManager.c52 CK_SLOT_ID metaslot_keystore_slotid;
72 CK_SLOT_ID i; in meta_slotManager_initialize()
234 CK_SLOT_ID true_id, fw_st_id; in meta_slotManager_find_object_token()
370 CK_SLOT_ID
443 CK_SLOT_ID fw_st_id, true_id; in meta_get_slot_session()
H A Dpkcs11Rand.c43 CK_SLOT_ID slotid; in C_SeedRandom()
96 CK_SLOT_ID slotid; in C_GenerateRandom()
H A Dpkcs11Conf.c60 CK_SLOT_ID fast_slot = 0;
256 CK_SLOT_ID slot_id; /* slotID assigned for framework */ in pkcs11_slot_mapping()
488 prov_slots = calloc(prov_slot_count, sizeof (CK_SLOT_ID)); in pkcs11_slot_mapping()
807 pkcs11_is_dismech(CK_SLOT_ID slotid, CK_MECHANISM_TYPE mech) in pkcs11_is_dismech()
H A Dpkcs11Sign.c47 CK_SLOT_ID slotid; in C_SignInit()
224 CK_SLOT_ID slotid; in C_SignRecoverInit()
H A Dpkcs11Verify.c46 CK_SLOT_ID slotid; in C_VerifyInit()
222 CK_SLOT_ID slotid; in C_VerifyRecoverInit()
H A Dpkcs11Conf.h40 extern boolean_t pkcs11_is_dismech(CK_SLOT_ID slotid, CK_MECHANISM_TYPE mech);
H A Dpkcs11Global.h44 extern CK_SLOT_ID fast_slot;
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSession.h82 CK_SLOT_ID ses_slotid; /* slotID saved from C_OpenSession() */
161 void kernel_delete_all_sessions(CK_SLOT_ID slotID, boolean_t wrapper_only);
166 CK_RV kernel_add_session(CK_SLOT_ID slotID, CK_FLAGS flags,
169 void kernel_delete_session(CK_SLOT_ID slotID, kernel_session_t *sp,
H A DkernelSlotToken.c80 C_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo) in C_GetSlotInfo()
134 C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) in C_GetTokenInfo()
221 C_GetMechanismList(CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMechanismList, in C_GetMechanismList()
362 C_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, in C_GetMechanismInfo()
386 C_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, in C_InitToken()
H A DkernelSessionUtil.c50 kernel_delete_all_sessions(CK_SLOT_ID slotID, boolean_t wrapper_only) in kernel_delete_all_sessions()
95 kernel_add_session(CK_SLOT_ID slotID, CK_FLAGS flags, CK_VOID_PTR pApplication, in kernel_add_session()
180 kernel_delete_session(CK_SLOT_ID slotID, kernel_session_t *session_p, in kernel_delete_session()
H A DkernelSlot.h56 CK_SLOT_ID sl_provider_id; /* kernel provider ID */
/illumos-gate/usr/src/lib/pkcs11/include/
H A Dpkcs11f.h84 CK_SLOT_ID slotID, /* the ID of the slot */
96 CK_SLOT_ID slotID, /* ID of the token's slot */
108 CK_SLOT_ID slotID, /* ID of token's slot */
121 CK_SLOT_ID slotID, /* ID of the token's slot */
132 CK_SLOT_ID slotID, /* ID of the token's slot */
173 CK_SLOT_ID slotID, /* the slot's ID */
197 CK_SLOT_ID slotID /* the token's slot */
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpk11tokens.c131 sizeof (CK_SLOT_ID))) == NULL) in kmf_get_token_slots()
159 tmp_count * sizeof (CK_SLOT_ID))) == NULL) { in kmf_get_token_slots()
291 kmf_pk11_token_lookup(KMF_HANDLE_T handle, char *label, CK_SLOT_ID *slot_id) in kmf_pk11_token_lookup()
506 CK_SLOT_ID slot_id; in kmf_select_token()
564 CK_SLOT_ID slot_id = 0; in kmf_pk11_init_token()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSlotToken.c302 C_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo) in C_GetSlotInfo()
329 C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) in C_GetTokenInfo()
408 C_GetMechanismList(CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMechanismList, in C_GetMechanismList()
451 C_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, in C_GetMechanismInfo()
488 C_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, in C_InitToken()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtpmtok_int.h179 CK_SLOT_ID slotID;
188 CK_SLOT_ID SltId;
442 CK_RV (*t_init)(char *, CK_SLOT_ID, TSS_HCONTEXT *);
446 CK_RV (*t_session)(CK_SLOT_ID);
496 extern void copy_slot_info(CK_SLOT_ID, CK_SLOT_INFO_PTR);
617 void copy_slot_info(CK_SLOT_ID, CK_SLOT_INFO_PTR);
1267 (void *ppFunctionList, CK_SLOT_ID slotID, CK_CHAR_PTR pCorrelator);
1285 (CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo);
1288 (CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo);
1291 (CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMechanismList,
[all …]
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dcommon.h89 extern CK_RV login_token(CK_SLOT_ID slot_id, CK_UTF8CHAR_PTR pin,
92 extern CK_RV quick_start(CK_SLOT_ID slot_id, CK_FLAGS sess_flags,

123