Lines Matching refs:mechanism

35  * Each element in the array represents a particular mechanism type. The
36 * array is sorted by type, so that searching by mechanism can be done
37 * quickly. Each element also contains the mechanism data for each slot.
155 * Also, it may not be allowed based on the mechanism policy.
202 * Get list of all slots supporting the specified mechanism.
206 * specified mechanism. The "num_supporting_slots" field
208 * many slots are found to support the mechanism.
271 * Updates a mechanism in the mechlist. If the mechanism is not
272 * listed, all providers will be queried. If the mechanism
289 /* Ensure list contains the mechanism. */
298 * index as a hint to quickly find the mechanism.
402 /* Update the mechanism info. */
437 * Updates the information for a particular mechanism for a particular slot.
457 * Check if the specified mechanism is in the disabled list
479 /* record that the mechanism isn't supported for the slot */
495 * mechlist. If a mechanism is not present, an uninitialized entry is
499 * first mechanism was located.
587 * Performs a search of mechlist for the specified mechanism, and
588 * returns if the mechanism was found or not. The value of the "index"
593 * caller already knows where the mechanism is likely to be.
605 find_mech_index(CK_MECHANISM_TYPE mechanism, unsigned long *index)
612 if (mechlist[i].type == mechanism) {
617 if (mechlist[i].type > mechanism)
640 * Check if the specified mechanism is supported by the specified slot.
646 meta_mechManager_slot_supports_mech(CK_MECHANISM_TYPE mechanism,
658 rv = meta_mechManager_update_mech(mechanism, force_update);
664 found = find_mech_index(mechanism, &index);