Skip to content
Snippets Groups Projects
Commit 0b59372e authored by Martine Lenders's avatar Martine Lenders
Browse files

at86rf2xx: document operation mode concerns for

parent 9b63d5c2
No related branches found
No related tags found
No related merge requests found
...@@ -163,10 +163,18 @@ void at86rf2xx_hardware_reset(at86rf2xx_t *dev); ...@@ -163,10 +163,18 @@ void at86rf2xx_hardware_reset(at86rf2xx_t *dev);
*/ */
void at86rf2xx_configure_phy(at86rf2xx_t *dev); void at86rf2xx_configure_phy(at86rf2xx_t *dev);
#if defined MODULE_AT86RF233 || defined MODULE_AT86RF231 #if defined(MODULE_AT86RF233) || defined(MODULE_AT86RF231) || defined(DOXYGEN)
/** /**
* @brief Read random data from the RNG * @brief Read random data from the RNG
* *
* @note According to the data sheet this function only works properly in
* Basic Operation Mode. However, sporadic testing has shown that even
* in Extended Operation Mode this returns random enough data to be
* used as a seed for @ref sys_random if no cryptographically secure
* randomness is required.
* Any further use-case needs to be evaluated, especially if
* crypto-relevant randomness is required.
*
* @param[in] dev device to configure * @param[in] dev device to configure
* @param[out] data buffer to copy the random data to * @param[out] data buffer to copy the random data to
* @param[in] len number of random bytes to store in data * @param[in] len number of random bytes to store in data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment