aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/wsgcrypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil/wsgcrypt.h')
-rw-r--r--wsutil/wsgcrypt.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/wsutil/wsgcrypt.h b/wsutil/wsgcrypt.h
index 8ad0fcfd4f..b323c35c3a 100644
--- a/wsutil/wsgcrypt.h
+++ b/wsutil/wsgcrypt.h
@@ -37,8 +37,12 @@ DIAG_OFF(deprecated-declarations)
DIAG_ON(deprecated-declarations)
-#define HASH_MD5_LENGTH 16
-#define HASH_SHA1_LENGTH 20
+#define HASH_MD5_LENGTH 16
+#define HASH_SHA1_LENGTH 20
+#define HASH_SHA2_224_LENGTH 28
+#define HASH_SHA2_256_LENGTH 32
+#define HASH_SHA2_384_LENGTH 48
+#define HASH_SHA2_512_LENGTH 64
/* Convenience function to calculate the HMAC from the data in BUFFER
of size LENGTH with key KEY of size KEYLEN using the algorithm ALGO avoiding the creating of a