Force subkeys to be sorted in structured keys.
[u/mdw/catacomb] / tests / Makefile.m4
CommitLineData
92090e34 1## -*-fundamental-*-
2##
3bef8c14 3## $Id: Makefile.m4,v 1.2 2001/04/29 18:11:20 mdw Exp $
92090e34 4##
5## Build test vector files
6##
7## (c) 2000 Straylight/Edgeware
8##
9
10##----- Licensing notice ----------------------------------------------------
11##
12## This file is part of Catacomb.
13##
14## Catacomb is free software; you can redistribute it and/or modify
15## it under the terms of the GNU Library General Public License as
16## published by the Free Software Foundation; either version 2 of the
17## License, or (at your option) any later version.
18##
19## Catacomb is distributed in the hope that it will be useful,
20## but WITHOUT ANY WARRANTY; without even the implied warranty of
21## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22## GNU Library General Public License for more details.
23##
24## You should have received a copy of the GNU Library General Public
25## License along with Catacomb; if not, write to the Free
26## Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
27## MA 02111-1307, USA.
28
29##----- Revision history ----------------------------------------------------
30##
31## $Log: Makefile.m4,v $
3bef8c14 32## Revision 1.2 2001/04/29 18:11:20 mdw
33## New block cipher MARS.
34##
92090e34 35## Revision 1.1 2000/06/17 12:12:20 mdw
36## Build mLib test vector files from the AES files.
37##
38
39AUTOMAKE_OPTIONS = foreign
40
41## --- Building test rigs ---
42
43define(`aestests', `dnl
44_(`cast256', `CAST256')`'dnl
45_(`serpent', `Serpent', `-v rev=1')`'dnl
46_(`twofish', `Twofish')`'dnl
47_(`rijndael', `Rijndael')`'dnl
3bef8c14 48_(`mars', `MARS')`'dnl
92090e34 49')
50
51all: Makefile define(`_', ` $(srcdir)/$1')aestests
52
53define(`_', `dnl
54$(srcdir)/$1: $(srcdir)/$1.aes
55 cd $(srcdir); ./aes-trans $2 $3 <$1.aes >$1
56')
57aestests
58
59MAINTAINERCLEANFILES = define(`_', ` $(srcdir)/$1')aestests
60
61## --- Building the Makefile ---
62
63$(srcdir)/Makefile.am: $(srcdir)/Makefile.m4
64 cd $(srcdir); m4 Makefile.m4 >Makefile.am
65
66##----- That's all, folks ---------------------------------------------------