Title: Random number??
Hi,
I'm new to OpenSSL. I try to generate random keys with DES_random_key. Under windows, all goes well. But Under Tandem, this doesn't succeed. The Documentation says that i need to seed the prng. So i tried with RAND_seed, but RAND_status() always return zero.
Title: Error code?
Hi,
I wrote the following lines:
if (RAND_bytes((unsigned char *)ret, sizeof(DES_cblock)) != 1)
{
errCode = ERR_get_error();
ERR_error_string(errCode, errString);
printf("RAND_bytes Error: %s\n", errString);
And here is what i get from the