Home
last modified time | relevance | path

Searched refs:dun_bytes (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/block/
H A Dblk-crypto.c313 * @dun_bytes: number of bytes that will be used to specify the DUN when this
322 unsigned int dun_bytes, in blk_crypto_init_key()
336 if (dun_bytes == 0 || dun_bytes > mode->ivsize) in blk_crypto_init_key()
343 blk_key->crypto_cfg.dun_bytes = dun_bytes; in blk_crypto_init_key()
320 blk_crypto_init_key(struct blk_crypto_key *blk_key, const u8 *raw_key, enum blk_crypto_mode_num crypto_mode, unsigned int dun_bytes, unsigned int data_unit_size) blk_crypto_init_key() argument
H A Dkeyslot-manager.c303 if (ksm->max_dun_bytes_supported < cfg->dun_bytes) in blk_ksm_crypto_cfg_supported()
/kernel/linux/linux-6.6/block/
H A Dblk-crypto.c321 * @dun_bytes: number of bytes that will be used to specify the DUN when this
330 unsigned int dun_bytes, in blk_crypto_init_key()
344 if (dun_bytes == 0 || dun_bytes > mode->ivsize) in blk_crypto_init_key()
351 blk_key->crypto_cfg.dun_bytes = dun_bytes; in blk_crypto_init_key()
328 blk_crypto_init_key(struct blk_crypto_key *blk_key, const u8 *raw_key, enum blk_crypto_mode_num crypto_mode, unsigned int dun_bytes, unsigned int data_unit_size) blk_crypto_init_key() argument
H A Dblk-crypto-profile.c353 if (profile->max_dun_bytes_supported < cfg->dun_bytes) in __blk_crypto_cfg_supported()
/kernel/linux/linux-5.10/include/linux/
H A Dblk-crypto.h27 * @dun_bytes: the maximum number of bytes of DUN used when using this key
32 unsigned int dun_bytes; member
94 unsigned int dun_bytes,
/kernel/linux/linux-6.6/include/linux/
H A Dblk-crypto.h28 * @dun_bytes: the maximum number of bytes of DUN used when using this key
33 unsigned int dun_bytes; member
92 unsigned int dun_bytes,
/kernel/linux/linux-5.10/drivers/hyperhold/
H A Dhp_device.c174 u32 dun_bytes = HP_IV_SIZE - sizeof(__le64); in inline_crypto_init() local
182 ret = blk_crypto_init_key(blk_key, key, HP_CIPHER_MODE, dun_bytes, PAGE_SIZE); in inline_crypto_init()
/kernel/linux/linux-6.6/drivers/hyperhold/
H A Dhp_device.c180 u32 dun_bytes = HP_IV_SIZE - sizeof(__le64); in inline_crypto_init() local
188 ret = blk_crypto_init_key(blk_key, key, HP_CIPHER_MODE, dun_bytes, PAGE_SIZE); in inline_crypto_init()
/kernel/linux/linux-5.10/fs/crypto/
H A Dinline_crypt.c107 crypto_cfg.dun_bytes = fscrypt_get_dun_bytes(ci); in fscrypt_select_encryption_impl()
/kernel/linux/linux-6.6/fs/crypto/
H A Dinline_crypt.c133 crypto_cfg.dun_bytes = fscrypt_get_dun_bytes(ci); in fscrypt_select_encryption_impl()

Completed in 6 milliseconds