Searched refs:slot_id (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11Slottable.c266 pkcs11_is_valid_slot(CK_SLOT_ID slot_id) { argument
268 if ((slot_id < slottable->st_first) ||
269 (slot_id > slottable->st_last)) {
271 } else if (slottable->st_slots[slot_id] != NULL) {
292 pkcs11_validate_and_convert_slotid(CK_SLOT_ID slot_id, argument
296 *real_slot_id = slot_id;
299 if (slot_id >= metaslot_keystore_slotid) {
300 *real_slot_id = slot_id + 1;
302 *real_slot_id = slot_id;
H A Dpkcs11Session.h64 extern CK_RV pkcs11_session_add(struct pkcs11_slot *pslot, CK_SLOT_ID slot_id,
H A Dpkcs11Slot.h129 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,
H A Dpkcs11SUNWExtensions.c98 match_mech(CK_SLOT_ID slot_id, void *args, CK_RV *rv) argument
104 return (C_GetMechanismInfo(slot_id, mech, &mech_info) == CKR_OK);
124 boolean_t (*criteria)(CK_SLOT_ID slot_id, void *args, CK_RV *rv),
130 CK_SLOT_ID slot_id; local
170 slot_id = slot_list[i];
171 if ((*criteria)(slot_id, args, &rv)) {
182 rv = C_OpenSession(slot_id, CKF_SERIAL_SESSION, NULL,
211 CK_SLOT_ID slot_id; local
252 slot_id = slot_list[i];
253 if (C_GetMechanismInfo(slot_id, mec
123 pkcs11_GetCriteriaSession( boolean_t (criteria)CK_SLOT_ID slot_id, void *args, CK_RV *rv), void *args, CK_SESSION_HANDLE_PTR hSession) argument
283 CK_SLOT_ID slot_id; local
[all...]
H A Dpkcs11Sessionlist.c47 pkcs11_session_add(pkcs11_slot_t *slotp, CK_SLOT_ID slot_id, argument
59 newhandle->se_slotid = slot_id;
H A Dpkcs11Session.c251 CK_SLOT_ID slot_id; local
283 slot_id = sessp->se_slotid;
286 rv = FUNCLIST(slot_id)->
295 pInfo->slotID = slot_id;
H A Dpkcs11Conf.c256 CK_SLOT_ID slot_id; /* slotID assigned for framework */ local
563 rv = pkcs11_slot_allocate(&slot_id);
572 cur_slot = slottable->st_slots[slot_id];
H A Dpkcs11SlotToken.c60 CK_SLOT_ID slot_id; /* slot ID for returning to the application */ local
89 * The variable "slot_id" is used for keeping track of the
92 slot_id = slottable->st_first;
110 pSlotList[count] = slot_id;
111 slot_id++;
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpk11tokens.c291 kmf_pk11_token_lookup(KMF_HANDLE_T handle, char *label, CK_SLOT_ID *slot_id) argument
312 if (slot_id == NULL || label == NULL || !strlen(label))
396 *slot_id = slot_list[i];
420 *slot_id = slot_list[0];
506 CK_SLOT_ID slot_id; local
529 kmf_rv = kmf_pk11_token_lookup(handle, label, &slot_id);
539 ck_rv = C_OpenSession(slot_id, openflags, NULL, NULL, &hSession);
564 CK_SLOT_ID slot_id = 0; local
574 ret = kmf_pk11_token_lookup(handle, currlabel, &slot_id);
583 ckrv = C_InitToken(slot_id, sopi
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dsetpin.c115 CK_SLOT_ID slot_id; local
135 rv = kmf_pk11_token_lookup(NULL, token_spec, &slot_id);
138 if (C_GetTokenInfo(slot_id, &token_info) != CKR_OK)
202 &slot_id, sizeof (slot_id));
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,
/illumos-gate/usr/src/lib/pkcs11/include/
H A Dcryptoki.h94 boolean_t (*criteria)(CK_SLOT_ID slot_id, void *args, CK_RV *rv),
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_label.c448 char *fmtstr, buf[BUFSZ], slot_id; local
512 slot_id = g4map[mapidx][htid];
521 (void) snprintf(buf, BUFSZ, fmtstr, slot_id);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcpolicy/
H A Dpsvcpolicy.c938 char *slot_id; local
975 &slot_id, PSVC_PARENT, 0);
979 psvc_get_attr(hdlp, slot_id, PSVC_ASSOC_MATCHES_ATTR,
983 status = psvc_get_attr(hdlp, slot_id,
/illumos-gate/usr/src/cmd/lofiadm/
H A Dmain.c1225 match_token_cipher(CK_SLOT_ID slot_id, void *args, CK_RV *rv) argument
1258 if (C_GetMechanismInfo(slot_id, cipher->type, &mechinfo) != CKR_OK) {
1263 if (C_GetMechanismInfo(slot_id, CKM_PKCS5_PBKD2, &mechinfo) !=
1271 if (token->key == NULL || (C_GetTokenInfo(slot_id, &tokinfo) != CKR_OK))
1293 cipher->slot = slot_id;
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/
H A Dpsvcpolicy.c1365 char *slot_id; local
1416 PSVC_ASSOC_ID_ATTR, &slot_id,
1421 psvc_get_attr(hdlp, slot_id,
1428 slot_id,
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_uef.c1618 check_random(CK_SLOT_ID slot_id, CK_FUNCTION_LIST_PTR prov_funcs) argument
1625 rv = prov_funcs->C_OpenSession(slot_id, CKF_SERIAL_SESSION,
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c1253 CK_SLOT_ID slot_id,
1295 rv = C_OpenSession(slot_id, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR,
1334 rv = C_OpenSession(slot_id, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR,
5254 CK_SLOT_ID *slot_id)
5327 *slot_id = slotID;
1250 init_uef(context_t *text, CK_KEY_TYPE keyType, CK_MECHANISM_TYPE mech_type, CK_SLOT_ID slot_id, char enckey[16], char deckey[16]) argument
5253 getSlotID(const sasl_utils_t *utils, CK_MECHANISM_TYPE mech_type, CK_SLOT_ID *slot_id) argument

Completed in 99 milliseconds