Searched refs:crypto_mode (Results 1 – 8 of 8) sorted by relevance
/linux/block/ |
A D | blk-crypto-fallback.c | 77 enum blk_crypto_mode_num crypto_mode; member 95 enum blk_crypto_mode_num crypto_mode = slotp->crypto_mode; in blk_crypto_fallback_evict_keyslot() local 98 WARN_ON(slotp->crypto_mode == BLK_ENCRYPTION_MODE_INVALID); in blk_crypto_fallback_evict_keyslot() 102 blk_crypto_modes[crypto_mode].keysize); in blk_crypto_fallback_evict_keyslot() 104 slotp->crypto_mode = BLK_ENCRYPTION_MODE_INVALID; in blk_crypto_fallback_evict_keyslot() 113 const enum blk_crypto_mode_num crypto_mode = in blk_crypto_fallback_keyslot_program() local 114 key->crypto_cfg.crypto_mode; in blk_crypto_fallback_keyslot_program() 117 if (crypto_mode != slotp->crypto_mode && in blk_crypto_fallback_keyslot_program() 118 slotp->crypto_mode != BLK_ENCRYPTION_MODE_INVALID) in blk_crypto_fallback_keyslot_program() 121 slotp->crypto_mode = crypto_mode; in blk_crypto_fallback_keyslot_program() [all …]
|
A D | blk-crypto.c | 322 enum blk_crypto_mode_num crypto_mode, in blk_crypto_init_key() argument 330 if (crypto_mode >= ARRAY_SIZE(blk_crypto_modes)) in blk_crypto_init_key() 333 mode = &blk_crypto_modes[crypto_mode]; in blk_crypto_init_key() 343 blk_key->crypto_cfg.crypto_mode = crypto_mode; in blk_crypto_init_key() 385 return blk_crypto_fallback_start_using_mode(key->crypto_cfg.crypto_mode); in blk_crypto_start_using_key()
|
A D | blk-crypto-profile.c | 349 if (!(profile->modes_supported[cfg->crypto_mode] & cfg->data_unit_size)) in __blk_crypto_cfg_supported()
|
/linux/include/linux/ |
A D | blk-crypto.h | 30 enum blk_crypto_mode_num crypto_mode; member 93 enum blk_crypto_mode_num crypto_mode,
|
/linux/fs/crypto/ |
A D | inline_crypt.c | 105 crypto_cfg.crypto_mode = ci->ci_mode->blk_crypto_mode; in fscrypt_select_encryption_impl() 132 enum blk_crypto_mode_num crypto_mode = ci->ci_mode->blk_crypto_mode; in fscrypt_prepare_inline_crypt_key() local 146 err = blk_crypto_init_key(&blk_key->base, raw_key, crypto_mode, in fscrypt_prepare_inline_crypt_key()
|
/linux/drivers/mmc/host/ |
A D | cqhci-crypto.c | 70 &cqhci_crypto_algs[key->crypto_cfg.crypto_mode]; in cqhci_crypto_keyslot_program()
|
/linux/drivers/scsi/ufs/ |
A D | ufshcd-crypto.c | 59 &ufs_crypto_algs[key->crypto_cfg.crypto_mode]; in ufshcd_crypto_keyslot_program()
|
/linux/drivers/net/wireless/ath/ath11k/ |
A D | core.c | 24 module_param_named(crypto_mode, ath11k_crypto_mode, uint, 0644); 25 MODULE_PARM_DESC(crypto_mode, "crypto mode: 0-hardware, 1-software");
|
Completed in 15 milliseconds