]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[test] Test verification of constructed signature
authorMichael Brown <mcb30@ipxe.org>
Thu, 18 Dec 2025 23:10:57 +0000 (23:10 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 18 Dec 2025 23:10:57 +0000 (23:10 +0000)
commit948677fe5e2a3d098b8099a0dff0bfbd22efc3a8
treece8075713b12c9e8c4d009a83a3229caa4fe207b
parentcfbf0da93c27a33c6e76c0caac65708160425500
[test] Test verification of constructed signature

Some signature schemes (such as ECDSA) allow for non-deterministic
signatures.  Provide more information in test results by performing
verification of the constructed signature even when it does not match
the expected test case result: this allows us to distinguish between a
bug that is generating invalid signatures and a bug that is generating
valid but non-canonical signatures.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/tests/pubkey_test.c