Makefile.m4: Remove mplimits.[ch] on clean.
[u/mdw/catacomb] / sha512.h
index 8d35595..f727e82 100644 (file)
--- a/sha512.h
+++ b/sha512.h
@@ -1,13 +1,13 @@
 /* -*-c-*-
  *
- * $Id: sha512.h,v 1.1 2000/10/15 17:48:15 mdw Exp $
+ * $Id$
  *
  * Implementation of the SHA-512 hash function
  *
  * (c) 2000 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of Catacomb.
  *
  * 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: sha512.h,v $
- * Revision 1.1  2000/10/15 17:48:15  mdw
- * New SHA variants with longer outputs.
- *
- */
-
-/*----- Notes on the SHA-512 hash function ----------------------------------*
+/*----- Notes on the SHA-512 hash function --------------------------------*
  *
  * SHA-1 (Secure Hash Algorithm) was designed by the NSA, for use with the
  * Digital Signature Algorithm.  This is an evolution with a larger output
 
 #define SHA512_BUFSZ 128
 #define SHA512_HASHSZ 64
+#define SHA512_STATESZ 64
 
 #define SHA384_BUFSZ 128
 #define SHA384_HASHSZ 48
+#define SHA384_STATESZ 64
 
 /*----- Data structures ---------------------------------------------------*/