Searched defs:pSlotList (Results 1 - 8 of 8) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaSlotToken.c48 meta_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, argument
56 if (pSlotList == NULL) {
64 pSlotList[0] = METASLOT_SLOTID;
H A Dpkcs11SlotToken.c51 C_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, argument
63 return (fast_funcs->C_GetSlotList(tokenPresent, pSlotList,
104 if (pSlotList && (*pulCount > count)) {
105 pSlotList[count] = i;
111 /* pSlotList set to NULL means caller only wants count */
112 if ((*pulCount < count) && (pSlotList != NULL)) {
/osnet-11/usr/src/lib/pkcs11/pkcs11_kms/common/
H A DkmsSlotToken.c61 C_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, argument
80 if (pSlotList == NULL) {
91 pSlotList[0] = KMS_TOKEN_SLOTID;
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSlotToken.c44 C_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, argument
56 if (pSlotList == NULL) {
74 pSlotList[i] = i;
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSlotToken.c376 C_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, argument
389 if (pSlotList == NULL) {
397 if ((*pulCount < 1) && (pSlotList != NULL)) {
400 pSlotList[0] = SOFTTOKEN_SLOTID;
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c93 CK_SLOT_ID_PTR pSlotList; local
109 pSlotList = (CK_SLOT_ID_PTR) malloc(pulCount * sizeof (CK_SLOT_ID));
110 if (pSlotList == NULL) {
115 rv = C_GetSlotList(0, pSlotList, &pulCount);
122 rv = C_GetMechanismInfo(pSlotList[i], wanted_mech, &info);
128 rv = C_OpenSession(pSlotList[i], CKF_SERIAL_SESSION,
139 if (pSlotList != NULL)
140 free(pSlotList);
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dapi_interface.c1523 CK_SLOT_ID_PTR pSlotList,
1550 if (pSlotList == NULL) {
1555 pSlotList[0] = TPM_SLOTID;
1522 C_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, CK_ULONG_PTR pulCount) argument
/osnet-11/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c5280 CK_SLOT_ID *pSlotList = NULL; local
5294 pSlotList = utils->calloc(sizeof (CK_SLOT_ID), ulSlotCount);
5295 if (pSlotList == NULL)
5298 rv = C_GetSlotList(CK_FALSE, pSlotList, &ulSlotCount);
5308 slotID = pSlotList[i];
5316 utils->free(pSlotList);
5322 utils->free(pSlotList);
5333 utils->free(pSlotList);
5346 utils->free(pSlotList);

Completed in 49 milliseconds