summaryrefslogtreecommitdiff
path: root/tests/test-digest.h
Commit message (Collapse)AuthorAgeFilesLines
* maint: run 'make update-copyright'Simon Josefsson2023-01-011-1/+1
|
* license: fix GPLv3 texts to use a comma instead of semicolon.Bernhard Voelker2022-01-051-1/+1
| | | | | | | | | See: https://www.gnu.org/licenses/gpl-3.0.html#howto Run: $ git grep -l 'Foundation; either version 3' \ | xargs sed -i '/Foundation; either version 3/ s/n; e/n, e/' * All files using GPLv3: Adjust via the above command.
* maint: run 'make update-copyright'Paul Eggert2022-01-011-1/+1
|
* maint: run 'make update-copyright'Paul Eggert2020-12-311-1/+1
|
* maint: Run 'make update-copyright'Paul Eggert2019-12-311-1/+1
|
* maint: Run 'make update-copyright'Paul Eggert2019-01-011-1/+1
|
* Continue to use spaces for indentation, not tabs.Bruno Haible2018-06-251-1/+1
|
* af_alg: Fix state of stream after sendfile() succeeds.Bruno Haible2018-06-251-0/+6
| | | | | | | | * lib/af_alg.c (afalg_stream): Invoke fflush and lseek, to ensure that the stream is correctly positioned afterwards. * modules/crypto/af_alg (Depends-on): Add fflush. * tests/test-digest.h (test_digest_on_files): Verify that after the operation the stream is positioned at end of file.
* af_alg tests: Add another test.Bruno Haible2018-06-251-6/+11
| | | | | | | | | | | | | * 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.
* crypto/{md5,sha1,sha256,sha512} tests: Enhance test.Bruno Haible2018-05-061-4/+22
| | | | | * tests/test-digest.h (test_digest_on_files): Add a test with a FILE stream that is not positioned at the beginning.
* crypto tests: pacify GCCPaul Eggert2018-05-051-1/+1
| | | | | * tests/test-digest.h (test_digest_on_files): Don’t assume digest size fits in int (!).
* md5 tests: Add test for md5_stream.Bruno Haible2018-05-051-0/+115
* tests/test-digest.h: New file. * tests/test-md5.c: Include test-digest.h. (main): Invoke test_digest_on_files on 'md5_stream'. * modules/crypto/md5-tests (Files): Add tests/test-digest.h.