projects
/
u
/
mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f80463a
)
Support for new SHA variants added.
author
mdw
<mdw>
Thu, 25 Jan 2001 21:40:14 +0000
(21:40 +0000)
committer
mdw
<mdw>
Thu, 25 Jan 2001 21:40:14 +0000
(21:40 +0000)
hashsum.c
patch
|
blob
|
blame
|
history
diff --git
a/hashsum.c
b/hashsum.c
index
5776d93
..
35e35fb
100644
(file)
--- a/
hashsum.c
+++ b/
hashsum.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: hashsum.c,v 1.
5 2000/12/06 20:33:27
mdw Exp $
+ * $Id: hashsum.c,v 1.
6 2001/01/25 21:40:14
mdw Exp $
*
* Hash files using some secure hash function
*
*
* Hash files using some secure hash function
*
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: hashsum.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: hashsum.c,v $
+ * Revision 1.6 2001/01/25 21:40:14 mdw
+ * Support for new SHA variants added.
+ *
* Revision 1.5 2000/12/06 20:33:27 mdw
* Make flags be macros rather than enumerations, to ensure that they're
* unsigned.
* Revision 1.5 2000/12/06 20:33:27 mdw
* Make flags be macros rather than enumerations, to ensure that they're
* unsigned.
@@
-77,12
+80,18
@@
#include "rmd256.h"
#include "rmd320.h"
#include "sha.h"
#include "rmd256.h"
#include "rmd320.h"
#include "sha.h"
+#include "sha256.h"
+#include "sha384.h"
+#include "sha512.h"
#include "tiger.h"
/*----- Static variables --------------------------------------------------*/
static const gchash *hashtab[] = {
#include "tiger.h"
/*----- Static variables --------------------------------------------------*/
static const gchash *hashtab[] = {
- &md5, &md4, &sha, &rmd128, &rmd160, &rmd256, &rmd320, &tiger,
+ &md5, &md4,
+ &sha, &sha256, &sha384, &sha512,
+ &rmd128, &rmd160, &rmd256, &rmd320,
+ &tiger,
0
};
0
};