X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/898a4e2555438ff8adb08b4d82690d08715e1048..b817bfc642225b8c3c0b6a7e42d1fb949b61a606:/pfilt.c diff --git a/pfilt.c b/pfilt.c index e3d1d3d..7f44569 100644 --- a/pfilt.c +++ b/pfilt.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: pfilt.c,v 1.5 2004/04/01 12:50:09 mdw Exp $ + * $Id: pfilt.c,v 1.6 2004/04/08 01:36:15 mdw Exp $ * * Finding and testing prime numbers * @@ -27,46 +27,6 @@ * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: pfilt.c,v $ - * 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 2000/10/08 12:14:57 mdw - * Remove vestiges of @primorial@. - * - * Revision 1.3 2000/08/15 21:44:27 mdw - * (pfilt_smallfactor): New function for doing trial division the hard - * way. - * - * (pfilt_create): Use @mpx_udivn@ for computing residues, for improved - * performance. - * - * Pull the `small prime' test into a separate function, and do it - * properly. - * - * Revision 1.2 2000/06/17 11:54:27 mdw - * Use new MP memory management functions. - * - * Revision 1.1 1999/12/22 15:49:39 mdw - * Renamed from `pgen'. Reworking for new prime-search system. - * - * Revision 1.3 1999/12/10 23:28:35 mdw - * Track suggested destination changes. - * - * Revision 1.2 1999/11/20 22:23:05 mdw - * Add multiply-and-add function for Diffie-Hellman safe prime generation. - * - * Revision 1.1 1999/11/19 13:17:57 mdw - * Prime number generator and tester. - * - */ - /*----- Header files ------------------------------------------------------*/ #include "mp.h"