]> git.ipfire.org Git - thirdparty/shadow.git/commit
tests/unit/test_chkhash.c: add unit tests for `is_valid_hash()`
authorIker Pedrosa <ipedrosa@redhat.com>
Fri, 30 Jan 2026 14:56:23 +0000 (15:56 +0100)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Tue, 17 Feb 2026 23:30:57 +0000 (00:30 +0100)
commit11bd3cc4c8f529b8e2e26c6b16b4c2d740175ef3
tree5957fd619b437ab72fd74986abe395160ce38b92
parentbc09948273c34a4eeceec028036ec69b3fd4b754
tests/unit/test_chkhash.c: add unit tests for `is_valid_hash()`

Introduce unit testing infrastructure for the `is_valid_hash()`
function. Add yescrypt algorithm validation tests.

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
tests/unit/Makefile.am
tests/unit/test_chkhash.c [new file with mode: 0644]