Hi, This is my first time posting to this list - please let me know if this is not the right forum for this comment/question.
I noticed that BN_generate_prime() does not actually generate random primes. For instance, it will never generate a prime p of the form p=2*3*r + 1, even when the variable "safe" is false. Unfortunately, this is what I wanted to do. Basically, BN_generate_prime() makes sure that (p-1)/2 is not divisible by any small primes, even when the variable "safe" is false. Is this a bug, or an undocumented feature? If this is a bug, there is an easy fix (which I implemented to get around the problem), and if it's an undocumented feature, I guess it should be documented. -Phil ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
