%## -*-makefile-*- %# ### -*-makefile-*- GENERATED from modes.am.in ### ### Lots of lists of crypto primitives in various modes of operation. ## Test programs for symmetric primitives. SYMM_TESTS = ## Source and header files for primitives under modes of operation. GENMODES_C = GENMODES_H = ## Block cipher modes. %repeat GENMODES_C += modes/@{blkc:f}-@blkcmode.c GENMODES_H += modes/@{blkc:f}-@blkcmode.h SYMM_TESTS += modes/@{blkc:f}-@blkcmode.t$(EXEEXT) %end ## Hash function modes. %repeat GENMODES_C += modes/@{hash:f}-@hashmode.c GENMODES_H += modes/@{hash:f}-@hashmode.h SYMM_TESTS += modes/@{hash:f}-@hashmode.t$(EXEEXT) %end ## Interface and implementation headers for the various modes. MODE_H = %repeat MODE_H += @blkcmode.h @blkcmode-def.h %end %repeat MODE_H += @hashmode.h @hashmode-def.h %end ## Block cipher interfaces and implementations. BLKC_C = BLKC_H = %repeat BLKC_C += @{blkc:f}.c BLKC_H += @{blkc:f}.h SYMM_TESTS += @{blkc:f}.t$(EXEEXT) %end ## Hash function interfaces and implementations. HASH_C = HASH_H = %repeat HASH_C += @{hash:f}.c HASH_H += @{hash:f}.h SYMM_TESTS += @{hash:f}.t$(EXEEXT) %end ## Modes for symmetric encryption. CIPHER_MODES = %repeat CIPHER_MODES += @{blkc:f}-@blkcciphermode %end %repeat CIPHER_MODES += @{hash:f}-@hashciphermode %end ## Modes for authenticated encryption. AEAD_MODES = %repeat AEAD_MODES += @{blkc:f}-@blkcaeadmode %end ## Modes for message authentication. MAC_MODES = %repeat MAC_MODES += @{blkc:f}-@blkcmacmode %end %repeat MAC_MODES += @{hash:f}-@hashmacmode %end ## Test input files. SYMM_TEST_FILES = %repeat SYMM_TEST_FILES += t/@{blkc:f} %end %repeat SYMM_TEST_FILES += t/@{hash:f} %end ## Regression-test files. REGRESSION_TEST_FILES = %repeat REGRESSION_TEST_FILES += t/modes/@{blkc:f}-@{blkcciphermode}.regress %end %repeat REGRESSION_TEST_FILES += t/modes/@{hash:f}-@{hashciphermode}.regress %end