X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/3563e36580c7dad68cd6d3f7eb82eef570fc0c76..02d7884df1f33c9c7dc3a14c4b1a5f520ebe090a:/g-ec.c diff --git a/g-ec.c b/g-ec.c index 1f214f7..91583bb 100644 --- a/g-ec.c +++ b/g-ec.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: g-ec.c,v 1.1 2004/04/01 12:50:09 mdw Exp $ + * $Id: g-ec.c,v 1.2 2004/04/03 03:32:05 mdw Exp $ * * Abstraction for elliptic curve groups * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: g-ec.c,v $ + * Revision 1.2 2004/04/03 03:32:05 mdw + * General robustification. + * * 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. @@ -213,6 +216,7 @@ group *group_ec(const ec_info *ei) EC_CREATE(&g->id); g->g.i = &g->id; EC_CREATE(&g->gen); + g->g.g = &g->gen; EC_IN(g->ei.c, &g->gen, &ei->g); g->g.r = ei->r; g->g.h = ei->h;