X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/f41f820e4b3e230d9314cc4323abf59babdd4e67..578a86d91941a0f722b87973d88e84ec2cf9a608:/rho.h diff --git a/rho.h b/rho.h index 6d060b0..c4eb12a 100644 --- a/rho.h +++ b/rho.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: rho.h,v 1.1 2000/07/09 21:32:30 mdw Exp $ + * $Id: rho.h,v 1.3 2004/04/08 01:36:15 mdw Exp $ * * Pollard's rho algorithm for discrete logs * @@ -27,14 +27,6 @@ * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: rho.h,v $ - * Revision 1.1 2000/07/09 21:32:30 mdw - * Pollard's rho algorithm for computing discrete logs. - * - */ - #ifndef CATACOMB_RHO_H #define CATACOMB_RHO_H @@ -63,7 +55,7 @@ typedef struct rho_ops { /* --- 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 */