On Fri, Aug 21, 2026 at 03:20:43AM +0000, Jamin Lin wrote: > Add unit tests for ECDSA prime256v1 and secp384r1, using the > RFC 6979 (Deterministic ECDSA) "sample" known-answer vectors. The same > key pair drives the verify test (against the RFC's known signature) and > the sign test, which signs the digest with the private key and checks > that the result verifies with the public key. Each test skips > (g_test_skip) when the crypto backend does not support ECDSA, via > qcrypto_akcipher_supports(). > > Signed-off-by: Jamin Lin <[email protected]> > --- > tests/unit/test-crypto-akcipher.c | 236 ++++++++++++++++++++++++++++++ > 1 file changed, 236 insertions(+)
Reviewed-by: Daniel P. Berrangé <[email protected]> With regards, Daniel -- |: https://berrange.com ~~ https://hachyderm.io/@berrange :| |: https://libvirt.org ~~ https://entangle-photo.org :| |: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
