Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/md/
Ddm-integrity.c193 struct crypto_shash *journal_mac; member
509 SHASH_DESC_ON_STACK(desc, ic->journal_mac); in sb_mac()
511 unsigned size = crypto_shash_digestsize(ic->journal_mac); in sb_mac()
518 desc->tfm = ic->journal_mac; in sb_mac()
573 if (ic->journal_mac && ic->sb->flags & cpu_to_le32(SB_FLAG_FIXED_HMAC)) { in sync_rw_sb()
585 if (ic->mode != 'R' && ic->journal_mac && ic->sb->flags & cpu_to_le32(SB_FLAG_FIXED_HMAC)) { in sync_rw_sb()
802 SHASH_DESC_ON_STACK(desc, ic->journal_mac); in section_mac()
806 desc->tfm = ic->journal_mac; in section_mac()
840 size = crypto_shash_digestsize(ic->journal_mac); in section_mac()
874 if (!ic->journal_mac) in rw_section_mac()
[all …]