projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Declare @pss_preverify@ instead of repeating @pss_resign@.
[u/mdw/catacomb]
/
sha512.h
diff --git
a/sha512.h
b/sha512.h
index
8d35595
..
0a695f9
100644
(file)
--- a/
sha512.h
+++ b/
sha512.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: sha512.h,v 1.
1 2000/10/15 17:48:15
mdw Exp $
+ * $Id: sha512.h,v 1.
2 2000/10/15 19:09:20
mdw Exp $
*
* Implementation of the SHA-512 hash function
*
*
* Implementation of the SHA-512 hash function
*
@@
-30,6
+30,10
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: sha512.h,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: sha512.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.
*
* Revision 1.1 2000/10/15 17:48:15 mdw
* New SHA variants with longer outputs.
*
@@
-65,9
+69,11
@@
#define SHA512_BUFSZ 128
#define SHA512_HASHSZ 64
#define SHA512_BUFSZ 128
#define SHA512_HASHSZ 64
+#define SHA512_STATESZ 64
#define SHA384_BUFSZ 128
#define SHA384_HASHSZ 48
#define SHA384_BUFSZ 128
#define SHA384_HASHSZ 48
+#define SHA384_STATESZ 64
/*----- Data structures ---------------------------------------------------*/
/*----- Data structures ---------------------------------------------------*/