X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Falgo%2Frandpool.h;h=fbfdaaa6489e7b987b2266f33d5799470d4a322b;hb=442fdad4adb197550693c24747493799ae293aea;hp=317ebe7435dc7d7c4958d84d68b6b52277c9ec44;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/algo/randpool.h b/bertos/algo/randpool.h index 317ebe74..fbfdaaa6 100644 --- a/bertos/algo/randpool.h +++ b/bertos/algo/randpool.h @@ -30,18 +30,21 @@ * * --> * - * \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 +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