]> git.ozlabs.org Git - ccan/blobdiff - ccan/crypto/sha256/sha256.h
sha256: Make our u32 and u8 fields the same size
[ccan] / ccan / crypto / sha256 / sha256.h
index eedaa94ee77df0cfe3e875ec45597f364bbea55f..3e1a4919b9210269809824ff8797a24e8860251e 100644 (file)
@@ -49,7 +49,7 @@ struct sha256_ctx {
        uint32_t s[8];
        uint64_t bytes;
        union {
-               uint32_t u32[8];
+               uint32_t u32[16];
                unsigned char u8[64];
        } buf;
 #endif