X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/eee161205f1139ee49e81c8efa33fe18380c917b..025c5f4aa5ffbf8948482a4233318db81c2df5d2:/sha512.h diff --git a/sha512.h b/sha512.h index 8d35595..d06895a 100644 --- a/sha512.h +++ b/sha512.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: sha512.h,v 1.1 2000/10/15 17:48:15 mdw Exp $ + * $Id$ * * Implementation of the SHA-512 hash function * @@ -27,15 +27,7 @@ * 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 @@ -65,9 +57,11 @@ #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 ---------------------------------------------------*/