drivers: entropy: Add thread safeness note
Add a note in entropy_get_entropy about thread safeness, since this is used by the random subsystem in its CSPRNG. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
37be80ddbe
commit
8be60b40b6
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ extern "C" {
|
|||
* @typedef entropy_get_entropy_t
|
||||
* @brief Callback API to get entropy.
|
||||
*
|
||||
* @note This call has to be thread safe to satisfy requirements
|
||||
* of the random subsystem.
|
||||
*
|
||||
* See entropy_get_entropy() for argument description
|
||||
*/
|
||||
typedef int (*entropy_get_entropy_t)(const struct device *dev,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue