1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-24 12:36:01 -07:00

Suggest randombytes_stir()

This commit is contained in:
Frank Denis 2015-06-01 10:22:01 +02:00
parent e326ef9030
commit 315029188e

View File

@ -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>