Searched refs:crypto_mode (Results 1 – 8 of 8) sorted by relevance
342 enum blk_crypto_mode_num crypto_mode, in blk_crypto_init_key() argument350 if (crypto_mode >= ARRAY_SIZE(blk_crypto_modes)) in blk_crypto_init_key()353 mode = &blk_crypto_modes[crypto_mode]; in blk_crypto_init_key()374 blk_key->crypto_cfg.crypto_mode = crypto_mode; in blk_crypto_init_key()432 return blk_crypto_fallback_start_using_mode(key->crypto_cfg.crypto_mode); in blk_crypto_start_using_key()
351 if (!(profile->modes_supported[cfg->crypto_mode] & cfg->data_unit_size)) in __blk_crypto_cfg_supported()
82 enum blk_crypto_mode_num crypto_mode; member146 enum blk_crypto_mode_num crypto_mode,
132 crypto_cfg.crypto_mode = ci->ci_mode->blk_crypto_mode; in fscrypt_select_encryption_impl()163 enum blk_crypto_mode_num crypto_mode = ci->ci_mode->blk_crypto_mode; in fscrypt_prepare_inline_crypt_key() local177 crypto_mode, fscrypt_get_dun_bytes(ci), in fscrypt_prepare_inline_crypt_key()
389 if (blk_key->crypto_cfg.crypto_mode != in qcom_ice_program_key()392 blk_key->crypto_cfg.crypto_mode); in qcom_ice_program_key()
63 &cqhci_crypto_algs[key->crypto_cfg.crypto_mode]; in cqhci_crypto_keyslot_program()
50 &ufs_crypto_algs[key->crypto_cfg.crypto_mode]; in ufshcd_crypto_keyslot_program()
29 module_param_named(crypto_mode, ath11k_crypto_mode, uint, 0644);30 MODULE_PARM_DESC(crypto_mode, "crypto mode: 0-hardware, 1-software");