X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Falgo%2Frandpool.h;h=fbfdaaa6489e7b987b2266f33d5799470d4a322b;hb=15810459b8f5fb09b12cef6f8e4d4e64d167087b;hp=fd0a96fd8d7c4e56db3d750f0346338949d93967;hpb=d62963b4a64efe8d2917f489fefaf586a9a99126;p=bertos.git diff --git a/bertos/algo/randpool.h b/bertos/algo/randpool.h index fd0a96fd..fbfdaaa6 100644 --- a/bertos/algo/randpool.h +++ b/bertos/algo/randpool.h @@ -30,17 +30,20 @@ * * --> * - * \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 +#include "cfg/cfg_randpool.h" #include @@ -50,8 +53,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