Now that we have hashes larger than SHA1,

#define HASH_LENGTH_MAX         SHA512_LENGTH
This commit is contained in:
nelsonb%netscape.com 2002-11-16 03:21:53 +00:00
Родитель af4639ae92
Коммит b1cb2c9cfd
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -32,7 +32,7 @@
* may use your version of this file under either the MPL or the * may use your version of this file under either the MPL or the
* GPL. * GPL.
* *
* $Id: blapit.h,v 1.5 2002-11-02 01:51:40 nelsonb%netscape.com Exp $ * $Id: blapit.h,v 1.6 2002-11-16 03:21:53 nelsonb%netscape.com Exp $
*/ */
#ifndef _BLAPIT_H_ #ifndef _BLAPIT_H_
@ -73,6 +73,7 @@
#define SHA256_LENGTH 32 /* bytes */ #define SHA256_LENGTH 32 /* bytes */
#define SHA384_LENGTH 48 /* bytes */ #define SHA384_LENGTH 48 /* bytes */
#define SHA512_LENGTH 64 /* bytes */ #define SHA512_LENGTH 64 /* bytes */
#define HASH_LENGTH_MAX SHA512_LENGTH
/* /*
* Input block size for each hash algorithm. * Input block size for each hash algorithm.