]> Savannah Git Hosting - gnulib.git/commit
crypto/{md5,sha1,sha256,sha512} tests: Add benchmarks.
authorBruno Haible <bruno@clisp.org>
Sun, 6 May 2018 14:46:57 +0000 (16:46 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 6 May 2018 14:46:57 +0000 (16:46 +0200)
commit207cac7a3714a85b605332434cf2ebc20bbaf3ed
treed3627cb7fb9a48e3168b8d5bc8b077db85f35aef
parent902d630a4cd84182c97de9a9c6d49856a8fc79bd
crypto/{md5,sha1,sha256,sha512} tests: Add benchmarks.

* tests/bench-digest.h: New file.
* tests/bench-md5.c: New file.
* tests/bench-sha1.c: New file.
* tests/bench-sha224.c: New file.
* tests/bench-sha256.c: New file.
* tests/bench-sha384.c: New file.
* tests/bench-sha512.c: New file.
* modules/crypto/md5-tests (Files): Add tests/bench-md5.c,
tests/bench-digest.h.
(Depends-on): Add getrusage, gettimeofday.
(Makefile.am): Add variables to build bench-md5.
* modules/crypto/sha1-tests (Files): Add tests/bench-sha1.c,
tests/bench-digest.h.
(Depends-on): Add getrusage, gettimeofday.
(Makefile.am): Add variables to build bench-sha1.
* modules/crypto/sha256-tests (Files): Add tests/bench-sha224.c,
tests/bench-sha256.c, tests/bench-digest.h.
(Depends-on): Add getrusage, gettimeofday.
(Makefile.am): Add variables to build bench-sha224, bench-sha256.
* modules/crypto/sha512-tests (Files): Add tests/bench-sha384.c,
tests/bench-sha512.c, tests/bench-digest.h.
(Depends-on): Add getrusage, gettimeofday.
(Makefile.am): Add variables to build bench-sha384, bench-sha512.
12 files changed:
ChangeLog
modules/crypto/md5-tests
modules/crypto/sha1-tests
modules/crypto/sha256-tests
modules/crypto/sha512-tests
tests/bench-digest.h [new file with mode: 0644]
tests/bench-md5.c [new file with mode: 0644]
tests/bench-sha1.c [new file with mode: 0644]
tests/bench-sha224.c [new file with mode: 0644]
tests/bench-sha256.c [new file with mode: 0644]
tests/bench-sha384.c [new file with mode: 0644]
tests/bench-sha512.c [new file with mode: 0644]