Implement efficient reduction for pleasant-looking primes.
[catacomb] / Makefile.m4
index ee3872a..cc500de 100644 (file)
@@ -1,6 +1,6 @@
 ## -*-m4-*-
 ##
-## $Id: Makefile.m4,v 1.69 2004/03/23 15:19:32 mdw Exp $
+## $Id: Makefile.m4,v 1.70 2004/03/27 00:04:46 mdw Exp $
 ##
 ## Makefile for Catacomb
 ##
@@ -29,6 +29,9 @@
 ##----- Revision history ----------------------------------------------------
 ##
 ## $Log: Makefile.m4,v $
+## Revision 1.70  2004/03/27 00:04:46  mdw
+## Implement efficient reduction for pleasant-looking primes.
+##
 ## Revision 1.69  2004/03/23 15:19:32  mdw
 ## Test elliptic curves more thoroughly.
 ##
@@ -346,9 +349,9 @@ pkginclude_HEADERS = \
        lcrand.h fibrand.h rc4.h seal.h rand.h noise.h fipstest.h maurer.h \
        key.h key-data.h passphrase.h pixie.h lmem.h \
        mpx.h bitops.h mpw.h mpscan.h mparena.h mp.h mptext.h mpint.h \
-       exp.h mpbarrett.h mpbarrett-exp.h mpmont.h mpmont-exp.h \
+       exp.h mpbarrett.h mpmont.h mpreduce.h \
        mpcrt.h mprand.h mpmul.h \
-       gfx.h gf.h gfreduce.h gfreduce-exp.h \
+       gfx.h gf.h gfreduce.h \
        primetab.h pfilt.h rabin.h \
        pgen.h prim.h strongprime.h limlee.h keycheck.h \
        bbs.h rsa.h dh.h dsarand.h dsa.h \
@@ -370,14 +373,17 @@ define(`MP_SOURCES',
        exp.c mpcrt.c mpmul.c mprand.c \
        mpbarrett.c mpbarrett-mexp.c mpbarrett-exp.h \
        mpmont.c mpmont-mexp.c mpmont-exp.h \
+       mpreduce.c mpreduce-exp.h \
        rho.c buf.c \
        GF_SOURCES PGEN_SOURCES EC_SOURCES')
 
 define(`GF_SOURCES',
-       `gfx.c gfx-kmul.c gfx-sqr.c gf-arith.c gf-gcd.c gfreduce.c')
+       `gfx.c gfx-kmul.c gfx-sqr.c gf-arith.c gf-gcd.c \
+       gfreduce.c gfreduce-exp.h ')
 
 define(`EC_SOURCES',
-       `field.c f-prime.c f-binpoly.c ec.c ec-prime.c ec-bin.c ec-test.c')
+       `field.c f-prime.c f-niceprime.c f-binpoly.c \
+       ec.c ec-prime.c ec-bin.c ec-test.c')
 
 define(`PGEN_SOURCES',
        `pfilt.c rabin.c \
@@ -543,6 +549,7 @@ CTESTRIG(mpbarrett)
 CTESTRIG(mpbarrett-mexp)
 CTESTRIG(mpmont)
 CTESTRIG(mpmont-mexp)
+CTESTRIG(mpreduce)
 CTESTRIG(mpcrt)
 CTESTRIG(mpmul)
 CTESTRIG(gfx)