Re: Help on Diffie Hellman key exchange

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>    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.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux