summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-06-27 13:39:19 -0400
committerTom Rini <[email protected]>2022-06-27 13:39:19 -0400
commitea82ed8c2eaee0a0f7dee31016aaee4ce88e9ea7 (patch)
tree8628177a335f90dca51e64cea0a0e3e80bbe5895 /include
parentc316ee674f25b73285f241ce922307296616a92a (diff)
parentba0d0e8c74e8fcd57beb286251d695e63f0d291c (diff)
Merge branch '2022-06-27-add-armv8-sha1-sha256-support' into next
To quote the author: This series adds support for the SHA-1 and SHA-256 Secure Hash Algorithm for CPUs that have support of the ARM v8 Crypto Extensions. It Improves speed of integrity & signature checking procedures.
Diffstat (limited to 'include')
-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;