lib/md5.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 5186cca9 2005-10-28T12:15:56 * md5.h, md5.c: Simplify buffer handling visavi alignment, suggested by Bruno Haible <bruno@clisp.org>.
Simon Josefsson 8523c738 2005-10-17T12:55:00 Separate sha1 from md5. Use stdint.h in both modules.
Simon Josefsson c624017e 2005-10-05T13:54:42 * md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): Add, see also <http://sourceware.org/bugzilla/show_bug.cgi?id=1423>.
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 a62be9f4 2004-08-07T00:09:38 Merge from coreutils.
Paul Eggert 6ba1261f 2004-01-16T07:55:43 Merge from coreutils.
Paul Eggert b258c18a 2003-09-09T23:31:14 Remove K&R cruft.
Paul Eggert b63195fe 2003-08-14T23:12:50 Merge from coreutils.
Jim Meyering ef1abf6f 2000-11-27T09:33:53 remove useless parens
Jim Meyering a1c89a59 2000-09-25T00:00:58 (rol): Define (from GnuPG).
Jim Meyering 89f2b489 2000-08-07T15:48:18 back out Copyright date changes for files with no changes year
Jim Meyering d349992d 2000-07-09T07:22:43 update copyright date
Jim Meyering ef4494f3 1999-09-04T20:27:03 tweak comment
Jim Meyering bd8c2c16 1996-11-02T05:59:20 update copyright
Jim Meyering 8ca2e4a7 1996-10-24T03:02:57 Update from GNU libc.
Jim Meyering 0151a413 1996-10-20T04:14:25 Update from GNU libc.
Jim Meyering 2ae5764d 1996-10-17T02:59:09 Define and use macro, PARAMS, not __P.
Jim Meyering e9befad1 1995-07-21T04:48:03 (md5_stream): Update prototype. [__P]: Define macro.
Jim Meyering 1156115d 1995-07-20T17:52:49 .