Home
last modified time | relevance | path

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

/linux/block/
A Dblk-crypto-fallback.c77 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 Dblk-crypto.c322 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 Dblk-crypto-profile.c349 if (!(profile->modes_supported[cfg->crypto_mode] & cfg->data_unit_size)) in __blk_crypto_cfg_supported()
/linux/include/linux/
A Dblk-crypto.h30 enum blk_crypto_mode_num crypto_mode; member
93 enum blk_crypto_mode_num crypto_mode,
/linux/fs/crypto/
A Dinline_crypt.c105 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 Dcqhci-crypto.c70 &cqhci_crypto_algs[key->crypto_cfg.crypto_mode]; in cqhci_crypto_keyslot_program()
/linux/drivers/scsi/ufs/
A Dufshcd-crypto.c59 &ufs_crypto_algs[key->crypto_cfg.crypto_mode]; in ufshcd_crypto_keyslot_program()
/linux/drivers/net/wireless/ath/ath11k/
A Dcore.c24 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