Vishwanath,
It isn't possible to do what you are wanting. RAND_METHOD replaces the
RNG everywhere. It cannot be done on a per thread process.
Pauli
On 4/4/21 9:55 pm, Vishwanath Mahajanshetty wrote:
Hi Paul,
Thanks for your response. I understand the concern for good random
numbers; bu
Vishwanath,
have you already tried to simply use the default RAND_METHOD and not to replace
it by your own? Except for the initial seeding(*), the thread local DRBGs
should operate for a long time without blocking and without interfering with
each other. Even if the thread local DRBGs reseed, t
Hi Paul,
Thanks for your response. I understand the concern for good random numbers; but
in this scenario when second thread calls SSL_CTX_new it is waiting forever in
RAND_priv_bytes(). Looks like entropy functions defined by first (bind) thread
are very specific for its own use case and can’t