shishi_randomize3
Api function
Usage
#include <shishi.h>
int shishi_randomize(Shishi * handle, int strong, void * data, size_t datalen);
Arguments
Shishi * handle
|
shishi handle as allocated by |
|---|---|
int strong
|
0 iff operation should not block, non-0 for very strong randomness. |
void * data
|
output array to be filled with random data. |
size_t datalen
|
size of output array. |
Overview
Store cryptographically random data of given size in the provided buffer.
Return value
Returns SHISHI_OK iff successful.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.