Searched defs:mech_support_info (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaSlotToken.c279 mech_support_info_t mech_support_info; local
289 mech_support_info.supporting_slots =
291 if (mech_support_info.supporting_slots == NULL) {
295 mech_support_info.mech = type;
297 rv = meta_mechManager_get_slots(&mech_support_info, TRUE, NULL);
299 free(mech_support_info.supporting_slots);
303 slotCount = mech_support_info.num_supporting_slots;
304 slots = mech_support_info.supporting_slots;
335 free(mech_support_info.supporting_slots);
H A DmetaMechManager.c204 * The "mech_support_info" argument should have allocated enough
207 * in the "mech_support_info" structure will indicate how
211 * mech_support_info argument is not updated.
215 meta_mechManager_get_slots(mech_support_info_t *mech_support_info, argument
224 rv = meta_mechManager_update_mech(mech_support_info->mech,
232 found = find_mech_index(mech_support_info->mech, &index);
251 (mech_support_info->supporting_slots)[num_found - 1]
261 mech_support_info->num_supporting_slots = num_found;
H A DmetaUtil.c170 if (((session->mech_support_info).mech != pMechanism->mechanism) ||
171 ((session->mech_support_info).num_supporting_slots == 0)) {
172 (session->mech_support_info).mech = pMechanism->mechanism;
173 rv = meta_mechManager_get_slots(&(session->mech_support_info),
183 slotCount = (session->mech_support_info).num_supporting_slots;
184 supporting_slots = (session->mech_support_info).supporting_slots;
858 mech_support_info_t *mech_support_info,
868 &((mech_support_info->supporting_slots)[0]), B_FALSE,
876 mech_support_info->mech = mech_type;
883 mech_support_info
857 get_slotlist_for_mech(CK_MECHANISM_TYPE mech_type, mech_support_info_t *mech_support_info, mechinfo_t ***slots, unsigned long *slot_count, boolean_t token_only, CK_MECHANISM_INFO *mech_info) argument
[all...]
H A DmetaGlobal.h311 typedef struct mech_support_info { struct
362 mech_support_info_t mech_support_info; member in struct:metasession
579 CK_RV meta_mechManager_get_slots(mech_support_info_t *mech_support_info,

Completed in 65 milliseconds