summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/u-boot/sha1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/u-boot/sha1.h b/include/u-boot/sha1.h
index 283f1032936..09fee594d26 100644
--- a/include/u-boot/sha1.h
+++ b/include/u-boot/sha1.h
@@ -30,7 +30,7 @@ extern const uint8_t sha1_der_prefix[];
typedef struct
{
unsigned long total[2]; /*!< number of bytes processed */
- unsigned long state[5]; /*!< intermediate digest state */
+ uint32_t state[5]; /*!< intermediate digest state */
unsigned char buffer[64]; /*!< data block being processed */
}
sha1_context;