/* -*-c-*-
*
- * $Id: ec.h,v 1.3 2002/01/13 13:48:44 mdw Exp $
+ * $Id: ec.h,v 1.4 2003/05/15 23:25:59 mdw Exp $
*
* Elliptic curve definitions
*
/*----- Revision history --------------------------------------------------*
*
* $Log: ec.h,v $
+ * Revision 1.4 2003/05/15 23:25:59 mdw
+ * Make elliptic curve stuff build.
+ *
* Revision 1.3 2002/01/13 13:48:44 mdw
* Further progress.
*
typedef struct ec_mulfactor {
ec base; /* The point */
- ec *exp; /* The exponent */
+ mp *exp; /* The exponent */
} ec_mulfactor;
/* --- Elliptic curve operations --- */
*
* Arguments: @ec_curve *c@ = pointer to an elliptic curve
* @ec *d@ = pointer to the destination
- * @const ec *a, *b@ = the operand points
+ * @const ec *p, *q@ = the operand points
*
* Returns: The destination @d@.
*
* subtraction operator.
*/
-extern ec *ec_stdsub(ec_curve */*c*/, ec */*d*/, const ec */*p*/);
+extern ec *ec_stdsub(ec_curve */*c*/, ec */*d*/,
+ const ec */*p*/, const ec */*q*/);
/*----- Creating curves ---------------------------------------------------*/