Thanks! It works great. Do you have plan to change the behavior of DSA_SIG_new() as well to pre-create r and s? Currently both are NULL.
Thanks in advance, Aleksey On 1/29/16 5:44 AM, Stephen Henson via RT wrote: > On Fri Jan 29 09:59:23 2016, alek...@aleksey.com wrote: >> Hello, >> >> At the moment, there is no way to set r/s in the ECDSA_SIG structure >> manually to verify the signature encoded into a different format. >> Would be great to add a simple function: >> >> void ECDSA_SIG_set0(const ECDSA_SIG*, BIGNUM *, BIGNUM *) >> >> to set these values similar to other XXX_set0() functions. >> > > The way ECDSA_SIG_new() work r and s should always be non-NULL so you > should be able to use the the ECDSA_SIG_get0 function to retrieve pointers to > r > and s which can then be modified. > > Steve. > -- > Dr Stephen N. Henson. OpenSSL project core developer. > Commercial tech support now available see: http://www.openssl.org > _______________________________________________ openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev