Re: [openssl-users] ECDSA_SIG_new and ECDSA_SIG_free details

2017-01-03 Thread Salz, Rich
> OpenSSL does not support platforms where the memory representation of > the NULL pointer contains non-zero bytes. IIRC there are even tests for this. Yes, the basic platform sanity tests, test/sanitytest.c -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/op

Re: [openssl-users] ECDSA_SIG_new and ECDSA_SIG_free details

2017-01-03 Thread Viktor Dukhovni
> On Jan 3, 2017, at 2:55 PM, Ken Goldman wrote: > > 1 - Is this a bit of a bug? > > ECDSA_SIG_free() frees the r and s BIGNUMs before is frees the structure > itself. However, ECDSA_SIG_new() doesn't set r and s to > NULL. It calls zalloc, which sets them to 0x00 bytes. > > OK, in most pla

[openssl-users] ECDSA_SIG_new and ECDSA_SIG_free details

2017-01-03 Thread Ken Goldman
1 - Is this a bit of a bug? ECDSA_SIG_free() frees the r and s BIGNUMs before is frees the structure itself. However, ECDSA_SIG_new() doesn't set r and s to NULL. It calls zalloc, which sets them to 0x00 bytes. OK, in most platforms, the NULL pointer is an all 0x00 bytes value, but it's not

[openssl-users] EVP_DigestVerifyFinal with ECDSA signature

2017-01-03 Thread Ken Goldman
I'm trying to use the EVP interface for signature verification. However, EVP_DigestVerifyFinal() takes a signature and length as parameters. While I understand this for RSA, ECDSA signatures have R and S elements. Is there a convertor function? If I must convert by hand, how is it done? In

[openssl-users] Open ssl user

2017-01-03 Thread rjkmurray40
Not able to use ssl Sent from my Bell Samsung device over Canada's largest network.-- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users