defined maximum hash size
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 25 Sep 2006 06:15:57 +0000 (06:15 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 25 Sep 2006 06:15:57 +0000 (06:15 -0000)
src/libstrongswan/crypto/hashers/hasher.h

index 8db252f..ccc8d3e 100644 (file)
@@ -62,6 +62,7 @@ enum hash_algorithm_t {
 #define HASH_SIZE_SHA256       32
 #define HASH_SIZE_SHA384       48
 #define HASH_SIZE_SHA512       64
+#define HASH_SIZE_MAX          64
 
 /**
  * String mappings for hash_algorithm_t.