aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/hashers
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2006-09-25 06:15:57 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2006-09-25 06:15:57 +0000
commit37d882e732c0e2fa4655040056152f8b853669d6 (patch)
tree1d94fdce4e0ca56c5b75a8f0a61466709bd1b5fe /src/libstrongswan/crypto/hashers
parente389073da84a63b1a6cbc736640b214e6a3f60b1 (diff)
downloadstrongswan-37d882e732c0e2fa4655040056152f8b853669d6.tar.bz2
strongswan-37d882e732c0e2fa4655040056152f8b853669d6.tar.xz
defined maximum hash size
Diffstat (limited to 'src/libstrongswan/crypto/hashers')
-rw-r--r--src/libstrongswan/crypto/hashers/hasher.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstrongswan/crypto/hashers/hasher.h b/src/libstrongswan/crypto/hashers/hasher.h
index 8db252f25..ccc8d3eca 100644
--- a/src/libstrongswan/crypto/hashers/hasher.h
+++ b/src/libstrongswan/crypto/hashers/hasher.h
@@ -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.