Searched refs:slot_ids (Results 1 - 2 of 2) sorted by relevance
/freebsd-12-stable/crypto/heimdal/lib/hx509/ |
H A D | test_soft_pkcs11.c | 83 CK_SLOT_ID_PTR slot_ids; local 105 if ((slot_ids = calloc(1, num_slots * sizeof(*slot_ids))) == NULL) 108 ret = (*func->C_GetSlotList)(FALSE, slot_ids, &num_slots); 112 slot = slot_ids[0]; 113 free(slot_ids);
|
H A D | ks_p11.c | 918 CK_SLOT_ID_PTR slot_ids; local 922 slot_ids = malloc(p->num_slots * sizeof(*slot_ids)); 923 if (slot_ids == NULL) { 929 ret = P11FUNC(p, GetSlotList, (FALSE, slot_ids, &p->num_slots)); 931 free(slot_ids); 941 free(slot_ids); 949 ret = p11_init_slot(context, p, lock, slot_ids[i], i, &p->slot[i]); 955 free(slot_ids);
|
Completed in 169 milliseconds