progs/perftest.c: Use from Glibc syscall numbers.
[catacomb] / symm / modes.am.in
CommitLineData
7db733d4
MW
1%## -*-makefile-*-
2%#
fb756b84 3### -*-makefile-*- GENERATED from modes.am.in
7db733d4
MW
4###
5### Lots of lists of crypto primitives in various modes of operation.
6
0f00dc4c 7## Test programs for symmetric primitives.
7db733d4
MW
8SYMM_TESTS =
9
0f00dc4c 10## Source and header files for primitives under modes of operation.
7db733d4
MW
11GENMODES_C =
12GENMODES_H =
13
0f00dc4c 14## Block cipher modes.
7db733d4 15%repeat
aaae9cab
MW
16GENMODES_C += modes/@{blkc:f}-@blkcmode.c
17GENMODES_H += modes/@{blkc:f}-@blkcmode.h
18SYMM_TESTS += modes/@{blkc:f}-@blkcmode.t$(EXEEXT)
7db733d4
MW
19%end
20
0f00dc4c 21## Hash function modes.
7db733d4 22%repeat
aaae9cab
MW
23GENMODES_C += modes/@{hash:f}-@hashmode.c
24GENMODES_H += modes/@{hash:f}-@hashmode.h
25SYMM_TESTS += modes/@{hash:f}-@hashmode.t$(EXEEXT)
7db733d4
MW
26%end
27
0f00dc4c 28## Interface and implementation headers for the various modes.
7db733d4
MW
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
0f00dc4c 37## Block cipher interfaces and implementations.
7db733d4
MW
38BLKC_C =
39BLKC_H =
40%repeat
aaae9cab
MW
41BLKC_C += @{blkc:f}.c
42BLKC_H += @{blkc:f}.h
43SYMM_TESTS += @{blkc:f}.t$(EXEEXT)
7db733d4
MW
44%end
45
0f00dc4c 46## Hash function interfaces and implementations.
7db733d4
MW
47HASH_C =
48HASH_H =
49%repeat
aaae9cab
MW
50HASH_C += @{hash:f}.c
51HASH_H += @{hash:f}.h
52SYMM_TESTS += @{hash:f}.t$(EXEEXT)
7db733d4
MW
53%end
54
0f00dc4c 55## Modes for symmetric encryption.
7db733d4
MW
56CIPHER_MODES =
57%repeat
aaae9cab 58CIPHER_MODES += @{blkc:f}-@blkcciphermode
7db733d4
MW
59%end
60%repeat
aaae9cab 61CIPHER_MODES += @{hash:f}-@hashciphermode
7db733d4
MW
62%end
63
96a5a09c
MW
64## Modes for authenticated encryption.
65AEAD_MODES =
66%repeat
67AEAD_MODES += @{blkc:f}-@blkcaeadmode
68%end
69
0f00dc4c 70## Modes for message authentication.
7db733d4
MW
71MAC_MODES =
72%repeat
34981755
MW
73MAC_MODES += @{blkc:f}-@blkcmacmode
74%end
75%repeat
aaae9cab 76MAC_MODES += @{hash:f}-@hashmacmode
7db733d4
MW
77%end
78
0f00dc4c 79## Test input files.
7db733d4
MW
80SYMM_TEST_FILES =
81%repeat
aaae9cab 82SYMM_TEST_FILES += t/@{blkc:f}
7db733d4
MW
83%end
84%repeat
aaae9cab 85SYMM_TEST_FILES += t/@{hash:f}
7db733d4 86%end
57f459eb
MW
87
88## Regression-test files.
89REGRESSION_TEST_FILES =
90%repeat
91REGRESSION_TEST_FILES += t/modes/@{blkc:f}-@{blkcciphermode}.regress
92%end
93%repeat
94REGRESSION_TEST_FILES += t/modes/@{hash:f}-@{hashciphermode}.regress
95%end