Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaMechManager.c336 CK_MECHANISM_TYPE *slot_mechlist = NULL, *tmp_slot_mechlist = NULL; in meta_mechManager_update_slot() local
372 slot_mechlist = malloc(slot_mechlistsize * sizeof (CK_MECHANISM_TYPE)); in meta_mechManager_update_slot()
373 if (slot_mechlist == NULL) { in meta_mechManager_update_slot()
385 slot_mechlist[tmp_mechlistsize] = tmp_slot_mechlist[i]; in meta_mechManager_update_slot()
391 qsort(slot_mechlist, slot_mechlistsize, sizeof (CK_MECHANISM_TYPE), in meta_mechManager_update_slot()
395 rv = meta_mechManager_allocmechs(slot_mechlist, slot_mechlistsize, in meta_mechManager_update_slot()
403 found = find_mech_index(slot_mechlist[mechnum], &index); in meta_mechManager_update_slot()
410 rv = update_slotmech(slot_mechlist[mechnum], slotnum, index); in meta_mechManager_update_slot()
420 if (slot_mechlist) { in meta_mechManager_update_slot()
421 free(slot_mechlist); in meta_mechManager_update_slot()