Searched refs:slotlist (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dinit_ctx.c142 CK_SLOT_ID_PTR slotlist = NULL_PTR; local
160 slotlist = (CK_SLOT_ID_PTR)malloc(slotcount * sizeof(CK_SLOT_ID));
161 if (slotlist == NULL) {
167 rv = C_GetSlotList(FALSE, slotlist, &slotcount);
174 if (slot_supports_krb5(slotlist + i))
183 rv = C_OpenSession(slotlist[i], CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR,
189 if (slotlist != NULL)
190 free(slotlist);
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c3932 CK_SLOT_ID_PTR slotlist = NULL, tmpslotlist = NULL; local
4066 if (slotlist != NULL)
4067 free(slotlist);
4069 slotlist = malloc(count * sizeof (CK_SLOT_ID));
4070 if (slotlist == NULL) {
4079 if (cctx->p11->C_GetSlotList(TRUE, slotlist, &count) != CKR_OK) {
4103 if (cctx->slotid != PK_NOSLOT && cctx->slotid != slotlist[i])
4107 if ((r = cctx->p11->C_OpenSession(slotlist[i], CKF_SERIAL_SESSION,
4118 if ((r = cctx->p11->C_GetTokenInfo(slotlist[i], &tinfo)) != CKR_OK) {
4167 slotlist[
[all...]

Completed in 143 milliseconds