X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/3563e36580c7dad68cd6d3f7eb82eef570fc0c76..02d7884df1f33c9c7dc3a14c4b1a5f520ebe090a:/ec-exp.h diff --git a/ec-exp.h b/ec-exp.h index fb3ed6e..93a576f 100644 --- a/ec-exp.h +++ b/ec-exp.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: ec-exp.h,v 1.4 2004/03/22 02:19:10 mdw Exp $ + * $Id: ec-exp.h,v 1.5 2004/04/03 03:32:05 mdw Exp $ * * Exponentiation operations for elliptic curves * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: ec-exp.h,v $ + * Revision 1.5 2004/04/03 03:32:05 mdw + * General robustification. + * * Revision 1.4 2004/03/22 02:19:10 mdw * Rationalise the sliding-window threshold. Drop guarantee that right * arguments to EC @add@ are canonical, and fix up projective implementations @@ -68,7 +71,7 @@ #define EXP_DROP(x) EC_DESTROY(&(x)) #define EXP_MUL(a, x) EC_ADD(c, &(a), &(a), &(x)) -#define EXP_SQR(a) EC_DBL(c, &(a), &(a)); +#define EXP_SQR(a) EC_DBL(c, &(a), &(a)) #define EXP_FIX(x) #define EXP_SETMUL(d, x, y) do { \