Searched refs:pSlotList (Results 1 - 13 of 13) sorted by relevance
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_digest.c | 109 CK_SLOT_ID_PTR pSlotList = NULL; local 140 pSlotList = malloc(slotcount * sizeof (CK_SLOT_ID)); 141 if (pSlotList == NULL) { 148 if ((rv = C_GetSlotList(0, pSlotList, &slotcount)) != CKR_OK) { 159 slotID = pSlotList[i]; 234 free(pSlotList);
|
/illumos-gate/usr/src/cmd/cmd-crypto/digest/ |
H A D | digest.c | 367 CK_SLOT_ID_PTR pSlotList = NULL; local 466 pSlotList = malloc(slotcount * sizeof (CK_SLOT_ID)); 467 if (pSlotList == NULL_PTR) { 476 if ((rv = C_GetSlotList(0, pSlotList, &slotcount)) != CKR_OK) { 494 rv = C_GetMechanismInfo(pSlotList[slot], 551 slotID = pSlotList[i]; 804 if (pSlotList != NULL) { 805 free(pSlotList);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softSlotToken.c | 245 C_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, argument 258 if (pSlotList == NULL) { 266 if ((*pulCount < 1) && (pSlotList != NULL)) { 269 pSlotList[0] = SOFTTOKEN_SLOTID;
|
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaSlotToken.c | 51 meta_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, argument 59 if (pSlotList == NULL) { 67 pSlotList[0] = METASLOT_SLOTID;
|
H A D | pkcs11SlotToken.c | 51 C_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, argument 64 return (fast_funcs->C_GetSlotList(tokenPresent, pSlotList, 109 if (pSlotList && (*pulCount > count)) { 110 pSlotList[count] = slot_id; 117 /* pSlotList set to NULL means caller only wants count */ 118 if ((*pulCount < count) && (pSlotList != NULL)) {
|
H A D | metaGlobal.h | 703 CK_RV meta_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList,
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelSlotToken.c | 44 C_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, argument 56 if (pSlotList == NULL) { 74 pSlotList[i] = i;
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | pk11keys.c | 94 CK_SLOT_ID_PTR pSlotList; local 110 pSlotList = (CK_SLOT_ID_PTR) malloc(pulCount * sizeof (CK_SLOT_ID)); 111 if (pSlotList == NULL) { 116 rv = C_GetSlotList(0, pSlotList, &pulCount); 123 rv = C_GetMechanismInfo(pSlotList[i], wanted_mech, &info); 129 rv = C_OpenSession(pSlotList[i], CKF_SERIAL_SESSION, 140 if (pSlotList != NULL) 141 free(pSlotList);
|
/illumos-gate/usr/src/cmd/cmd-crypto/decrypt/ |
H A D | decrypt.c | 422 CK_SLOT_ID_PTR pSlotList = NULL; local 523 pSlotList = malloc(slotcount * sizeof (CK_SLOT_ID)); 524 if (pSlotList == NULL_PTR) { 531 if ((rv = C_GetSlotList(0, pSlotList, &slotcount)) != CKR_OK) { 546 rv = C_GetMechanismInfo(pSlotList[slot], 601 slotID = pSlotList[i]; 968 if (pSlotList != NULL) 969 free(pSlotList);
|
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 5259 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);
|
/illumos-gate/usr/src/lib/pkcs11/include/ |
H A D | pkcs11f.h | 75 CK_SLOT_ID_PTR pSlotList, /* receives array of slot IDs */
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | api_interface.c | 1522 CK_SLOT_ID_PTR pSlotList, 1549 if (pSlotList == NULL) { 1554 pSlotList[0] = TPM_SLOTID; 1521 C_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, CK_ULONG_PTR pulCount) argument
|
H A D | tpmtok_int.h | 1280 (CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList,
|
Completed in 471 milliseconds