Searched refs:data_unit_size (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/block/ |
D | blk-crypto-fallback.c | 266 int data_unit_size; in blk_crypto_fallback_encrypt_bio() local 282 data_unit_size = bc->bc_key->crypto_cfg.data_unit_size; in blk_crypto_fallback_encrypt_bio() 312 skcipher_request_set_crypt(ciph_req, &src, &dst, data_unit_size, in blk_crypto_fallback_encrypt_bio() 329 sg_set_page(&src, plaintext_page, data_unit_size, in blk_crypto_fallback_encrypt_bio() 331 sg_set_page(&dst, ciphertext_page, data_unit_size, in blk_crypto_fallback_encrypt_bio() 335 for (j = 0; j < enc_bvec->bv_len; j += data_unit_size) { in blk_crypto_fallback_encrypt_bio() 344 src.offset += data_unit_size; in blk_crypto_fallback_encrypt_bio() 345 dst.offset += data_unit_size; in blk_crypto_fallback_encrypt_bio() 390 const int data_unit_size = bc->bc_key->crypto_cfg.data_unit_size; in blk_crypto_fallback_decrypt_bio() local 413 skcipher_request_set_crypt(ciph_req, &sg, &sg, data_unit_size, in blk_crypto_fallback_decrypt_bio() [all …]
|
D | blk-crypto.c | 208 const unsigned int data_unit_size = in bio_crypt_check_alignment() local 209 bio->bi_crypt_context->bc_key->crypto_cfg.data_unit_size; in bio_crypt_check_alignment() 214 if (!IS_ALIGNED(bv.bv_len | bv.bv_offset, data_unit_size)) in bio_crypt_check_alignment() 326 unsigned int data_unit_size) in blk_crypto_init_key() argument 342 if (!is_power_of_2(data_unit_size)) in blk_crypto_init_key() 347 blk_key->crypto_cfg.data_unit_size = data_unit_size; in blk_crypto_init_key() 348 blk_key->data_unit_size_bits = ilog2(data_unit_size); in blk_crypto_init_key()
|
D | blk-crypto-profile.c | 349 if (!(profile->modes_supported[cfg->crypto_mode] & cfg->data_unit_size)) in __blk_crypto_cfg_supported()
|
/linux-6.1.9/include/linux/ |
D | blk-crypto.h | 31 unsigned int data_unit_size; member 95 unsigned int data_unit_size);
|
D | qcom_scm.h | 113 u32 data_unit_size);
|
/linux-6.1.9/drivers/mmc/host/ |
D | cqhci-crypto.c | 71 u8 data_unit_mask = key->crypto_cfg.data_unit_size / 512; in cqhci_crypto_keyslot_program() 89 cfg.data_unit_size = data_unit_mask; in cqhci_crypto_keyslot_program()
|
D | cqhci.h | 202 u8 data_unit_size; member
|
D | sdhci-msm.c | 2007 cfg->data_unit_size); in sdhci_msm_program_key()
|
/linux-6.1.9/drivers/ufs/core/ |
D | ufshcd-crypto.c | 60 u8 data_unit_mask = key->crypto_cfg.data_unit_size / 512; in ufshcd_crypto_keyslot_program() 79 cfg.data_unit_size = data_unit_mask; in ufshcd_crypto_keyslot_program()
|
/linux-6.1.9/drivers/ufs/host/ |
D | ufs-qcom-ice.c | 241 cfg->data_unit_size); in ufs_qcom_ice_program_key()
|
/linux-6.1.9/include/ufs/ |
D | ufshci.h | 348 u8 data_unit_size; member
|
/linux-6.1.9/fs/crypto/ |
D | inline_crypt.c | 134 crypto_cfg.data_unit_size = sb->s_blocksize; in fscrypt_select_encryption_impl()
|
/linux-6.1.9/drivers/firmware/ |
D | qcom_scm.c | 1090 enum qcom_scm_ice_cipher cipher, u32 data_unit_size) in qcom_scm_ice_set_key() argument 1101 .args[4] = data_unit_size, in qcom_scm_ice_set_key()
|