diff options
author | Paul Duncan <pabs@pablotron.org> | 2019-07-17 01:17:44 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2019-07-17 01:17:44 -0400 |
commit | 1bd32be2c3c1e400f391a4c9fbf5f0033eacd8a0 (patch) | |
tree | 4477e1101b1cd1e1d08dd5b1153117d61eab258d /sha2.c | |
parent | 9b9d4f7a7d22f1a0c2b1d53a1f7cd6bc67a34010 (diff) | |
download | sha2-1bd32be2c3c1e400f391a4c9fbf5f0033eacd8a0.tar.bz2 sha2-1bd32be2c3c1e400f391a4c9fbf5f0033eacd8a0.zip |
fix comments, add header guard
Diffstat (limited to 'sha2.c')
-rw-r--r-- | sha2.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]), \ |