sue with FIPS PRNG in multi-threaded program under Linux
Dmitriy Khodos wrote:
> The function fails if the PID does not match. However,
> since PID is obtained by calling getpid(2), under Linux it is going to be
> different in different threads.
It depends which version of Linux you are
Dmitriy Khodos wrote:
The function fails if the PID does not match. However,
since PID is obtained by calling getpid(2), under Linux it is going to be
different in different threads.
It depends which version of Linux you are running and which thread
implementation you have at runtime. The cu
Hello. There appears to be an issue with the FIPS-approved version of PRNG.
Specifically, fips_rand_bytes(), which is the RAND_bytes() for the FIPS rand
method, checks whether the "key pid" and the "seed pid" (both are static
variables set by FIPS_set_prng_key() and FIPS_rand_seed() respectively)
m