mirror of
https://github.com/ipxe/ipxe
synced 2026-01-23 04:29:01 +03:00
[test] Add HMAC self-tests
The HMAC code is already tested indirectly via several consuming algorithms that themselves provide self-tests (e.g. HMAC-DRBG, NTLM authentication, and PeerDist content identification), but lacks any direct test vectors. Add explicit HMAC tests and ensure that corner cases such as empty keys, block-length keys, and over-length keys are all covered. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -77,3 +77,4 @@ REQUIRE_OBJECT ( zlib_test );
|
||||
REQUIRE_OBJECT ( gzip_test );
|
||||
REQUIRE_OBJECT ( utf8_test );
|
||||
REQUIRE_OBJECT ( acpi_test );
|
||||
REQUIRE_OBJECT ( hmac_test );
|
||||
|
||||
Reference in New Issue
Block a user