Searched refs:mech_support_info (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaSlotToken.c | 277 mech_support_info_t mech_support_info; in meta_GetMechanismInfo() local 287 mech_support_info.supporting_slots = in meta_GetMechanismInfo() 289 if (mech_support_info.supporting_slots == NULL) { in meta_GetMechanismInfo() 293 mech_support_info.mech = type; in meta_GetMechanismInfo() 295 rv = meta_mechManager_get_slots(&mech_support_info, TRUE, NULL); in meta_GetMechanismInfo() 297 free(mech_support_info.supporting_slots); in meta_GetMechanismInfo() 301 slotCount = mech_support_info.num_supporting_slots; in meta_GetMechanismInfo() 302 slots = mech_support_info.supporting_slots; in meta_GetMechanismInfo() 333 free(mech_support_info.supporting_slots); in meta_GetMechanismInfo()
|
H A D | metaUtil.c | 858 mech_support_info_t *mech_support_info, in get_slotlist_for_mech() argument 876 mech_support_info->mech = mech_type; in get_slotlist_for_mech() 883 mech_support_info->num_supporting_slots = 0; in get_slotlist_for_mech() 884 *slots = mech_support_info->supporting_slots; in get_slotlist_for_mech() 897 if ((mech_support_info->mech != mech_type) || in get_slotlist_for_mech() 898 (mech_support_info->num_supporting_slots == 0)) { in get_slotlist_for_mech() 899 mech_support_info->mech = mech_type; in get_slotlist_for_mech() 900 rv = meta_mechManager_get_slots(mech_support_info, in get_slotlist_for_mech() 906 *slots = mech_support_info->supporting_slots; in get_slotlist_for_mech() 1205 &(session->mech_support_info), &slots, &slotCount, in meta_wrap_key() [all …]
|
H A D | metaSessionManager.c | 154 (new_session->mech_support_info).supporting_slots in meta_session_alloc() 156 if ((new_session->mech_support_info).supporting_slots == NULL) { in meta_session_alloc() 160 (new_session->mech_support_info).num_supporting_slots = 0; in meta_session_alloc() 310 free((session->mech_support_info).supporting_slots); in meta_session_dealloc()
|
H A D | metaMechManager.c | 213 meta_mechManager_get_slots(mech_support_info_t *mech_support_info, in meta_mechManager_get_slots() argument 222 rv = meta_mechManager_update_mech(mech_support_info->mech, in meta_mechManager_get_slots() 230 found = find_mech_index(mech_support_info->mech, &index); in meta_mechManager_get_slots() 249 (mech_support_info->supporting_slots)[num_found - 1] in meta_mechManager_get_slots() 259 mech_support_info->num_supporting_slots = num_found; in meta_mechManager_get_slots()
|
H A D | metaGlobal.h | 311 typedef struct mech_support_info { struct 362 mech_support_info_t mech_support_info; member 579 CK_RV meta_mechManager_get_slots(mech_support_info_t *mech_support_info,
|
H A D | metaObjectManager.c | 1830 mech_support_info_t *info = &(session->mech_support_info); in meta_freeobject_check()
|