Home
last modified time | relevance | path

Searched refs:crypto_mode (Results 1 – 8 of 8) sorted by relevance

/linux/block/
H A Dblk-crypto.c342 enum blk_crypto_mode_num crypto_mode, in blk_crypto_init_key() argument
350 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()
H A Dblk-crypto-profile.c351 if (!(profile->modes_supported[cfg->crypto_mode] & cfg->data_unit_size)) in __blk_crypto_cfg_supported()
/linux/include/linux/
H A Dblk-crypto.h82 enum blk_crypto_mode_num crypto_mode; member
146 enum blk_crypto_mode_num crypto_mode,
/linux/fs/crypto/
H A Dinline_crypt.c132 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() local
177 crypto_mode, fscrypt_get_dun_bytes(ci), in fscrypt_prepare_inline_crypt_key()
/linux/drivers/soc/qcom/
H A Dice.c389 if (blk_key->crypto_cfg.crypto_mode != in qcom_ice_program_key()
392 blk_key->crypto_cfg.crypto_mode); in qcom_ice_program_key()
/linux/drivers/mmc/host/
H A Dcqhci-crypto.c63 &cqhci_crypto_algs[key->crypto_cfg.crypto_mode]; in cqhci_crypto_keyslot_program()
/linux/drivers/ufs/core/
H A Dufshcd-crypto.c50 &ufs_crypto_algs[key->crypto_cfg.crypto_mode]; in ufshcd_crypto_keyslot_program()
/linux/drivers/net/wireless/ath/ath11k/
H A Dcore.c29 module_param_named(crypto_mode, ath11k_crypto_mode, uint, 0644);
30 MODULE_PARM_DESC(crypto_mode, "crypto mode: 0-hardware, 1-software");