X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/a9fcea0e5ef17bab8eaca2236016e109ab62488e..0f3faccdf5f2f0cfa40bd9bec495c4930052a51f:/group-file.c diff --git a/group-file.c b/group-file.c index 64e0e4b..a819f92 100644 --- a/group-file.c +++ b/group-file.c @@ -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 -------------------------------------------------*/