aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe/sha1.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe/sha1.h')
-rw-r--r--src/include/ipxe/sha1.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ipxe/sha1.h b/src/include/ipxe/sha1.h
index a97035e..9cbbebd 100644
--- a/src/include/ipxe/sha1.h
+++ b/src/include/ipxe/sha1.h
@@ -65,6 +65,9 @@ struct sha1_context {
/** SHA-1 context size */
#define SHA1_CTX_SIZE sizeof ( struct sha1_context )
+/** SHA-1 block size */
+#define SHA1_BLOCK_SIZE sizeof ( union sha1_block )
+
/** SHA-1 digest size */
#define SHA1_DIGEST_SIZE sizeof ( struct sha1_digest )