diff options
| author | amelia squires <[email protected]> | 2025-09-30 18:10:02 -0500 |
|---|---|---|
| committer | amelia squires <[email protected]> | 2025-09-30 18:10:02 -0500 |
| commit | a67dc94484cf9869793fc1861914b800a6559a74 (patch) | |
| tree | 68e9a016380776a6a6d90159722d1514756a4929 /src/hash/sha2-256.h | |
| parent | 795284d3b173473003129882739f371f37059adb (diff) | |
fix indentation!!!
Diffstat (limited to 'src/hash/sha2-256.h')
| -rw-r--r-- | src/hash/sha2-256.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/hash/sha2-256.h b/src/hash/sha2-256.h index 524693d..3a29b7c 100644 --- a/src/hash/sha2-256.h +++ b/src/hash/sha2-256.h @@ -2,23 +2,23 @@ #include <stdint.h> struct iv { - uint64_t h0, h1, h2, h3, h4, h5, h6, h7; + uint64_t h0, h1, h2, h3, h4, h5, h6, h7; }; static const struct iv sha512_iv = {.h0 = 0x6a09e667f3bcc908, .h1 = 0xbb67ae8584caa73b, .h2 = 0x3c6ef372fe94f82b, .h3 = 0xa54ff53a5f1d36f1, - .h4 = 0x510e527fade682d1, .h5 = 0x9b05688c2b3e6c1f, .h6 = 0x1f83d9abfb41bd6b, .h7 = 0x5be0cd19137e2179}; + .h4 = 0x510e527fade682d1, .h5 = 0x9b05688c2b3e6c1f, .h6 = 0x1f83d9abfb41bd6b, .h7 = 0x5be0cd19137e2179}; static const struct iv sha384_iv = {.h0 = 0xcbbb9d5dc1059ed8, .h1 = 0x629a292a367cd507, .h2 = 0x9159015a3070dd17, .h3 = 0x152fecd8f70e5939, - .h4 = 0x67332667ffc00b31, .h5 = 0x8eb44a8768581511, .h6 = 0xdb0c2e0d64f98fa7, .h7 = 0x47b5481dbefa4fa4}; + .h4 = 0x67332667ffc00b31, .h5 = 0x8eb44a8768581511, .h6 = 0xdb0c2e0d64f98fa7, .h7 = 0x47b5481dbefa4fa4}; #define sha384_update sha512_update #define sha384_hash sha512_hash struct sha512_hash { - uint8_t* buffer; - size_t bufflen; - uint64_t total, h0, h1, h2, h3, h4, h5, h6, h7; - uint16_t t; + uint8_t* buffer; + size_t bufflen; + uint64_t total, h0, h1, h2, h3, h4, h5, h6, h7; + uint16_t t; }; struct iv sha_iv_gen(int i); |
