X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/4e66da02f19648ee1be862e67ba1d1fc5549fb7f..7280f7f44cfae62f6d34761ac88aa19da7da5dd8:/md2.c diff --git a/md2.c b/md2.c index d374d87..987eb39 100644 --- a/md2.c +++ b/md2.c @@ -1,13 +1,13 @@ /* -*-c-*- * - * $Id: md2.c,v 1.2 2004/04/02 01:03:49 mdw Exp $ + * $Id: md2.c,v 1.3 2004/04/08 01:36:15 mdw Exp $ * * The MD2 message digest function * * (c) 2001 Straylight/Edgeware */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of Catacomb. * @@ -15,29 +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: md2.c,v $ - * Revision 1.2 2004/04/02 01:03:49 mdw - * Miscellaneous constification. - * - * Revision 1.1 2001/02/21 20:03:22 mdw - * Added support for MD2 hash function. - * - */ - /*----- Header files ------------------------------------------------------*/ #include @@ -74,9 +63,9 @@ void md2_compress(md2_ctx *ctx, const void *sbuf) /* --- Handy macro for doing something lots of times --- */ #define DO(what, where) do { \ - what(where, 0); what(where, 1); what(where, 2); what(where, 3); \ - what(where, 4); what(where, 5); what(where, 6); what(where, 7); \ - what(where, 8); what(where, 9); what(where, 10); what(where, 11); \ + what(where, 0); what(where, 1); what(where, 2); what(where, 3); \ + what(where, 4); what(where, 5); what(where, 6); what(where, 7); \ + what(where, 8); what(where, 9); what(where, 10); what(where, 11); \ what(where, 12); what(where, 13); what(where, 14); what(where, 15); \ } while (0)