lib/sha1.h


Log

Author Commit Date CI Message
Paul Eggert d6471083 2006-01-12T05:40:19 Sync from coreutils. * md5.c: Fix commentary typos. (OP): Fix spacing. (alignof, UNALIGNED_P): No need for a GCC-specific version. * md5.h (__attribute__): Remove; unused. * sha1.c: Fix commentary to match md5 better. * sha1.h (struct sha1_ctx): Use a word buffer, not a byte buffer, so that we don't need to worry about alignment. All uses changed. This merges the 2005-10-28 md5 change into sha1.
Simon Josefsson 8523c738 2005-10-17T12:55:00 Separate sha1 from md5. Use stdint.h in both modules.
Paul Eggert dcbeca4a 2005-09-12T22:05:15 Merge glibc and coreutils changes into gnulib, plus a few extra fixes. * md5.c: Use #error rather than a string. (CYCLIC): New macro, from glibc source. Use it instead of rol. * md5.h (__GNUC_PREREQ, __THROW): Define if not defined already. (__attribute__): Define to empty for non recent-GCC. (__md5_buffer, __md5_finish_ctx, __md5_init_ctx, __md5_process_block): (__md5_process_bytes, __md5_read_ctx, __md5_stream): Renamed from their non-__ counterparts, with new macros replacing them if not _LIBC. Add __THROW attribute. (rol): Remove. (struct md5_ctx): Align buffer if using GCC. * sha1.h (struct sha1_ctx): Likewise. * sha1.c (SWAP): Renamed from the NOTSWAP. All uses changed. The old name was backwards. (NOTSWAP): Remove; not used. (rol): New macro, moved here from md5.h. (sha1_process_block): Remove a FIXME that doesn't make sense.
Paul Eggert 267a39ba 2005-05-14T06:03:57 *** empty log message ***
Paul Eggert 4773da75 2004-08-09T17:58:46 Add uint32_t.m4, uintptr_t.m4, and finish renaming sha->sha1.