Lines Matching defs:mechanism

32  * Each element in the array represents a particular mechanism type. The
33 * array is sorted by type, so that searching by mechanism can be done
34 * quickly. Each element also contains the mechanism data for each slot.
71 static boolean_t find_mech_index(CK_MECHANISM_TYPE mechanism,
163 * Also, it may not be allowed based on the mechanism policy.
210 * Get list of all slots supporting the specified mechanism.
214 * specified mechanism. The "num_supporting_slots" field
216 * many slots are found to support the mechanism.
279 * Updates a mechanism in the mechlist. If the mechanism is not
280 * listed, all providers will be queried. If the mechanism
297 /* Ensure list contains the mechanism. */
306 * index as a hint to quickly find the mechanism.
410 /* Update the mechanism info. */
445 * Updates the information for a particular mechanism for a particular slot.
465 * Check if the specified mechanism is in the disabled list
487 /* record that the mechanism isn't supported for the slot */
503 * mechlist. If a mechanism is not present, an uninitialized entry is
507 * first mechanism was located.
595 * Performs a search of mechlist for the specified mechanism, and
596 * returns if the mechanism was found or not. The value of the "index"
601 * caller already knows where the mechanism is likely to be.
613 find_mech_index(CK_MECHANISM_TYPE mechanism, unsigned long *index)
620 if (mechlist[i].type == mechanism) {
625 if (mechlist[i].type > mechanism)
648 * Check if the specified mechanism is supported by the specified slot.
654 meta_mechManager_slot_supports_mech(CK_MECHANISM_TYPE mechanism,
666 rv = meta_mechManager_update_mech(mechanism, force_update);
672 found = find_mech_index(mechanism, &index);