public declaration of all HASH_SIZEs in hasher.h

This commit is contained in:
Martin Willi
2006-09-20 06:45:19 +00:00
parent 490d267ac3
commit 995d8116e1
4 changed files with 13 additions and 14 deletions
@@ -56,6 +56,13 @@ enum hash_algorithm_t {
HASH_SHA512,
};
#define HASH_SIZE_MD2 16
#define HASH_SIZE_MD5 16
#define HASH_SIZE_SHA1 20
#define HASH_SIZE_SHA256 32
#define HASH_SIZE_SHA384 48
#define HASH_SIZE_SHA512 64
/**
* String mappings for hash_algorithm_t.
*/