/* -*-c-*-
*
- * $Id: hashsum.c,v 1.6 2001/01/25 21:40:14 mdw Exp $
+ * $Id: hashsum.c,v 1.7 2001/02/21 20:03:22 mdw Exp $
*
* Hash files using some secure hash function
*
/*----- Revision history --------------------------------------------------*
*
* $Log: hashsum.c,v $
+ * Revision 1.7 2001/02/21 20:03:22 mdw
+ * Added support for MD2 hash function.
+ *
* Revision 1.6 2001/01/25 21:40:14 mdw
* Support for new SHA variants added.
*
#include "ghash.h"
+#include "md2.h"
#include "md4.h"
#include "md5.h"
#include "rmd128.h"
/*----- Static variables --------------------------------------------------*/
static const gchash *hashtab[] = {
- &md5, &md4,
+ &md5, &md4, &md2,
&sha, &sha256, &sha384, &sha512,
&rmd128, &rmd160, &rmd256, &rmd320,
&tiger,