## -*-m4-*-
##
-## $Id: Makefile.m4,v 1.75 2004/04/01 12:50:09 mdw Exp $
+## $Id: Makefile.m4,v 1.78 2004/04/04 19:04:11 mdw Exp $
##
## Makefile for Catacomb
##
##----- Revision history ----------------------------------------------------
##
## $Log: Makefile.m4,v $
+## Revision 1.78 2004/04/04 19:04:11 mdw
+## Raw I/O of elliptic curve points and group elements.
+##
+## Revision 1.77 2004/04/01 21:28:41 mdw
+## Normal basis support (translates to poly basis internally). Rewrite
+## EC and prime group table generators in awk, so that they can reuse data
+## for repeated constants.
+##
+## Revision 1.76 2004/04/01 12:59:40 mdw
+## Ooops! qdparse needs mp headers.
+##
## Revision 1.75 2004/04/01 12:50:09 mdw
## Add cyclic group abstraction, with test code. Separate off exponentation
## functions for better static linking. Fix a buttload of bugs on the way.
./mptypes >mptypes.h.new
mv mptypes.h.new mptypes.h
-ectab.c: ectab.in ec-gentab.sh mpdump
- $(srcdir)/ec-gentab.sh <$(srcdir)/ectab.in >ectab.c.new
+ectab.c: ectab.in ec-gentab.awk mpdump
+ $(srcdir)/ec-gentab.awk <$(srcdir)/ectab.in >ectab.c.new
mv ectab.c.new ectab.c
-ptab.c: ptab.in p-gentab.sh mpdump
- $(srcdir)/p-gentab.sh <$(srcdir)/ptab.in >ptab.c.new
+ptab.c: ptab.in p-gentab.awk mpdump
+ $(srcdir)/p-gentab.awk <$(srcdir)/ptab.in >ptab.c.new
mv ptab.c.new ptab.c
BUILT_SOURCES = \
mpx.h bitops.h mpw.h mpscan.h mparena.h mp.h mptext.h mpint.h \
exp.h mpbarrett.h mpmont.h mpreduce.h \
mpcrt.h mprand.h mpmul.h \
- gfx.h gf.h gfreduce.h \
+ gfx.h gf.h gfreduce.h gfn.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 \
oaep.h pkcs1.h pss.h tlsprf.h sslprf.h \
gfshare.h share.h \
rho.h \
- field.h ec.h ec-exp.h ec-test.h ectab.h ec-keys.h \
+ field.h ec.h ec-exp.h ec-test.h ectab.h ec-keys.h ec-raw.h \
ptab.h group.h \
allwithsuffix(`ciphers', `cipher_modes', `.h') \
allwithsuffix(`hashes', `hash_modes', `.h') \
addsuffix(`hash_modes', `-def.h') crc32.h
define(`MP_SOURCES',
- `mpx.c mpx-kmul.c mpx-ksqr.c mpscan.c mparena.c \
+ `mpx.c mpx-kmul.c mpx-ksqr.c mpscan.c mparena.c qdparse.c \
mp-misc.c mp-mem.c mp-const.c mp-io.c mp-arith.c mp-test.c \
mp-sqrt.c mp-gcd.c mp-jacobi.c mp-modsqrt.c \
mpint.c mptext.c mptext-file.c mptext-string.c mptext-dstr.c \
define(`GF_SOURCES',
`gfx.c gfx-kmul.c gfx-sqr.c gf-arith.c gf-gcd.c \
- gfreduce.c gfreduce-exp.h')
+ gfreduce.c gfreduce-exp.h gfn.c')
define(`EC_SOURCES',
`field.c field-parse.c f-prime.c f-niceprime.c f-binpoly.c \
ec.c ec-exp.c ec-prime.c ec-bin.c ec-test.c ec-info.c ectab.c \
- ec-fetch.c g-ec.c')
+ ec-fetch.c ec-raw.c g-ec.c')
define(`PGEN_SOURCES',
`pfilt.c rabin.c \
libcatacomb_la_SOURCES = \
grand.c keysz.c \
lcrand.c fibrand.c rc4.c seal.c rand.c noise.c fipstest.c maurer.c \
- arena.c qdparse.c \
+ arena.c \
passphrase.c pixie-client.c pixie-common.c lmem.c \
oaep.c pkcs1.c pss.c tlsprf.c sslprf.c \
gfshare.c \
EXTRA_DIST = \
Makefile.m4 genmodes $(man_MANS) xpixie group-test.c \
- ectab.in ec-gentab.sh ptab.in p-gentab.sh \
+ ectab.in ec-gentab.awk ptab.in p-gentab.awk \
README.cipher README.hash README.random README.mp \
debian/rules debian/copyright debian/control debian/changelog \
debian/catacomb-bin.postinst debian/catacomb-bin.config \
CTESTRIG(gf-arith)
CTESTRIG(gf-gcd)
CTESTRIG(gfreduce)
+CTESTRIG(gfn)
CTESTRIG(ec-prime)
CTESTRIG(ec-bin)
CTESTRIG(ec-test)