From 1bd32be2c3c1e400f391a4c9fbf5f0033eacd8a0 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 17 Jul 2019 01:17:44 -0400 Subject: fix comments, add header guard --- sha2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sha2.c') diff --git a/sha2.c b/sha2.c index fc08d38..1e3ae41 100644 --- a/sha2.c +++ b/sha2.c @@ -462,7 +462,7 @@ void sha512_init(sha512_t * const ctx) { w[i] = w16 + s0 + w7 + s1; \ } while (0) -// WC: compress word +// WC64: compress word #define WC64(i) do { \ const uint64_t s1 = rr64(hs[4], 14) ^ rr64(hs[4], 18) ^ rr64(hs[4], 41), \ ch = (hs[4] & hs[5]) ^ ((~(hs[4])) & hs[6]), \ -- cgit v1.2.3