X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/eee161205f1139ee49e81c8efa33fe18380c917b..6d56743beed37f62273209341fa812bcd6aa220f:/sha256.h diff --git a/sha256.h b/sha256.h index c35a38e..50d61fa 100644 --- a/sha256.h +++ b/sha256.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: sha256.h,v 1.1 2000/10/15 17:48:15 mdw Exp $ + * $Id: sha256.h,v 1.2 2000/10/15 19:09:20 mdw Exp $ * * Implementation of the SHA-256 hash function * @@ -30,6 +30,10 @@ /*----- Revision history --------------------------------------------------* * * $Log: sha256.h,v $ + * Revision 1.2 2000/10/15 19:09:20 mdw + * Support HMAC mode for hash functions which need to store more state than + * the hash output size. + * * Revision 1.1 2000/10/15 17:48:15 mdw * New SHA variants with longer outputs. * @@ -62,6 +66,7 @@ #define SHA256_BUFSZ 64 #define SHA256_HASHSZ 32 +#define SHA256_STATESZ 32 /*----- Data structures ---------------------------------------------------*/