aboutsummaryrefslogtreecommitdiff
path: root/src/tests/sha256_test.c
AgeCommit message (Collapse)AuthorFilesLines
2015-04-12[crypto] Add SHA-224 algorithmMichael Brown1-3/+30
SHA-224 is almost identical to SHA-256, with differing initial hash values and a truncated output length. This implementation has been verified using the NIST SHA-224 test vectors. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2015-04-12[test] Simplify digest algorithm self-testsMichael Brown1-60/+32
Update the digest self-tests to use okx(), and centralise concepts and data shared between tests for multiple algorithms to reduce duplicated code. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2015-03-02[legal] Relicense files under GPL2_OR_LATER_OR_UBDLMichael Brown1-1/+5
Relicense files for which I am the sole author (as identified by util/relicense.pl). Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-09-26[test] Add speed tests for digest algorithmsMichael Brown1-0/+6
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-07-20[legal] Update FSF mailing address in GPL licence textsMichael Brown1-1/+2
Suggested-by: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-03-05[test] Add self-tests for SHA-256 algorithmMichael Brown1-0/+101
Signed-off-by: Michael Brown <mcb30@ipxe.org>