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

/osnet-11/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaSlotToken.c276 mech_support_info_t mech_support_info; local
286 mech_support_info.supporting_slots =
288 if (mech_support_info.supporting_slots == NULL) {
292 mech_support_info.mech = type;
294 rv = meta_mechManager_get_slots(&mech_support_info, TRUE, NULL);
296 free(mech_support_info.supporting_slots);
300 slotCount = mech_support_info.num_supporting_slots;
301 slots = mech_support_info.supporting_slots;
332 free(mech_support_info.supporting_slots);
H A DmetaMechManager.c212 * The "mech_support_info" argument should have allocated enough
215 * in the "mech_support_info" structure will indicate how
219 * mech_support_info argument is not updated.
223 meta_mechManager_get_slots(mech_support_info_t *mech_support_info, argument
232 rv = meta_mechManager_update_mech(mech_support_info->mech,
240 found = find_mech_index(mech_support_info->mech, &index);
259 (mech_support_info->supporting_slots)[num_found - 1]
269 mech_support_info->num_supporting_slots = num_found;
H A DmetaUtil.c183 if (((session->mech_support_info).mech != pMechanism->mechanism) ||
184 ((session->mech_support_info).num_supporting_slots == 0)) {
185 (session->mech_support_info).mech = pMechanism->mechanism;
186 rv = meta_mechManager_get_slots(&(session->mech_support_info),
196 slotCount = (session->mech_support_info).num_supporting_slots;
197 supporting_slots = (session->mech_support_info).supporting_slots;
871 mech_support_info_t *mech_support_info,
881 &((mech_support_info->supporting_slots)[0]), B_FALSE,
889 mech_support_info->mech = mech_type;
896 mech_support_info
870 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.h312 typedef struct mech_support_info { struct
363 mech_support_info_t mech_support_info; member in struct:metasession
583 CK_RV meta_mechManager_get_slots(mech_support_info_t *mech_support_info,

Completed in 28 milliseconds