X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Falgo%2Frandpool.h;h=b3e678cb09115997ebb8055a1ebea548f23ada93;hb=d34c4c92b4d64258077e1caeb0723db404ae9951;hp=317ebe7435dc7d7c4958d84d68b6b52277c9ec44;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/algo/randpool.h b/bertos/algo/randpool.h index 317ebe74..b3e678cb 100644 --- a/bertos/algo/randpool.h +++ b/bertos/algo/randpool.h @@ -30,18 +30,22 @@ * * --> * - * \brief API function for to manage entropy pool. + * \brief Collection of functions to manage entropy pool. * * * \version $Id$ * \author Daniele Basile + * + * $WIZ$ module_name = "randpool" + * $WIZ$ module_depends = "timer", "sprintf" + * $WIZ$ module_configuration = "bertos/cfg/cfg_randpool.h" */ #ifndef ALGO_RANDPOOL_H #define ALGO_RANDPOOL_H +#include "cfg/cfg_randpool.h" #include -#include /** @@ -50,8 +54,8 @@ typedef struct EntropyPool { size_t entropy; ///< Actual value of entropy (byte). - size_t pos_add; ///< Number of byte idd in entropy pool. - size_t pos_get; ///< Number of byte get in entropy pool. + size_t pos_add; ///< Number of byte added in entropy pool. + size_t pos_get; ///< Number of byte got in entropy pool. size_t counter; ///< Counter. #if CONFIG_RANDPOOL_TIMER