Home
last modified time | relevance | path

Searched refs:pSlotList (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/cmd/cmd-crypto/digest/
H A Ddigest.c367 CK_SLOT_ID_PTR pSlotList = NULL; in execute_cmd() local
466 pSlotList = malloc(slotcount * sizeof (CK_SLOT_ID)); in execute_cmd()
467 if (pSlotList == NULL_PTR) { in execute_cmd()
476 if ((rv = C_GetSlotList(0, pSlotList, &slotcount)) != CKR_OK) { in execute_cmd()
494 rv = C_GetMechanismInfo(pSlotList[slot], in execute_cmd()
551 slotID = pSlotList[i]; in execute_cmd()
804 if (pSlotList != NULL) { in execute_cmd()
805 free(pSlotList); in execute_cmd()
/titanic_41/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c94 CK_SLOT_ID_PTR pSlotList; in kmf_create_pk11_session() local
110 pSlotList = (CK_SLOT_ID_PTR) malloc(pulCount * sizeof (CK_SLOT_ID)); in kmf_create_pk11_session()
111 if (pSlotList == NULL) { in kmf_create_pk11_session()
116 rv = C_GetSlotList(0, pSlotList, &pulCount); in kmf_create_pk11_session()
123 rv = C_GetMechanismInfo(pSlotList[i], wanted_mech, &info); in kmf_create_pk11_session()
129 rv = C_OpenSession(pSlotList[i], CKF_SERIAL_SESSION, in kmf_create_pk11_session()
140 if (pSlotList != NULL) in kmf_create_pk11_session()
141 free(pSlotList); in kmf_create_pk11_session()
/titanic_41/usr/src/cmd/cmd-crypto/decrypt/
H A Ddecrypt.c422 CK_SLOT_ID_PTR pSlotList = NULL; in execute_cmd() local
523 pSlotList = malloc(slotcount * sizeof (CK_SLOT_ID)); in execute_cmd()
524 if (pSlotList == NULL_PTR) { in execute_cmd()
531 if ((rv = C_GetSlotList(0, pSlotList, &slotcount)) != CKR_OK) { in execute_cmd()
546 rv = C_GetMechanismInfo(pSlotList[slot], in execute_cmd()
601 slotID = pSlotList[i]; in execute_cmd()
968 if (pSlotList != NULL) in execute_cmd()
969 free(pSlotList); in execute_cmd()
/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSlotToken.c245 C_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, in C_GetSlotList() argument
258 if (pSlotList == NULL) { in C_GetSlotList()
266 if ((*pulCount < 1) && (pSlotList != NULL)) { in C_GetSlotList()
269 pSlotList[0] = SOFTTOKEN_SLOTID; in C_GetSlotList()
/titanic_41/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaSlotToken.c51 meta_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, in meta_GetSlotList() argument
59 if (pSlotList == NULL) { in meta_GetSlotList()
67 pSlotList[0] = METASLOT_SLOTID; in meta_GetSlotList()
H A Dpkcs11SlotToken.c51 C_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, in C_GetSlotList() argument
64 return (fast_funcs->C_GetSlotList(tokenPresent, pSlotList, in C_GetSlotList()
109 if (pSlotList && (*pulCount > count)) { in C_GetSlotList()
110 pSlotList[count] = slot_id; in C_GetSlotList()
118 if ((*pulCount < count) && (pSlotList != NULL)) { in C_GetSlotList()
H A DmetaGlobal.h703 CK_RV meta_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList,
/titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSlotToken.c44 C_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, in C_GetSlotList() argument
56 if (pSlotList == NULL) { in C_GetSlotList()
74 pSlotList[i] = i; in C_GetSlotList()
/titanic_41/usr/src/lib/pkcs11/include/
H A Dpkcs11f.h75 CK_SLOT_ID_PTR pSlotList, /* receives array of slot IDs */
/titanic_41/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dapi_interface.c1522 CK_SLOT_ID_PTR pSlotList, in C_GetSlotList() argument
1549 if (pSlotList == NULL) { in C_GetSlotList()
1554 pSlotList[0] = TPM_SLOTID; in C_GetSlotList()
H A Dtpmtok_int.h1280 (CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList,
/titanic_41/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c5259 CK_SLOT_ID *pSlotList = NULL; local
5273 pSlotList = utils->calloc(sizeof (CK_SLOT_ID), ulSlotCount);
5274 if (pSlotList == NULL)
5277 rv = C_GetSlotList(CK_FALSE, pSlotList, &ulSlotCount);
5287 slotID = pSlotList[i];
5295 utils->free(pSlotList);
5301 utils->free(pSlotList);
5312 utils->free(pSlotList);
5325 utils->free(pSlotList);