Test elliptic curves more thoroughly.
[u/mdw/catacomb] / f-prime.c
index 5ab4204..08ed300 100644 (file)
--- a/f-prime.c
+++ b/f-prime.c
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: f-prime.c,v 1.5 2004/03/23 12:08:26 mdw Exp $
+ * $Id: f-prime.c,v 1.6 2004/03/23 15:19:32 mdw Exp $
  *
  * Prime fields with Montgomery arithmetic
  *
@@ -30,6 +30,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: f-prime.c,v $
+ * Revision 1.6  2004/03/23 15:19:32  mdw
+ * Test elliptic curves more thoroughly.
+ *
  * Revision 1.5  2004/03/23 12:08:26  mdw
  * Random field-element selection.
  *
@@ -218,6 +221,7 @@ static mp *fhlv(field *ff, mp *d, mp *x)
 /* --- Field operations table --- */
 
 static field_ops fops = {
+  FTY_PRIME, "prime",
   fdestroy, frand,
   fin, fout,
   fzerop, fneg, fadd, fsub, fmul, fsqr, finv, freduce, fsqrt,