From: Mark Wooding Date: Fri, 9 Nov 2018 18:14:37 +0000 (+0000) Subject: symm/: Introduce the idea of MAC modes based on blockciphers. X-Git-Tag: 2.5.0~14^2~34 X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/commitdiff_plain/349817552edaaec8131fd2ad9c1532799e9f33f3 symm/: Introduce the idea of MAC modes based on blockciphers. This is just a build-system tweak. No such modes exist yet. Hint, hint. --- diff --git a/symm/Makefile.am b/symm/Makefile.am index 3db9f3f4..0de914f3 100644 --- a/symm/Makefile.am +++ b/symm/Makefile.am @@ -68,6 +68,7 @@ $(srcdir)/modes.am: modes.am.in Makefile.am blkc="$(BLKCS)" \ blkcmode="$(BLKCMODES)" \ blkcciphermode="$(BLKCCIPHERMODES)" \ + blkcmacmode="$(BLKCMACMODES)" \ hash="$(HASHES)" \ hashmode="$(HASHMODES)" \ hashciphermode="$(HASHCIPHERMODES)" \ @@ -94,6 +95,9 @@ BLKCMODES = BLKCCIPHERMODES = BLKCMODES += $(BLKCCIPHERMODES) +BLKCMACMODES = +BLKCMODES += $(BLKCMACMODES) + ## A tool for translating the AES-contest test vectors into a form our test ## rigs understand. EXTRA_DIST += aes-trans diff --git a/symm/modes.am.in b/symm/modes.am.in index 8ce9f832..2adbac72 100644 --- a/symm/modes.am.in +++ b/symm/modes.am.in @@ -64,6 +64,9 @@ CIPHER_MODES += @{hash:f}-@hashciphermode ## Modes for message authentication. MAC_MODES = %repeat +MAC_MODES += @{blkc:f}-@blkcmacmode +%end +%repeat MAC_MODES += @{hash:f}-@hashmacmode %end