int shishi_randomize(Shishi * handle, int strong, void * data, size_t datalen);
- Shishi * handle
- shishi handle as allocated by shishi_init().
- 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.
DESCRIPTIONStore cryptographically random data of given size in the provided buffer.
RETURN VALUEReturns SHISHI_OK iff successful.
REPORTING BUGSReport bugs to <[email protected]>.
COPYRIGHTCopyright © 2002-2010 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.