You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've also noticed this issue on a 16-bit platform so I was pleased to see this bug! It was low priority for us, but I finally got around to checking if there was an updated version here...
A long time after the fact making this comment, but I also needed an additional change in sha1.c and sha256.c as my compiler (NC308 Renesas) was not promoting the BYTEs to WORDs when performing the build of the WORDs from BYTES.
sha256("abc")
should give:but calculates wrong
instead.
See also https://stackoverflow.com/questions/22880627/sha256-implementation-in-c
It seems not to be an endianess issue. Any idea?
The text was updated successfully, but these errors were encountered: