Add an internal-representation no-op function.
[u/mdw/catacomb] / sha256.h
index c35a38e..50d61fa 100644 (file)
--- 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
  *
 /*----- 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 ---------------------------------------------------*/