Suggest randombytes_stir()
This commit is contained in:
parent
e326ef9030
commit
315029188e
@ -4,8 +4,9 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* THREAD SAFETY: randombytes_salsa20_random*() functions are
|
* THREAD SAFETY: randombytes_salsa20_random*() functions are
|
||||||
* fork()-safe but not thread-safe.
|
* not thread-safe.
|
||||||
* Always wrap them in a mutex if you need thread safety.
|
* Always wrap them in a mutex if you need thread safety,
|
||||||
|
* and call randombytes_stir() after fork()ing.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user