From dd8398a3c642b1397f64e338d2b0008e33790dec Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 15 Oct 2006 06:17:45 +0000 Subject: [m4/ChangeLog] * sha512.m4 (gl_SHA512): Add u64.h to AC_LIBSOURCES. [lib/ChangeLog] Port sha512sum to hosts where uintmax_t is only 32 bits, e.g., HP/Tandom NonStop OSS circa 2005 has 32-bit uintmax_t, 64-bit intmax_t. * u64.h: New file. * sha512.c (SWAP, sha512_init_ctx, sha384_init_ctx, sha512_read_ctx): (sha384_read_ctx, sha512_conclude_ctx, sha512_process_bytes): (sha512_round_constants, F2, F1, sha512_process_block): (S0, S1, SS0, SS1, M, R): Rewrite to use u64.h instead of assuming uint64_t. * sha512.h: Include u64.h rather than stdint.h. (rol64): Remove; moved to u64.h and renamed to u64rol. --- lib/ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'lib/ChangeLog') diff --git a/lib/ChangeLog b/lib/ChangeLog index c3774ff9d..17ad7ae53 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,16 @@ +2006-10-14 Paul Eggert + + Port sha512sum to hosts where uintmax_t is only 32 bits, e.g., + HP/Tandom NonStop OSS circa 2005 has 32-bit uintmax_t, 64-bit intmax_t. + * u64.h: New file. + * sha512.c (SWAP, sha512_init_ctx, sha384_init_ctx, sha512_read_ctx): + (sha384_read_ctx, sha512_conclude_ctx, sha512_process_bytes): + (sha512_round_constants, F2, F1, sha512_process_block): + (S0, S1, SS0, SS1, M, R): + Rewrite to use u64.h instead of assuming uint64_t. + * sha512.h: Include u64.h rather than stdint.h. + (rol64): Remove; moved to u64.h and renamed to u64rol. + 2006-10-12 Jim Meyering * Makefile.am (libcoreutils_a_LIBADD): Append $(LIBOBJS), -- cgit v1.2.3-70-g09d2