[openssl-users] ECDSA_SIG_new and ECDSA_SIG_free details

Salz, Rich rsalz at akamai.com
Wed Jan 11 17:32:37 UTC 2017


> The representation in memory of a null pointer need not be all-bits-zero.
> (The representation in memory of an integer constant with the value zero
> can either be all-bits-zero or, in the unlikely case of sign-magnitude integers,
> a sign bit of 1 followed by all-other-bits-zero.)

And, again, openssl will not work on those platforms and we have a test to catch it.

> Doing it properly, incidentally, looks like this:

Look at apps/rehash.c :)



More information about the openssl-users mailing list