Home
last modified time | relevance | path

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

123

/titanic_50/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11Slot.h47 CK_SLOT_ID slotid;
53 CK_SLOT_ID sl_id; /* real slotID from provider */
93 CK_SLOT_ID st_first; /* First used slot ID, used for loops */
94 CK_SLOT_ID st_last; /* Last slot ID allocated */
97 CK_SLOT_ID st_event_slot; /* Slot with event */
127 extern CK_RV pkcs11_slot_allocate(CK_SLOT_ID *slot);
129 extern CK_RV pkcs11_is_valid_slot(CK_SLOT_ID slot_id);
130 extern CK_RV pkcs11_validate_and_convert_slotid(CK_SLOT_ID slot_id,
131 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.c85 meta_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo) in meta_GetSlotInfo()
88 CK_SLOT_ID true_id; in meta_GetSlotInfo()
135 meta_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) in meta_GetTokenInfo()
139 CK_SLOT_ID true_id; in meta_GetTokenInfo()
241 meta_GetMechanismList(CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMechanismList, in meta_GetMechanismList()
273 meta_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, in meta_GetMechanismInfo()
350 meta_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, in meta_InitToken()
H A Dpkcs11Session.c43 C_OpenSession(CK_SLOT_ID slotID, CK_FLAGS flags, CK_VOID_PTR pApplication, in C_OpenSession()
48 CK_SLOT_ID true_id; in C_OpenSession()
49 CK_SLOT_ID fw_st_id; /* id for accessing framework's slottable */ in C_OpenSession()
164 C_CloseAllSessions(CK_SLOT_ID slotID) in C_CloseAllSessions()
169 CK_SLOT_ID true_id; in C_CloseAllSessions()
170 CK_SLOT_ID fw_st_id; /* id for accessing framework's slottable */ in C_CloseAllSessions()
251 CK_SLOT_ID slot_id; in C_GetSessionInfo()
H A Dpkcs11Keys.c47 CK_SLOT_ID slotid; in C_GenerateKey()
104 CK_SLOT_ID slotid; in C_GenerateKeyPair()
164 CK_SLOT_ID slotid; in C_WrapKey()
221 CK_SLOT_ID slotid; in C_UnwrapKey()
278 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 Dpkcs11Session.h41 CK_SLOT_ID se_slotid; /* slotID in framework */
64 extern CK_RV pkcs11_session_add(struct pkcs11_slot *pslot, CK_SLOT_ID slot_id,
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 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.c54 CK_SLOT_ID metaslot_keystore_slotid;
74 CK_SLOT_ID i; in meta_slotManager_initialize()
236 CK_SLOT_ID true_id, fw_st_id; in meta_slotManager_find_object_token()
372 CK_SLOT_ID
445 CK_SLOT_ID fw_st_id, true_id; in meta_get_slot_session()
H A Dpkcs11Rand.c45 CK_SLOT_ID slotid; in C_SeedRandom()
98 CK_SLOT_ID slotid; in C_GenerateRandom()
H A Dpkcs11Conf.h42 extern boolean_t pkcs11_is_dismech(CK_SLOT_ID slotid, CK_MECHANISM_TYPE mech);
H A Dpkcs11Global.h46 extern CK_SLOT_ID fast_slot;
H A Dpkcs11Sign.c49 CK_SLOT_ID slotid; in C_SignInit()
226 CK_SLOT_ID slotid; in C_SignRecoverInit()
H A Dpkcs11Verify.c48 CK_SLOT_ID slotid; in C_VerifyInit()
224 CK_SLOT_ID slotid; in C_VerifyRecoverInit()
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()
/titanic_50/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.c82 C_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo) in C_GetSlotInfo()
136 C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) in C_GetTokenInfo()
223 C_GetMechanismList(CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMechanismList, in C_GetMechanismList()
364 C_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, in C_GetMechanismInfo()
388 C_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, in C_InitToken()
H A DkernelSlot.h56 CK_SLOT_ID sl_provider_id; /* kernel provider ID */
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()
/titanic_50/usr/src/lib/pkcs11/include/
H A Dpkcs11f.h86 CK_SLOT_ID slotID, /* the ID of the slot */
97 CK_SLOT_ID slotID, /* ID of the token's slot */
108 CK_SLOT_ID slotID, /* ID of token's slot */
120 CK_SLOT_ID slotID, /* ID of the token's slot */
132 CK_SLOT_ID slotID, /* ID of the token's slot */
172 CK_SLOT_ID slotID, /* the slot's ID */
195 CK_SLOT_ID slotID /* the token's slot */
/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSlotToken.c279 C_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo) in C_GetSlotInfo()
306 C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) in C_GetTokenInfo()
382 C_GetMechanismList(CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMechanismList, in C_GetMechanismList()
422 C_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, in C_GetMechanismInfo()
459 C_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, in C_InitToken()
/titanic_50/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()
/titanic_50/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtpmtok_int.h178 CK_SLOT_ID slotID;
187 CK_SLOT_ID SltId;
441 CK_RV (*t_init)(char *, CK_SLOT_ID, TSS_HCONTEXT *);
445 CK_RV (*t_session)(CK_SLOT_ID);
495 extern void copy_slot_info(CK_SLOT_ID, CK_SLOT_INFO_PTR);
616 void copy_slot_info(CK_SLOT_ID, CK_SLOT_INFO_PTR);
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,
[all …]
/titanic_50/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