summaryrefslogtreecommitdiff
path: root/include/sha256.h
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 15:15:43 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-28 00:29:47 +0000
commit449b52066f7be55584ea275b140513f3bc4de77b (patch)
treee653f7db89c766b9ad678b0e124e2774807e58c1 /include/sha256.h
parenta6b0b3554f59cc9b0c4aae9bff7dff075f2089a9 (diff)
downloadchrome-ec-449b52066f7be55584ea275b140513f3bc4de77b.tar.gz
include/sha256.h: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: If558fecc0ee88def67289b0cc472d53ecbc7fca6 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730404 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'include/sha256.h')
-rw-r--r--include/sha256.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sha256.h b/include/sha256.h
index 130a666788..28ed988ebe 100644
--- a/include/sha256.h
+++ b/include/sha256.h
@@ -26,7 +26,7 @@ struct sha256_ctx {
uint32_t tot_len;
uint32_t len;
uint8_t block[2 * SHA256_BLOCK_SIZE];
- uint8_t buf[SHA256_DIGEST_SIZE]; /* Used to store the final digest. */
+ uint8_t buf[SHA256_DIGEST_SIZE]; /* Used to store the final digest. */
};
#endif
@@ -37,4 +37,4 @@ uint8_t *SHA256_final(struct sha256_ctx *ctx);
void hmac_SHA256(uint8_t *output, const uint8_t *key, const int key_len,
const uint8_t *message, const int message_len);
-#endif /* __CROS_EC_SHA256_H */
+#endif /* __CROS_EC_SHA256_H */