X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/eb31b00e4098ffb93eaf574f70cdd108b6610080..4e66da02f19648ee1be862e67ba1d1fc5549fb7f:/f-niceprime.c diff --git a/f-niceprime.c b/f-niceprime.c index 2a51352..8f0b43d 100644 --- a/f-niceprime.c +++ b/f-niceprime.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: f-niceprime.c,v 1.4 2004/04/01 21:28:41 mdw Exp $ + * $Id: f-niceprime.c,v 1.5 2004/04/02 01:03:49 mdw Exp $ * * Prime fields with efficient reduction for special-form primes * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: f-niceprime.c,v $ + * Revision 1.5 2004/04/02 01:03:49 mdw + * Miscellaneous constification. + * * Revision 1.4 2004/04/01 21:28:41 mdw * Normal basis support (translates to poly basis internally). Rewrite * EC and prime group table generators in awk, so that they can reuse data @@ -139,7 +142,7 @@ static mp *fhlv(field *ff, mp *d, mp *x) { /* --- Field operations table --- */ -static field_ops fops = { +static const field_ops fops = { FTY_PRIME, "niceprime", fdestroy, frand, field_stdsamep, freduce, field_id,