## -*-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
##
##----- 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.
##
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 \
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 \
CTESTRIG(mpbarrett-mexp)
CTESTRIG(mpmont)
CTESTRIG(mpmont-mexp)
+CTESTRIG(mpreduce)
CTESTRIG(mpcrt)
CTESTRIG(mpmul)
CTESTRIG(gfx)