Lines Matching full:mechanism
27 * Mechanism Manager - centralized knowledge of mechanisms.
33 * Each element in the array represents a particular mechanism type. The
34 * array is sorted by type, so that searching by mechanism can be done
35 * quickly. Each element also contains the mechanism data for each slot.
153 * Also, it may not be allowed based on the mechanism policy. in meta_mechManager_get_mechs()
200 * Get list of all slots supporting the specified mechanism.
204 * specified mechanism. The "num_supporting_slots" field
206 * many slots are found to support the mechanism.
269 * Updates a mechanism in the mechlist. If the mechanism is not
270 * listed, all providers will be queried. If the mechanism
287 /* Ensure list contains the mechanism. */ in meta_mechManager_update_mech()
296 * index as a hint to quickly find the mechanism. in meta_mechManager_update_mech()
400 /* Update the mechanism info. */ in meta_mechManager_update_slot()
435 * Updates the information for a particular mechanism for a particular slot.
455 * Check if the specified mechanism is in the disabled list in update_slotmech()
477 /* record that the mechanism isn't supported for the slot */ in update_slotmech()
493 * mechlist. If a mechanism is not present, an uninitialized entry is
497 * first mechanism was located.
585 * Performs a search of mechlist for the specified mechanism, and
586 * returns if the mechanism was found or not. The value of the "index"
591 * caller already knows where the mechanism is likely to be.
603 find_mech_index(CK_MECHANISM_TYPE mechanism, unsigned long *index) in find_mech_index() argument
610 if (mechlist[i].type == mechanism) { in find_mech_index()
615 if (mechlist[i].type > mechanism) in find_mech_index()
638 * Check if the specified mechanism is supported by the specified slot.
644 meta_mechManager_slot_supports_mech(CK_MECHANISM_TYPE mechanism, in meta_mechManager_slot_supports_mech() argument
656 rv = meta_mechManager_update_mech(mechanism, force_update); in meta_mechManager_slot_supports_mech()
662 found = find_mech_index(mechanism, &index); in meta_mechManager_slot_supports_mech()