mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-24 20:45:17 -07:00
Suggest randombytes_stir()
This commit is contained in:
parent
e326ef9030
commit
315029188e
@ -4,8 +4,9 @@
|
||||
|
||||
/*
|
||||
* THREAD SAFETY: randombytes_salsa20_random*() functions are
|
||||
* fork()-safe but not thread-safe.
|
||||
* Always wrap them in a mutex if you need thread safety.
|
||||
* not thread-safe.
|
||||
* Always wrap them in a mutex if you need thread safety,
|
||||
* and call randombytes_stir() after fork()ing.
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
|
Loading…
Reference in New Issue
Block a user