Lines Matching refs:journal_mac
193 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()
4163 r = get_mac(&ic->journal_mac, &ic->journal_mac_alg, &ti->error, in dm_integrity_ctr()
4620 if (ic->journal_mac) in dm_integrity_dtr()
4621 crypto_free_shash(ic->journal_mac); in dm_integrity_dtr()