summaryrefslogtreecommitdiff
path: root/gl/lib/sha256.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/lib/sha256.h')
-rw-r--r--gl/lib/sha256.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gl/lib/sha256.h b/gl/lib/sha256.h
index 9fd83c94c..c35d6c1fe 100644
--- a/gl/lib/sha256.h
+++ b/gl/lib/sha256.h
@@ -31,6 +31,8 @@ struct sha256_ctx
uint32_t buffer[32];
};
+enum { SHA224_DIGEST_SIZE = 24 };
+enum { SHA256_DIGEST_SIZE = 32 };
/* Initialize structure containing state of computation. */
extern void sha256_init_ctx (struct sha256_ctx *ctx);