tech-kern archive

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

question about /src/sys/kern/subr_cprng.c 1.15



Hi,

just read about this on the news and have a question about
abovementioned diff: in the call to cprng_entropy_try from
cprng_strong_create, shouldn't the parameter 'hard' be false unless
CPRNG_INIT_ANY is specified? The original code as well as the call
from cprng_strong would suggest that RNG_EXTRACT_ANY is only to be
used when the corresponding _ANY flag is present.

Sorry, no diff as I don't have a tree handy...

Joachim


Home | Main Index | Thread Index | Old Index