diff options
author | Stephane D'Alu <sdalu@sdalu.com> | 2016-02-09 00:55:35 +0100 |
---|---|---|
committer | Stephane D'Alu <sdalu@sdalu.com> | 2016-02-09 00:55:35 +0100 |
commit | d27b4471063fa4ad1e4d1717ff0c88346b43ec21 (patch) | |
tree | c9a7aee1714d988a5fd3d3a5049a399ef0ce0e96 /os/hal/src | |
parent | d9a3d8493cf1df85a7690737755e295de80e8578 (diff) | |
download | ChibiOS-Contrib-d27b4471063fa4ad1e4d1717ff0c88346b43ec21.tar.gz ChibiOS-Contrib-d27b4471063fa4ad1e4d1717ff0c88346b43ec21.tar.bz2 ChibiOS-Contrib-d27b4471063fa4ad1e4d1717ff0c88346b43ec21.zip |
cleanup
Diffstat (limited to 'os/hal/src')
-rw-r--r-- | os/hal/src/rng.c | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/os/hal/src/rng.c b/os/hal/src/rng.c index f9c3811..5ff6d2d 100644 --- a/os/hal/src/rng.c +++ b/os/hal/src/rng.c @@ -109,14 +109,13 @@ void rngStop(RNGDriver *rngp) { } /** - * @brief Performs a RNG calculation. - * @details This synchronous function performs a rng calculation operation. - * @pre In order to use this function the driver must have been configured - * without callbacks (@p end_cb = @p NULL). + * @brief Write random bytes + * @details Write the request number of bytes.. * * @param[in] rngp pointer to the @p RNGDriver object - * @param[in] n number of bytes to send * @param[in] buf the pointer to the buffer + * @param[in] n number of bytes to send + * @param[in] timeout timeout value * * @api */ @@ -129,15 +128,13 @@ msg_t rngWrite(RNGDriver *rngp, uint8_t *buf, size_t n, systime_t timeout) { } /** - * @brief Performs a RNG calculation. - * @details This synchronous function performs a rng calcuation operation. - * @pre In order to use this function the driver must have been configured - * without callbacks (@p end_cb = @p NULL). - * @post At the end of the operation the configured callback is invoked. + * @brief Write random bytes + * @details Write the request number of bytes.. * * @param[in] rngp pointer to the @p RNGDriver object - * @param[in] n number of bytes to send * @param[in] buf the pointer to the buffer + * @param[in] n number of bytes to send + * @param[in] timeout timeout value * * @iclass */ |