diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-05-05 19:39:37 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-05-05 19:40:03 -0700 |
commit | 7cdcfaad536a02b90be6c2104ac4a38bf620bbd1 (patch) | |
tree | feea4aed3e319c18463233a51da102e77da3ce71 /modules/xprintf-posix-tests | |
parent | a80d295ef2b25462b36c1c401653a0fe33cb3a0d (diff) | |
download | gnulib-7cdcfaad536a02b90be6c2104ac4a38bf620bbd1.tar.gz |
crypto/{md5,sha1,sha256,sha512}: simplify
* lib/md5.c (md5_stream):
* lib/sha1.c (sha1_stream):
* lib/sha256.c (shaxxx_stream):
Simplify, partly by assuming C99.
* lib/sha256.c (shaxxx_stream):
New function, which implements both sha256 and sha224.
Simplify, partly by assuming C99.
(sha256_stream, sha224_stream):
Use it to avoid code duplication, removing a FIXME.
* lib/sha512.c (shaxxx_stream, sha512_stream, sha384_stream):
Likewise.
Diffstat (limited to 'modules/xprintf-posix-tests')
0 files changed, 0 insertions, 0 deletions