Add EntrPool struct. Typos.
[bertos.git] / algos / randpool.c
1 /**
2  * \file
3  * <!--
4  * Copyright 2007 Develer S.r.l. (http://www.develer.com/)
5  * This file is part of DevLib - See README.devlib for information.
6  * -->
7  *
8  * \brief API function for to manage entropy pool.
9  *
10  * \version $Id$
11  * \author Daniele Basile <asterix@develer.com>
12  */
13
14 /*#*
15  *#* $Log$
16  *#* Revision 1.2  2007/02/08 11:53:03  asterix
17  *#* Add EntrPool struct. Typos.
18  *#*
19  *#*/
20
21 #include "randpool.h"
22 #include "md2.h"
23
24 #include <cfg/compiler.h>
25 #include <cfg/debug.h>        //ASSERT()
26
27 static void stir(EntrPool *pool)
28 {
29 }
30
31 void init_pool(EntrPool *pool);
32 {
33 }
34
35 void add_data(EntrPool *pool, void *data, size_t n_bit);
36 {
37 }
38
39 size_t pool_size(EntrPool *pool);
40 {
41 }
42
43 void get_bit(EntrPool *pool, void *data, size_t n_bit);
44 {
45 }
46
47 void get_bit_n(EntrPool *pool, void *data, size_t n_bit);
48 {
49 }
50
51 bool save_pool(void *data);
52 {
53 }
54
55 uint8_t *load_pool(void);
56 {
57 }
58