[gnutls-devel] GnuTLS | pk: implement deterministic ECDSA/DSA for provable signing (!1051)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Aug 5 10:40:19 CEST 2019




Nikos Mavrogiannopoulos commented on a discussion on lib/crypto-backend.h: https://gitlab.com/gnutls/gnutls/merge_requests/1051#note_200055390

>  	int (*sign) (gnutls_pk_algorithm_t, gnutls_datum_t * signature,
>  		     const gnutls_datum_t * data,
>  		     const gnutls_pk_params_st *priv,
> -		     const gnutls_x509_spki_st *sign);
> +		     const gnutls_x509_spki_st *sign,
> +		     unsigned int flags);

In RSA-PSS signatures `gnutls_privkey_sign_data` via `_gnutls_privkey_update_spki_params` does something similar for reproducible signatures by updating `gnutls_x509_spki_st`. 

I'd go for consistency in both cases; a documented flag parameter is fine as well.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1051#note_200055390
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190805/58286912/attachment.html>


More information about the Gnutls-devel mailing list