/* -*-c-*-
*
- * $Id: mpbarrett-exp.h,v 1.1 2001/06/16 12:58:12 mdw Exp $
+ * $Id: mpbarrett-exp.h,v 1.2 2004/03/21 22:52:06 mdw Exp $
*
* Exponentiation operations for Barrett reduction
*
/*----- Revision history --------------------------------------------------*
*
* $Log: mpbarrett-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:20:05 mdw
+ * Projective coordinates for prime curves
+ *
* Revision 1.1 2001/06/16 12:58:12 mdw
* Parameters for generic exponentiation.
*
a = mpbarrett_reduce(mb, t, t); \
} while (0)
+#define EXP_FIX(x)
+
#define EXP_SETMUL(d, x, y) do { \
d = mp_mul(MP_NEW, x, y); \
d = mpbarrett_reduce(mb, d, d); \