We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#elif defined(native_client) #include <nacl/nacl_random.h>
void init_random(void) { return; }
void read_random(void *buf, size_t size) { size_t position; size_t n;
position = 0; while (position < size) { if (nacl_secure_random((char *)buf + position, size - position, &n) == 0) position += n; } } // <---here return;
}
The text was updated successfully, but these errors were encountered:
308006e
No branches or pull requests
#elif defined(native_client)
#include <nacl/nacl_random.h>
void
init_random(void)
{
return;
}
void
read_random(void *buf, size_t size)
{
size_t position;
size_t n;
}
The text was updated successfully, but these errors were encountered: