Commit 1968f4d4 authored by Jon Griffiths's avatar Jon Griffiths

sha256: Use the same union order as the ctx structure

This reads better. Also remove duplicated comments for the members.
Signed-off-by: default avatarJon Griffiths <jon_p_griffiths@yahoo.com>
parent 60b3090a
......@@ -21,10 +21,8 @@
*/
struct sha256 {
union {
/* Array of chars */
unsigned char u8[32];
/* Array of uint32_t */
uint32_t u32[8];
unsigned char u8[32];
} u;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment