/* -*-c-*-
*
- * $Id: rho.h,v 1.1 2000/07/09 21:32:30 mdw Exp $
+ * $Id: rho.h,v 1.2 2004/04/02 01:03:49 mdw Exp $
*
* Pollard's rho algorithm for discrete logs
*
/*----- Revision history --------------------------------------------------*
*
* $Log: rho.h,v $
+ * Revision 1.2 2004/04/02 01:03:49 mdw
+ * Miscellaneous constification.
+ *
* Revision 1.1 2000/07/09 21:32:30 mdw
* Pollard's rho algorithm for computing discrete logs.
*
/* --- The Pollard's rho context structure --- */
typedef struct rho_ctx {
- rho_ops *ops; /* Group operations table */
+ const rho_ops *ops; /* Group operations table */
void *c; /* Context for group operations */
void *g, *a; /* Generator and argument for log */
mp *n; /* Cyclic group order */