symm/: Introduce the idea of MAC modes based on blockciphers.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 9 Nov 2018 18:14:37 +0000 (18:14 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 25 Nov 2018 11:38:04 +0000 (11:38 +0000)
This is just a build-system tweak.  No such modes exist yet.

Hint, hint.

symm/Makefile.am
symm/modes.am.in

index 3db9f3f..0de914f 100644 (file)
@@ -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
index 8ce9f83..2adbac7 100644 (file)
@@ -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