mech_support_info
mech_support_info_t mech_support_info;
CK_RV meta_mechManager_get_slots(mech_support_info_t *mech_support_info,
meta_mechManager_get_slots(mech_support_info_t *mech_support_info,
rv = meta_mechManager_update_mech(mech_support_info->mech,
found = find_mech_index(mech_support_info->mech, &index);
(mech_support_info->supporting_slots)[num_found - 1]
mech_support_info->num_supporting_slots = num_found;
mech_support_info_t *info = &(session->mech_support_info);
(new_session->mech_support_info).supporting_slots
if ((new_session->mech_support_info).supporting_slots == NULL) {
(new_session->mech_support_info).num_supporting_slots = 0;
free((session->mech_support_info).supporting_slots);
mech_support_info_t mech_support_info;
mech_support_info.supporting_slots =
if (mech_support_info.supporting_slots == NULL) {
mech_support_info.mech = type;
rv = meta_mechManager_get_slots(&mech_support_info, TRUE, NULL);
free(mech_support_info.supporting_slots);
slotCount = mech_support_info.num_supporting_slots;
slots = mech_support_info.supporting_slots;
free(mech_support_info.supporting_slots);
&(session->mech_support_info), &slots, &slotCount, token_only,
&(session->mech_support_info), &slots, &slotCount,
&(session->mech_support_info), &slots, &slotCount,
&(session->mech_support_info), &slots, &slot_count,
if (((session->mech_support_info).mech != pMechanism->mechanism) ||
((session->mech_support_info).num_supporting_slots == 0)) {
(session->mech_support_info).mech = pMechanism->mechanism;
rv = meta_mechManager_get_slots(&(session->mech_support_info),
slotCount = (session->mech_support_info).num_supporting_slots;
supporting_slots = (session->mech_support_info).supporting_slots;
mech_support_info_t *mech_support_info,
&((mech_support_info->supporting_slots)[0]), B_FALSE,
mech_support_info->mech = mech_type;
mech_support_info->num_supporting_slots = 0;
*slots = mech_support_info->supporting_slots;
if ((mech_support_info->mech != mech_type) ||
(mech_support_info->num_supporting_slots == 0)) {
mech_support_info->mech = mech_type;
rv = meta_mechManager_get_slots(mech_support_info,
*slots = mech_support_info->supporting_slots;
*slot_count = mech_support_info->num_supporting_slots;