[m4/ChangeLog]
commitdd8398a3c642b1397f64e338d2b0008e33790dec
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 15 Oct 2006 06:17:45 +0000 (15 06:17 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 15 Oct 2006 06:17:45 +0000 (15 06:17 +0000)
treee74087d4d653ebb99f546e0cd894ba85c758d2f0
parent443d5095786055328de8ede2648b9331405de083
[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
lib/sha512.c
lib/sha512.h
lib/u64.h [new file with mode: 0644]
m4/ChangeLog
m4/sha512.m4