BlinkenArea - GitList
Repositories
Blog
Wiki
mips_sys
Code
Commits
Branches
Tags
Search
Tree:
af6f67d
Branches
Tags
master
mips_sys
fw
random.h
implement basic pseudo random number generator
Stefan Schuermans
commited
af6f67d
at 2012-04-04 22:27:02
random.h
Blame
History
Raw
#ifndef RANDOM_H #define RANDOM_H /** * @brief provide entropy * @param[in] ptr pointer to buffer containing entropy * @param[in] sz size of buffer */ void random_provide_entropy(const void *ptr, unsigned int sz); /** * @brief get random data * @param[in] ptr pointer to buffer to fill with random data * @param[in] sz size of buffer to fill */ void random_get_data(void *ptr, unsigned int sz); #endif // #ifdef RANDOM_H