]> git.ozlabs.org Git - ccan/blobdiff - ccan/crypto/sha256/sha256.h
sha256: Use the same union order as the ctx structure
[ccan] / ccan / crypto / sha256 / sha256.h
index 3e1a4919b9210269809824ff8797a24e8860251e..1297c41f48f0fabbc9bfda41c9dd93627e0c1858 100644 (file)
  */
 struct sha256 {
        union {
-               /* Array of chars */
-               unsigned char u8[32];
-               /* Array of uint32_t */
                uint32_t u32[8];
+               unsigned char u8[32];
        } u;
 };