Raw I/O of elliptic curve points and group elements.
[u/mdw/catacomb] / group-file.c
index 64e0e4b..a819f92 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: group-file.c,v 1.1 2004/04/01 12:50:09 mdw Exp $
+ * $Id: group-file.c,v 1.2 2004/04/04 19:04:11 mdw Exp $
  *
  * File I/O for group elements
  *
@@ -30,6 +30,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: group-file.c,v $
+ * Revision 1.2  2004/04/04 19:04:11  mdw
+ * Raw I/O of elliptic curve points and group elements.
+ *
  * Revision 1.1  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.
@@ -71,6 +74,6 @@ int group_readfile(group *g, ge *d, FILE *fp)
  */
 
 int group_writefile(group *g, ge *x, FILE *fp)
-  { return (G_WRITE(g, x, &mptext_stringops, fp)); }
+  { return (G_WRITE(g, x, &mptext_fileops, fp)); }
 
 /*----- That's all, folks -------------------------------------------------*/