X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/4e66da02f19648ee1be862e67ba1d1fc5549fb7f..dcec124d5962050d845e59ce63bcde840f215a4b:/genprimes.c diff --git a/genprimes.c b/genprimes.c index 2ee4115..2d80d07 100644 --- a/genprimes.c +++ b/genprimes.c @@ -1,13 +1,13 @@ /* -*-c-*- * - * $Id: genprimes.c,v 1.6 2004/04/02 01:03:49 mdw Exp $ + * $Id: genprimes.c,v 1.7 2004/04/08 01:36:15 mdw Exp $ * * Generate prime number table * * (c) 1999 Straylight/Edgeware */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of Catacomb. * @@ -15,45 +15,18 @@ * it under the terms of the GNU Library General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. - * + * * Catacomb is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Library General Public License for more details. - * + * * You should have received a copy of the GNU Library General Public * License along with Catacomb; if not, write to the Free * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: genprimes.c,v $ - * Revision 1.6 2004/04/02 01:03:49 mdw - * Miscellaneous constification. - * - * Revision 1.5 2004/04/01 12:50:09 mdw - * Add cyclic group abstraction, with test code. Separate off exponentation - * functions for better static linking. Fix a buttload of bugs on the way. - * Generally ensure that negative exponents do inversion correctly. Add - * table of standard prime-field subgroups. (Binary field subgroups are - * currently unimplemented but easy to add if anyone ever finds a good one.) - * - * Revision 1.4 2001/03/04 13:08:10 mdw - * Use @DA_LAST@ to determine @MAXPRIME@, now that it exists. - * - * Revision 1.3 2000/08/15 21:41:58 mdw - * Create a new type for the small primes table elements. - * - * Revision 1.2 1999/12/22 15:48:39 mdw - * Rename output file. Make output constants unsigned. - * - * Revision 1.1 1999/11/19 13:19:37 mdw - * Generate small primes table. - * - */ - /*----- Header files ------------------------------------------------------*/ #include