diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-01-10 17:47:56 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-01-10 17:47:56 +0000 |
commit | d11af4159eb8836696ef29f1e1ac9ad4db348d47 (patch) | |
tree | 87dc9cf5d37eebdd601ef33b9925bfb955ff87ff /lib/sha512.h | |
parent | 71520b31c09c843d37c84abd12694e06428cdd47 (diff) | |
download | coreutils-d11af4159eb8836696ef29f1e1ac9ad4db348d47.tar.xz |
Sync from gnulib.
Diffstat (limited to 'lib/sha512.h')
-rw-r--r-- | lib/sha512.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/sha512.h b/lib/sha512.h index 5a2b5ce35..3740de9c5 100644 --- a/lib/sha512.h +++ b/lib/sha512.h @@ -1,6 +1,6 @@ /* Declarations of functions and data types used for SHA512 and SHA384 sum library functions. - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the @@ -28,16 +28,13 @@ # include <stdint.h> # endif -typedef uint64_t sha512_uint64; - - /* Structure to save state of computation between the single steps. */ struct sha512_ctx { - sha512_uint64 state[8]; + uint64_t state[8]; - sha512_uint64 total[2]; - sha512_uint64 buflen; + uint64_t total[2]; + uint64_t buflen; char buffer[256]; }; |