Lines Matching refs:blk_keyslot_manager
21 struct blk_keyslot_manager;
40 int (*keyslot_program)(struct blk_keyslot_manager *ksm,
43 int (*keyslot_evict)(struct blk_keyslot_manager *ksm,
46 int (*derive_raw_secret)(struct blk_keyslot_manager *ksm,
52 struct blk_keyslot_manager { struct
108 int blk_ksm_init(struct blk_keyslot_manager *ksm, unsigned int num_slots); argument
110 int devm_blk_ksm_init(struct device *dev, struct blk_keyslot_manager *ksm,
113 blk_status_t blk_ksm_get_slot_for_key(struct blk_keyslot_manager *ksm,
121 bool blk_ksm_crypto_cfg_supported(struct blk_keyslot_manager *ksm,
124 int blk_ksm_evict_key(struct blk_keyslot_manager *ksm,
127 void blk_ksm_reprogram_all_keys(struct blk_keyslot_manager *ksm);
129 void blk_ksm_destroy(struct blk_keyslot_manager *ksm);
131 int blk_ksm_derive_raw_secret(struct blk_keyslot_manager *ksm,
136 void blk_ksm_intersect_modes(struct blk_keyslot_manager *parent,
137 const struct blk_keyslot_manager *child);
139 void blk_ksm_init_passthrough(struct blk_keyslot_manager *ksm);
141 bool blk_ksm_is_superset(struct blk_keyslot_manager *ksm_superset,
142 struct blk_keyslot_manager *ksm_subset);
144 void blk_ksm_update_capabilities(struct blk_keyslot_manager *target_ksm,
145 struct blk_keyslot_manager *reference_ksm);