X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/8ef0c733529192159b3af4d5cbb4f347a8275e49..0f3faccdf5f2f0cfa40bd9bec495c4930052a51f:/Makefile.m4 diff --git a/Makefile.m4 b/Makefile.m4 index 7adc8d8..bd832ab 100644 --- a/Makefile.m4 +++ b/Makefile.m4 @@ -1,6 +1,6 @@ ## -*-m4-*- ## -## $Id: Makefile.m4,v 1.76 2004/04/01 12:59:40 mdw Exp $ +## $Id: Makefile.m4,v 1.78 2004/04/04 19:04:11 mdw Exp $ ## ## Makefile for Catacomb ## @@ -29,6 +29,14 @@ ##----- 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. ## @@ -351,12 +359,12 @@ mptypes.h: mptypes ./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 = \ @@ -382,14 +390,14 @@ pkginclude_HEADERS = \ 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') \ @@ -413,12 +421,12 @@ define(`MP_SOURCES', 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 \ @@ -536,7 +544,7 @@ man_MANS = key.1 hashsum.1 keyring.5 pixie.1 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 \ @@ -603,6 +611,7 @@ CTESTRIG(gfx-kmul) CTESTRIG(gf-arith) CTESTRIG(gf-gcd) CTESTRIG(gfreduce) +CTESTRIG(gfn) CTESTRIG(ec-prime) CTESTRIG(ec-bin) CTESTRIG(ec-test)