symm/blkc.h (BLKC_SHOW): Capture operand as `const'.
[catacomb] / symm / modes.am.in
... / ...
CommitLineData
1%## -*-makefile-*-
2%#
3### -*-makefile-*- GENERATED from modes.am.in
4###
5### Lots of lists of crypto primitives in various modes of operation.
6
7## Test programs for symmetric primitives.
8SYMM_TESTS =
9
10## Source and header files for primitives under modes of operation.
11GENMODES_C =
12GENMODES_H =
13
14## Block cipher modes.
15%repeat
16GENMODES_C += modes/@{blkc:f}-@blkcmode.c
17GENMODES_H += modes/@{blkc:f}-@blkcmode.h
18SYMM_TESTS += modes/@{blkc:f}-@blkcmode.t$(EXEEXT)
19%end
20
21## Hash function modes.
22%repeat
23GENMODES_C += modes/@{hash:f}-@hashmode.c
24GENMODES_H += modes/@{hash:f}-@hashmode.h
25SYMM_TESTS += modes/@{hash:f}-@hashmode.t$(EXEEXT)
26%end
27
28## Interface and implementation headers for the various modes.
29MODE_H =
30%repeat
31MODE_H += @blkcmode.h @blkcmode-def.h
32%end
33%repeat
34MODE_H += @hashmode.h @hashmode-def.h
35%end
36
37## Block cipher interfaces and implementations.
38BLKC_C =
39BLKC_H =
40%repeat
41BLKC_C += @{blkc:f}.c
42BLKC_H += @{blkc:f}.h
43SYMM_TESTS += @{blkc:f}.t$(EXEEXT)
44%end
45
46## Hash function interfaces and implementations.
47HASH_C =
48HASH_H =
49%repeat
50HASH_C += @{hash:f}.c
51HASH_H += @{hash:f}.h
52SYMM_TESTS += @{hash:f}.t$(EXEEXT)
53%end
54
55## Modes for symmetric encryption.
56CIPHER_MODES =
57%repeat
58CIPHER_MODES += @{blkc:f}-@blkcciphermode
59%end
60%repeat
61CIPHER_MODES += @{hash:f}-@hashciphermode
62%end
63
64## Modes for message authentication.
65MAC_MODES =
66%repeat
67MAC_MODES += @{hash:f}-@hashmacmode
68%end
69
70## Test input files.
71SYMM_TEST_FILES =
72%repeat
73SYMM_TEST_FILES += t/@{blkc:f}
74%end
75%repeat
76SYMM_TEST_FILES += t/@{hash:f}
77%end