/* -*-c-*-
*
- * $Id: rho.c,v 1.3 2001/06/16 12:56:38 mdw Exp $
+ * $Id: rho.c,v 1.4 2004/04/02 01:03:49 mdw Exp $
*
* Pollard's rho algorithm for discrete logs
*
/*----- Revision history --------------------------------------------------*
*
* $Log: rho.c,v $
+ * Revision 1.4 2004/04/02 01:03:49 mdw
+ * Miscellaneous constification.
+ *
* Revision 1.3 2001/06/16 12:56:38 mdw
* Fixes for interface change to @mpmont_expr@ and @mpmont_mexpr@.
*
MP_DROP(*(mp **)x);
}
-static rho_ops prime_ops = {
+static const rho_ops prime_ops = {
prime_sqr, prime_mul, prime_eq, prime_split, prime_drop
};