X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/e9926004f7caf25abbfb87ebd921a01e6bf865dc..c3caa2face1cda7002eb58245ad75865bf437455:/mpmont-exp.h diff --git a/mpmont-exp.h b/mpmont-exp.h index e732e6f..5f2b31d 100644 --- a/mpmont-exp.h +++ b/mpmont-exp.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: mpmont-exp.h,v 1.1 2001/06/16 12:58:12 mdw Exp $ + * $Id: mpmont-exp.h,v 1.2 2004/03/21 22:52:06 mdw Exp $ * * Exponentiation operations for Montgomery reduction * @@ -30,6 +30,12 @@ /*----- Revision history --------------------------------------------------* * * $Log: mpmont-exp.h,v $ + * Revision 1.2 2004/03/21 22:52:06 mdw + * Merge and close elliptic curve branch. + * + * Revision 1.1.4.1 2004/03/20 00:13:31 mdw + * Projective coordinates for prime curves + * * Revision 1.1 2001/06/16 12:58:12 mdw * Parameters for generic exponentiation. * @@ -61,6 +67,8 @@ a = mpmont_reduce(mm, t, t); \ } while (0) +#define EXP_FIX(x) + #define EXP_SETMUL(d, x, y) d = mpmont_mul(mm, MP_NEW, x, y) #define EXP_SETSQR(d, x) do { \