Home
last modified time | relevance | path

Searched refs:journal_mac (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/Documentation/admin-guide/device-mapper/
Ddm-integrity.rst155 journal_mac:algorithm(:key) (the key is optional)
190 Improve security of internal_hash and journal_mac:
194 - the superblock is protected by journal_mac
240 - a flag is set if journal_mac is used
/Linux-v5.15/drivers/md/
Ddm-integrity.c189 struct crypto_shash *journal_mac; member
504 SHASH_DESC_ON_STACK(desc, ic->journal_mac); in sb_mac()
506 unsigned size = crypto_shash_digestsize(ic->journal_mac); in sb_mac()
513 desc->tfm = ic->journal_mac; in sb_mac()
567 if (ic->journal_mac && ic->sb->flags & cpu_to_le32(SB_FLAG_FIXED_HMAC)) { in sync_rw_sb()
579 if (ic->mode != 'R' && ic->journal_mac && ic->sb->flags & cpu_to_le32(SB_FLAG_FIXED_HMAC)) { in sync_rw_sb()
796 SHASH_DESC_ON_STACK(desc, ic->journal_mac); in section_mac()
800 desc->tfm = ic->journal_mac; in section_mac()
834 size = crypto_shash_digestsize(ic->journal_mac); in section_mac()
868 if (!ic->journal_mac) in rw_section_mac()
[all …]