History log of /dovecot/src/lib/sha1.c
Revision Date Author Comments Expand
d61f31663f3debf9e49d1e0d8ef3c9fb13aad6c4 30-Oct-2017 Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi>

lib,lib-index: Use #ifdef with WORDS_BIGENDIAN Some were missing from the last change.

debc93e622751c6c09e8105e504c5833f1ca0d6d 30-Oct-2017 Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi>

global: Use #ifdef instead of #if with WORDS_BIGENDIAN This is to not rely on undefined WORDS_BIGENDIAN being evaluated as 0.

21484e16293b2fb12f026d2ad533fa32ebebf641 24-Nov-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib: Mark md4/md5/sha1/sha2 code with ATTR_UNSIGNED_WRAPS

9625595c47c665f5aee57ebfcb1fcbe9ad1bf3a0 31-May-2016 Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi>

[LEN] to [static LEN] on some function parameters Also add STATIC_ARRAY macro to hide it in c++ compilation.

74ae32512357bdd4872bf160dc697ff7b54b54c5 19-Oct-2010 Timo Sirainen <tss@iki.fi>

liblib: Added a common API for accessing all hash methods.

c59ce1887df061441a31f8243c730d4ec6a62a07 19-Dec-2008 Timo Sirainen <tss@iki.fi>

Try to use (Apple) gcc's __BIG_ENDIAN__ and __LITTLE_ENDIAN__ macros if possible. Based on a patch by Apple. --HG-- branch : HEAD

a94936bafd127680184da114c6a177b37ff656e5 16-Sep-2007 Timo Sirainen <tss@iki.fi>

Removed _ prefixes from function names. --HG-- branch : HEAD

202be13a1c2013e7b35abf2ffaa4dcb0d834e4e2 30-Jun-2005 Timo Sirainen <tss@iki.fi>

Bad endianess fix. It required that LITTLE_ENDIAN and BIG_ENDIAN were already defined. Rather use WORDS_BIGENDIAN which configure already sets. --HG-- branch : HEAD

d5b21ca6ed59bc3035f3e0a469ea8a4a23940e4d 30-Jun-2005 Timo Sirainen <tss@iki.fi>

Define I_BYTE_ORDER macro ourself because BYTE_ORDER can't seem to be relied on. Fixes SHA1 giving wrong checksums at least in Solaris/sparc. --HG-- branch : HEAD

77a8c99da71844aaf0fa3036960473024d19f471 15-Sep-2004 Timo Sirainen <tss@iki.fi>

Change src from unsigned char* toi void* so callers don't have to do casting always. --HG-- branch : HEAD

01f54478a7c69b88ab13840c99bbab19a0d7d754 30-Jul-2004 Timo Sirainen <tss@iki.fi>

Changed to use standard uint* types rather than u_int*. Also removed K&R-isms. --HG-- branch : HEAD

c1252a5812eb11fcb81508b9ed37597a5bc84100 26-Jul-2004 Timo Sirainen <tss@iki.fi>

Forgot from last dovecotpw commit. --HG-- branch : HEAD