Lines Matching refs:journal_mac
194 struct crypto_shash *journal_mac; member
496 SHASH_DESC_ON_STACK(desc, ic->journal_mac); in sb_mac()
498 unsigned int size = crypto_shash_digestsize(ic->journal_mac); in sb_mac()
505 desc->tfm = ic->journal_mac; in sb_mac()
561 if (ic->journal_mac && ic->sb->flags & cpu_to_le32(SB_FLAG_FIXED_HMAC)) { in sync_rw_sb()
573 if (ic->mode != 'R' && ic->journal_mac && ic->sb->flags & cpu_to_le32(SB_FLAG_FIXED_HMAC)) { in sync_rw_sb()
792 SHASH_DESC_ON_STACK(desc, ic->journal_mac); in section_mac()
796 desc->tfm = ic->journal_mac; in section_mac()
831 size = crypto_shash_digestsize(ic->journal_mac); in section_mac()
865 if (!ic->journal_mac) in rw_section_mac()
4297 r = get_mac(&ic->journal_mac, &ic->journal_mac_alg, &ti->error, in dm_integrity_ctr()
4747 if (ic->journal_mac) in dm_integrity_dtr()
4748 crypto_free_shash(ic->journal_mac); in dm_integrity_dtr()