X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/b0b682aa5f6174deb5bde83701b191556986fe05..18b3351a3791f19a63c0af05640719db8eb5d184:/rsa-recover.c diff --git a/rsa-recover.c b/rsa-recover.c index 8052ddc..4546cc3 100644 --- a/rsa-recover.c +++ b/rsa-recover.c @@ -1,13 +1,13 @@ /* -*-c-*- * - * $Id: rsa-recover.c,v 1.6 2001/06/16 12:56:38 mdw Exp $ + * $Id: rsa-recover.c,v 1.7 2004/04/08 01:36:15 mdw Exp $ * * Recover RSA parameters * * (c) 1999 Straylight/Edgeware */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of Catacomb. * @@ -15,43 +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: rsa-recover.c,v $ - * Revision 1.6 2001/06/16 12:56:38 mdw - * Fixes for interface change to @mpmont_expr@ and @mpmont_mexpr@. - * - * Revision 1.5 2000/10/08 12:11:22 mdw - * Use @MP_EQ@ instead of @MP_CMP@. - * - * Revision 1.4 2000/07/01 11:22:22 mdw - * Remove bad type name `rsa_param'. - * - * Revision 1.3 2000/06/22 19:03:14 mdw - * Use the new @mp_odd@ function. - * - * Revision 1.2 2000/06/17 12:07:19 mdw - * Fix a bug in argument validation. Force %$p > q$% in output. Use - * %$\lambda(n) = \lcm(p - 1, q - 1)$% rather than the more traditional - * %$\phi(n) = (p - 1)(q - 1)$% when computing the decryption exponent. - * - * Revision 1.1 1999/12/22 15:50:45 mdw - * Initial RSA support. - * - */ - /*----- Header files ------------------------------------------------------*/ #include "mp.h"