Help on Diffie Hellman key exchange

Salz, Rich rsalz at akamai.com
Wed Nov 13 17:11:43 UTC 2019


>    RAND_seed(seed, ::strlen(seed));
>    RAND_bytes(buf, keySize / 8);

I don’t know where you are getting the seed, but it is typically binary data, not a C string.

If you are using 1.1.0 or later, you do not need to seed things.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20191113/fc07db53/attachment.html>


More information about the openssl-users mailing list