Add cyclic group abstraction, with test code. Separate off exponentation
authormdw <mdw>
Thu, 1 Apr 2004 12:50:09 +0000 (12:50 +0000)
committermdw <mdw>
Thu, 1 Apr 2004 12:50:09 +0000 (12:50 +0000)
commit34e4f738bcba58e6d8c4cabbb0b3232a65b42a9d
tree35c31fb4cbb136aee44beb3bce01af8598cfcd1e
parent1ba83484ee5bb486da9aa958576de4bc29ef0c1d
Add cyclic group abstraction, with test code.  Separate off exponentation
functions for better static linking.  Fix a buttload of bugs on the way.
Generally ensure that negative exponents do inversion correctly.  Add
table of standard prime-field subgroups.  (Binary field subgroups are
currently unimplemented but easy to add if anyone ever finds a good one.)
52 files changed:
Makefile.m4
buf.c
buf.h
dh-param.c [new file with mode: 0644]
dh.h
ec-bin.c
ec-exp.c [new file with mode: 0644]
ec-gentab.sh
ec-info.c
ec-keys.h
ec-prime.c
ec-test.c
ec.c
ec.h
ectab.h
f-binpoly.c
f-niceprime.c
f-prime.c
field.c
field.h
g-ec.c [new file with mode: 0644]
g-prime.c [new file with mode: 0644]
genprimes.c
group-dstr.c [new file with mode: 0644]
group-exp.c [new file with mode: 0644]
group-exp.h [new file with mode: 0644]
group-file.c [new file with mode: 0644]
group-parse.c [new file with mode: 0644]
group-stdops.c [new file with mode: 0644]
group-string.c [new file with mode: 0644]
group-test.c [new file with mode: 0644]
group.h [new file with mode: 0644]
key-binary.c
keyutil.c
mpbarrett-exp.c [new file with mode: 0644]
mpbarrett-mexp.c
mpbarrett.c
mpbarrett.h
mpmont-exp.c [new file with mode: 0644]
mpmont-mexp.c
mpmont.c
mpmont.h
mptext-string.c
mpx.c
p-gentab.sh [new file with mode: 0755]
pcheck.pl [new file with mode: 0644]
pfilt.c
pfilt.h
pgen.c
pgen.h
ptab.h [new file with mode: 0644]
ptab.in [new file with mode: 0644]