From 471db039b8a91c5ee13696254cca563e74d48194 Mon Sep 17 00:00:00 2001 From: mdw Date: Wed, 17 Nov 1999 18:05:35 +0000 Subject: [PATCH] Many new files and test cases for multiprecision arithmetic. --- Makefile.m4 | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/Makefile.m4 b/Makefile.m4 index ea78561..c0f3f54 100644 --- a/Makefile.m4 +++ b/Makefile.m4 @@ -1,6 +1,6 @@ ## -*-makefile-*- ## -## $Id: Makefile.m4,v 1.8 1999/11/13 01:56:07 mdw Exp $ +## $Id: Makefile.m4,v 1.9 1999/11/17 18:05:35 mdw Exp $ ## ## Makefile for Catacomb ## @@ -29,8 +29,11 @@ ##----- Revision history ---------------------------------------------------- ## ## $Log: Makefile.m4,v $ -## Revision 1.8 1999/11/13 01:56:07 mdw -## Include multiprecision maths stuff. +## Revision 1.9 1999/11/17 18:05:35 mdw +## Many new files and test cases for multiprecision arithmetic. +## +## Revision 1.9 1999/11/17 18:05:35 mdw +## Many new files and test cases for multiprecision arithmetic. ## ## Revision 1.8 1999/11/13 01:56:07 mdw ## Include multiprecision maths stuff. @@ -127,7 +130,7 @@ define(`emit', `$1.h ') pkginclude_HEADERS = \ paranoia.h \ blkc.h hash.h \ - mpx.h mpw.h mpscan.h \ + rc4.h \ mpx.h mpw.h mpscan.h mparena.h mp.h mptext.h mpmont.h \ ptab.h pgen.h rabin.h \ dsa.h dh.h \ @@ -137,7 +140,11 @@ pkginclude_HEADERS = \ define(`emit', `$1.c ') libcatacomb_la_SOURCES = \ des-base.c des-base.h des_sp.h bf_ikey.h daftstory.h \ - mpx.c mpscan.c \ + rc4.c \ + rand.c noise.c \ + key.c \ + mpx.c mpscan.c mparena.c \ + mpmont.c \ ptab.c pgen.c rabin.c \ dsa-sign.c dsa-verify.c dsa-gen.c \ dh-prime.c \ @@ -175,23 +182,27 @@ dist-hook: @mkdir $(distdir)/tests @ln $(srcdir)/tests/* $(distdir)/tests || true @rm -f $(distdir)/tests/*~ -TESTS = \ - rc4.t mpx-test.t \ - addsuffix(join(`ciphers', `-', `cipher_modes'), `.t') \ - addsuffix(join(`hashes', `-', `hash_modes'), `.t') \ - addsuffix(`ciphers', `.t') addsuffix(`hashes', `.t') + ## --- Testing --- -`$1.t: $1.c libcatacomb.la +define(`testprogs', `') + +define(`CTESTRIG', `define(`testprogs', testprogs \ $1.t)dnl $1.t: $1.c libcatacomb.la CTESTRIG(mpx-test) +adorn(`nl`'CTESTRIG(', join(`ciphers', `-', `cipher_modes'), `)') +adorn(`nl`'CTESTRIG(', join(`hashes', `-', `hash_modes'), `)') +CTESTRIG(mpx) +CTESTRIG(mptext) adorn(`nl`'CTESTRIG(', `ciphers', `)') adorn(`nl`'CTESTRIG(', `hashes', `)') adorn(`nl`'CTESTRIG(', join(`ciphers', `-', `cipher_modes'), `)') adorn(`nl`'CTESTRIG(', join(`hashes', `-', `hash_modes'), `)') +CTESTRIG(dsa-gen) +CTESTRIG(dsa-sign) CTESTRIG(dsa-verify) CLEANFILES = *.t mptypes.h TESTS = testprogs -- 2.11.0