Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11Conf.c257 CK_SLOT_ID_PTR prov_slots = NULL; /* Provider's slot list */ in pkcs11_slot_mapping() local
488 prov_slots = calloc(prov_slot_count, sizeof (CK_SLOT_ID)); in pkcs11_slot_mapping()
490 if (prov_slots == NULL) { in pkcs11_slot_mapping()
501 prov_slots, &prov_slot_count); in pkcs11_slot_mapping()
574 cur_slot->sl_id = prov_slots[i]; in pkcs11_slot_mapping()
614 if (prov_slots != NULL) { in pkcs11_slot_mapping()
615 free(prov_slots); in pkcs11_slot_mapping()
616 prov_slots = NULL; in pkcs11_slot_mapping()
745 if (prov_slots != NULL) { in pkcs11_slot_mapping()
746 free(prov_slots); in pkcs11_slot_mapping()
[all …]
/titanic_41/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_uef.c191 CK_SLOT_ID_PTR prov_slots = NULL; /* Provider's slot list */ in list_mechlist_for_lib() local
299 prov_slots = malloc(slot_count * sizeof (CK_SLOT_ID)); in list_mechlist_for_lib()
300 if (prov_slots == NULL) { in list_mechlist_for_lib()
307 rv = prov_funcs->C_GetSlotList(FALSE, prov_slots, &slot_count); in list_mechlist_for_lib()
331 if (check_random(prov_slots[i], prov_funcs)) { in list_mechlist_for_lib()
339 rv = prov_funcs->C_GetSlotInfo(prov_slots[i], &slotinfo); in list_mechlist_for_lib()
369 rv = prov_funcs->C_GetTokenInfo(prov_slots[i], in list_mechlist_for_lib()
403 rv = prov_funcs->C_GetMechanismList(prov_slots[i], in list_mechlist_for_lib()
427 rv = prov_funcs->C_GetMechanismList(prov_slots[i], in list_mechlist_for_lib()
459 prov_slots[i], mech, &mech_info); in list_mechlist_for_lib()
[all …]