Searched refs:data_unit_size (Results 1 – 7 of 7) sorted by relevance
| /linux/block/ |
| H A D | blk-crypto-fallback.c | 245 int data_unit_size = bc->bc_key->crypto_cfg.data_unit_size; in __blk_crypto_fallback_encrypt_bio() local 263 skcipher_request_set_crypt(ciph_req, &src, &dst, data_unit_size, in __blk_crypto_fallback_encrypt_bio() 282 data_unit_size)) { in __blk_crypto_fallback_encrypt_bio() 290 sg_set_page(&src, src_bv.bv_page, data_unit_size, in __blk_crypto_fallback_encrypt_bio() 292 sg_set_page(&dst, enc_page, data_unit_size, src_bv.bv_offset); in __blk_crypto_fallback_encrypt_bio() 303 for (i = 0; i < src_bv.bv_len; i += data_unit_size) { in __blk_crypto_fallback_encrypt_bio() 310 src.offset += data_unit_size; in __blk_crypto_fallback_encrypt_bio() 311 dst.offset += data_unit_size; in __blk_crypto_fallback_encrypt_bio() 382 const int data_unit_size = bc->bc_key->crypto_cfg.data_unit_size; in __blk_crypto_fallback_decrypt_bio() local 391 skcipher_request_set_crypt(ciph_req, &sg, &sg, data_unit_size, in __blk_crypto_fallback_decrypt_bio() [all …]
|
| H A D | blk-crypto-profile.c | 349 if (!(profile->modes_supported[cfg->crypto_mode] & cfg->data_unit_size)) in __blk_crypto_cfg_supported()
|
| /linux/drivers/mmc/host/ |
| H A D | cqhci-crypto.c | 64 u8 data_unit_mask = key->crypto_cfg.data_unit_size / 512; in cqhci_crypto_keyslot_program() 81 cfg.data_unit_size = data_unit_mask; in cqhci_crypto_keyslot_program()
|
| /linux/drivers/ufs/core/ |
| H A D | ufshcd-crypto.c | 51 u8 data_unit_mask = key->crypto_cfg.data_unit_size / 512; in ufshcd_crypto_keyslot_program() 69 cfg.data_unit_size = data_unit_mask; in ufshcd_crypto_keyslot_program()
|
| /linux/drivers/soc/qcom/ |
| H A D | ice.c | 343 .dusize = bkey->crypto_cfg.data_unit_size / 512, in qcom_ice_program_wrapped_key() 416 blk_key->crypto_cfg.data_unit_size / 512); in qcom_ice_program_key()
|
| /linux/include/ufs/ |
| H A D | ufshci.h | 414 u8 data_unit_size; 413 u8 data_unit_size; global() member
|
| /linux/fs/crypto/ |
| H A D | inline_crypt.c | 133 crypto_cfg.data_unit_size = 1U << ci->ci_data_unit_bits; in fscrypt_select_encryption_impl()
|