Searched refs:data_unit_size (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/block/ |
D | blk-crypto-fallback.c | 264 int data_unit_size; in blk_crypto_fallback_encrypt_bio() local 280 data_unit_size = bc->bc_key->crypto_cfg.data_unit_size; in blk_crypto_fallback_encrypt_bio() 309 skcipher_request_set_crypt(ciph_req, &src, &dst, data_unit_size, in blk_crypto_fallback_encrypt_bio() 326 sg_set_page(&src, plaintext_page, data_unit_size, in blk_crypto_fallback_encrypt_bio() 328 sg_set_page(&dst, ciphertext_page, data_unit_size, in blk_crypto_fallback_encrypt_bio() 332 for (j = 0; j < enc_bvec->bv_len; j += data_unit_size) { in blk_crypto_fallback_encrypt_bio() 341 src.offset += data_unit_size; in blk_crypto_fallback_encrypt_bio() 342 dst.offset += data_unit_size; in blk_crypto_fallback_encrypt_bio() 387 const int data_unit_size = bc->bc_key->crypto_cfg.data_unit_size; in blk_crypto_fallback_decrypt_bio() local 409 skcipher_request_set_crypt(ciph_req, &sg, &sg, data_unit_size, in blk_crypto_fallback_decrypt_bio() [all …]
|
D | blk-crypto.c | 206 const unsigned int data_unit_size = in bio_crypt_check_alignment() local 207 bio->bi_crypt_context->bc_key->crypto_cfg.data_unit_size; in bio_crypt_check_alignment() 212 if (!IS_ALIGNED(bv.bv_len | bv.bv_offset, data_unit_size)) in bio_crypt_check_alignment() 322 unsigned int data_unit_size) in blk_crypto_init_key() argument 338 if (!is_power_of_2(data_unit_size)) in blk_crypto_init_key() 343 blk_key->crypto_cfg.data_unit_size = data_unit_size; in blk_crypto_init_key() 344 blk_key->data_unit_size_bits = ilog2(data_unit_size); in blk_crypto_init_key()
|
D | keyslot-manager.c | 301 cfg->data_unit_size)) in blk_ksm_crypto_cfg_supported()
|
/kernel/linux/linux-5.10/include/linux/ |
D | blk-crypto.h | 31 unsigned int data_unit_size; member 95 unsigned int data_unit_size);
|
D | qcom_scm.h | 105 u32 data_unit_size); 165 u32 data_unit_size) { return -ENODEV; } in qcom_scm_ice_set_key() argument
|
/kernel/linux/linux-5.10/drivers/scsi/ufs/ |
D | ufshcd-crypto.c | 59 u8 data_unit_mask = key->crypto_cfg.data_unit_size / 512; in ufshcd_crypto_keyslot_program() 78 cfg.data_unit_size = data_unit_mask; in ufshcd_crypto_keyslot_program()
|
D | ufs-qcom-ice.c | 242 cfg->data_unit_size); in ufs_qcom_ice_program_key()
|
D | ufshci.h | 342 u8 data_unit_size; member
|
/kernel/linux/linux-5.10/fs/crypto/ |
D | inline_crypt.c | 106 crypto_cfg.data_unit_size = sb->s_blocksize; in fscrypt_select_encryption_impl()
|
/kernel/linux/linux-5.10/drivers/firmware/ |
D | qcom_scm.c | 1009 enum qcom_scm_ice_cipher cipher, u32 data_unit_size) in qcom_scm_ice_set_key() argument 1020 .args[4] = data_unit_size, in qcom_scm_ice_set_key()
|