summaryrefslogtreecommitdiff
path: root/lib/avb/libavb/avb_sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/avb/libavb/avb_sha256.c')
-rw-r--r--lib/avb/libavb/avb_sha256.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/lib/avb/libavb/avb_sha256.c b/lib/avb/libavb/avb_sha256.c
index cdd143a..b1748eb 100644
--- a/lib/avb/libavb/avb_sha256.c
+++ b/lib/avb/libavb/avb_sha256.c
@@ -77,14 +77,9 @@
wv[h] = t1 + t2; \
}
-static const uint32_t sha256_h0[8] = {0x6a09e667,
- 0xbb67ae85,
- 0x3c6ef372,
- 0xa54ff53a,
- 0x510e527f,
- 0x9b05688c,
- 0x1f83d9ab,
- 0x5be0cd19};
+static const uint32_t sha256_h0[8] = {0x6a09e667, 0xbb67ae85, 0x3c6ef372,
+ 0xa54ff53a, 0x510e527f, 0x9b05688c,
+ 0x1f83d9ab, 0x5be0cd19};
static const uint32_t sha256_k[64] = {
0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1,
@@ -121,8 +116,7 @@ void avb_sha256_init(AvbSHA256Ctx* ctx) {
ctx->tot_len = 0;
}
-static void SHA256_transform(AvbSHA256Ctx* ctx,
- const uint8_t* message,
+static void SHA256_transform(AvbSHA256Ctx* ctx, const uint8_t* message,
unsigned int block_nb) {
uint32_t w[64];
uint32_t wv[8];