On Fri, Aug 21, 2026 at 03:20:39AM +0000, Jamin Lin wrote: > Implement ECDSA signing and verification for the gcrypt backend, for the > prime256v1 (NIST P-256) and secp384r1 (NIST P-384) curves. The > encrypt/decrypt driver ops return an error, as ECDSA is a signature > algorithm. The public key is provided as the raw affine coordinates > Qx || Qy, the private key as the raw scalar d, and the signature as the > raw pair r || s (each half the curve size, big-endian); the input to > sign/verify is a pre-computed message digest. > > Signed-off-by: Jamin Lin <[email protected]> > --- > crypto/akcipher-gcrypt.c.inc | 328 ++++++++++++++++++++++++++++++++++- > 1 file changed, 327 insertions(+), 1 deletion(-)
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 :|
