| 1 | %## -*-makefile-*- |
| 2 | %# |
| 3 | ### -*-makefile-*- GENERATED from modes.make.in |
| 4 | ### |
| 5 | ### Lots of lists of crypto primitives in various modes of operation. |
| 6 | |
| 7 | SYMM_TESTS = |
| 8 | |
| 9 | GENMODES_C = |
| 10 | GENMODES_H = |
| 11 | |
| 12 | %repeat |
| 13 | GENMODES_C += @blkc-@blkcmode.c |
| 14 | GENMODES_H += @blkc-@blkcmode.h |
| 15 | SYMM_TESTS += @blkc-@blkcmode.$t |
| 16 | %end |
| 17 | |
| 18 | %repeat |
| 19 | GENMODES_C += @hash-@hashmode.c |
| 20 | GENMODES_H += @hash-@hashmode.h |
| 21 | SYMM_TESTS += @hash-@hashmode.$t |
| 22 | %end |
| 23 | |
| 24 | MODE_H = |
| 25 | %repeat |
| 26 | MODE_H += @blkcmode.h @blkcmode-def.h |
| 27 | %end |
| 28 | %repeat |
| 29 | MODE_H += @hashmode.h @hashmode-def.h |
| 30 | %end |
| 31 | |
| 32 | BLKC_C = |
| 33 | BLKC_H = |
| 34 | %repeat |
| 35 | BLKC_C += @blkc.c |
| 36 | BLKC_H += @blkc.h |
| 37 | SYMM_TESTS += @blkc.$t |
| 38 | %end |
| 39 | |
| 40 | HASH_C = |
| 41 | HASH_H = |
| 42 | %repeat |
| 43 | HASH_C += @hash.c |
| 44 | HASH_H += @hash.h |
| 45 | SYMM_TESTS += @hash.$t |
| 46 | %end |
| 47 | |
| 48 | CIPHER_MODES = |
| 49 | %repeat |
| 50 | CIPHER_MODES += @blkc-@blkcciphermode |
| 51 | %end |
| 52 | %repeat |
| 53 | CIPHER_MODES += @hash-@hashciphermode |
| 54 | %end |
| 55 | |
| 56 | MAC_MODES = |
| 57 | %repeat |
| 58 | MAC_MODES += @hash-@hashmacmode |
| 59 | %end |
| 60 | |
| 61 | SYMM_TEST_FILES = |
| 62 | %repeat |
| 63 | SYMM_TEST_FILES += tests/@blkc |
| 64 | %end |
| 65 | %repeat |
| 66 | SYMM_TEST_FILES += tests/@hash |
| 67 | %end |