projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
usb-serial: fix documentation warning
[bertos.git]
/
bertos
/
algo
/
randpool.h
diff --git
a/bertos/algo/randpool.h
b/bertos/algo/randpool.h
index 317ebe7435dc7d7c4958d84d68b6b52277c9ec44..fbfdaaa6489e7b987b2266f33d5799470d4a322b 100644
(file)
--- 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 <asterix@develer.com>
* \author Daniele Basile <asterix@develer.com>
+ *
+ * $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
*/
#ifndef ALGO_RANDPOOL_H
#define ALGO_RANDPOOL_H
+#include "cfg/cfg_randpool.h"
#include <cfg/compiler.h>
#include <cfg/compiler.h>
-#include <appconfig.h>
/**
/**
@@
-50,8
+53,8
@@
typedef struct EntropyPool
{
size_t entropy; ///< Actual value of entropy (byte).
typedef struct EntropyPool
{
size_t entropy; ///< Actual value of entropy (byte).
- size_t pos_add; ///< Number of byte
id
d in entropy pool.
- size_t pos_get; ///< Number of byte g
e
t in entropy pool.
+ size_t pos_add; ///< Number of byte
adde
d in entropy pool.
+ size_t pos_get; ///< Number of byte g
o
t in entropy pool.
size_t counter; ///< Counter.
#if CONFIG_RANDPOOL_TIMER
size_t counter; ///< Counter.
#if CONFIG_RANDPOOL_TIMER