aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/sha1.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2007-02-01 05:48:56 +0000
committerMichael Brown <mcb30@etherboot.org>2007-02-01 05:48:56 +0000
commitcc8f9e4b7fa6a82415c2f13d4434b379ef760bcb (patch)
treeece501e37b08aefc978204a1d6b78c488305636f /src/include/gpxe/sha1.h
parentd4675523671d2f605c0cd8c61823ef5e8833cc67 (diff)
downloadipxe-cc8f9e4b7fa6a82415c2f13d4434b379ef760bcb.tar.gz
Make context sizes available for statically-allocated structures
Diffstat (limited to 'src/include/gpxe/sha1.h')
-rw-r--r--src/include/gpxe/sha1.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/gpxe/sha1.h b/src/include/gpxe/sha1.h
index 1425d54cf..0a811018c 100644
--- a/src/include/gpxe/sha1.h
+++ b/src/include/gpxe/sha1.h
@@ -1,8 +1,12 @@
#ifndef _GPXE_SHA1_H
#define _GPXE_SHA1_H
+#include "crypto/axtls/crypto.h"
+
struct crypto_algorithm;
+#define SHA1_CTX_SIZE sizeof ( SHA1_CTX )
+
extern struct crypto_algorithm sha1_algorithm;
#endif /* _GPXE_SHA1_H */