Searched defs:slotcount (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_digest.c107 CK_ULONG slotcount; local
130 rv = C_GetSlotList(0, NULL, &slotcount);
131 if (rv != CKR_OK || slotcount == 0) {
140 pSlotList = malloc(slotcount * sizeof (CK_SLOT_ID));
148 if ((rv = C_GetSlotList(0, pSlotList, &slotcount)) != CKR_OK) {
158 for (i = 0; i < slotcount; i++) {
170 if (i == slotcount) {
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11SUNWExtensions.c128 CK_ULONG slotcount; local
147 rv = C_GetSlotList(0, NULL, &slotcount);
152 if (slotcount == 0) {
158 slot_list = malloc(slotcount * sizeof (CK_SLOT_ID));
163 if ((rv = C_GetSlotList(0, slot_list, &slotcount)) != CKR_OK) {
169 for (i = 0; i < slotcount; i++) {
176 if (i == slotcount) {
209 CK_ULONG slotcount; local
229 rv = C_GetSlotList(0, NULL, &slotcount);
234 if (slotcount
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dinit_ctx.c143 CK_ULONG slotcount; local
147 rv = C_GetSlotList(FALSE, NULL_PTR, &slotcount);
154 if (slotcount == 0) {
160 slotlist = (CK_SLOT_ID_PTR)malloc(slotcount * sizeof(CK_SLOT_ID));
162 KRB5_LOG0(KRB5_ERR, "malloc failed for slotcount.");
167 rv = C_GetSlotList(FALSE, slotlist, &slotcount);
173 for (i = 0; i < slotcount; i++) {
177 if (i == slotcount){
/illumos-gate/usr/src/cmd/cmd-crypto/digest/
H A Ddigest.c365 CK_ULONG slotcount; local
455 rv = C_GetSlotList(0, NULL_PTR, &slotcount);
456 if (rv != CKR_OK || slotcount == 0) {
466 pSlotList = malloc(slotcount * sizeof (CK_SLOT_ID));
476 if ((rv = C_GetSlotList(0, pSlotList, &slotcount)) != CKR_OK) {
490 for (slot = 0; slot < slotcount; slot++) {
547 i = slotcount;
550 for (i = 0; i < slotcount; i++) {
583 if (i == slotcount) {
/illumos-gate/usr/src/cmd/cmd-crypto/decrypt/
H A Ddecrypt.c420 CK_ULONG slotcount; local
513 rv = C_GetSlotList(0, NULL_PTR, &slotcount);
514 if (rv != CKR_OK || slotcount == 0) {
523 pSlotList = malloc(slotcount * sizeof (CK_SLOT_ID));
531 if ((rv = C_GetSlotList(0, pSlotList, &slotcount)) != CKR_OK) {
542 for (slot = 0; slot < slotcount; slot++) {
598 i = slotcount;
600 for (i = 0; i < slotcount; i++) {
629 if (i == slotcount) {

Completed in 131 milliseconds