]> git.ipfire.org Git - thirdparty/shadow.git/commit
tests/unit/test_chkhash.c: add bcrypt hash validation tests
authorIker Pedrosa <ipedrosa@redhat.com>
Sun, 1 Feb 2026 09:46:18 +0000 (10:46 +0100)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Tue, 17 Feb 2026 23:30:57 +0000 (00:30 +0100)
commit98b930d0dd2c7b2e92c782164d84dc258d12b191
tree8606ea07176520564a2f01f7b89a987ae68208b8
parent11bd3cc4c8f529b8e2e26c6b16b4c2d740175ef3
tests/unit/test_chkhash.c: add bcrypt hash validation tests

Add comprehensive bcrypt algorithm validation tests covering all
variants ($2a$, $2b$, $2x$, $2y$) with different cost factors.

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
tests/unit/test_chkhash.c