[PATCH 1/2] lib: fix byte order test in libsha1.c

2013-11-25 Thread Tomi Ollila
On Sun, Nov 24 2013, david at tethera.net wrote: > From: David Bremner > > Previously PLATFORM_BYTE_ORDER and IS_LITTLE_ENDIAN were not defined, > so the little endian code was always compiled in. > > This will have the effect that the "SHA1s" on big endian architectures > will change (i.e.

Re: [PATCH 1/2] lib: fix byte order test in libsha1.c

2013-11-25 Thread Tomi Ollila
On Sun, Nov 24 2013, da...@tethera.net wrote: From: David Bremner da...@tethera.net Previously PLATFORM_BYTE_ORDER and IS_LITTLE_ENDIAN were not defined, so the little endian code was always compiled in. This will have the effect that the SHA1s on big endian architectures will change (i.e.

[PATCH 1/2] lib: fix byte order test in libsha1.c

2013-11-24 Thread da...@tethera.net
From: David Bremner Previously PLATFORM_BYTE_ORDER and IS_LITTLE_ENDIAN were not defined, so the little endian code was always compiled in. This will have the effect that the "SHA1s" on big endian architectures will change (i.e. become actual sha1s). So someone re-indexing

[PATCH 1/2] lib: fix byte order test in libsha1.c

2013-11-24 Thread david
From: David Bremner da...@tethera.net Previously PLATFORM_BYTE_ORDER and IS_LITTLE_ENDIAN were not defined, so the little endian code was always compiled in. This will have the effect that the SHA1s on big endian architectures will change (i.e. become actual sha1s). So someone re-indexing their