Hash :
d27c90a1
Author :
Date :
2018-06-25T01:02:39
af_alg tests: Add another test. * tests/test-digest.h (test_digest_on_files): Also check a large file with a skipped header. * tests/test-md5.c: Include macros.h. * tests/test-sha1.c: Likewise. * tests/test-sha256.c: Likewise. * tests/test-sha512.c: Likewise. * modules/crypto/md5-tests (Files): Add tests/macros.h. * modules/crypto/sha1-tests (Files): Likewise. * modules/crypto/sha256-tests (Files): Likewise. * modules/crypto/sha512-tests (Files): Likewise.
Files:
tests/test-sha1.c
tests/test-digest.h
tests/bench-sha1.c
tests/bench-digest.h
tests/macros.h
Depends-on:
getrusage
gettimeofday
configure.ac:
Makefile.am:
TESTS += test-sha1
check_PROGRAMS += test-sha1
noinst_PROGRAMS += bench-sha1
test_sha1_LDADD = $(LDADD) @LIB_CRYPTO@
bench_sha1_LDADD = $(LDADD) @LIB_CRYPTO@