X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=examples%2Flpc2378%2Fcfg%2Fcfg_randpool.h;fp=examples%2Flpc2378%2Fcfg%2Fcfg_randpool.h;h=4eb099e9b868851e0c85cbdb33b61cec90396a4a;hb=ab067bd420a6e48b25d66444d97ee229b48bcb23;hp=0000000000000000000000000000000000000000;hpb=8284fb65c8c8f9fd233da33fd08f1f81b64cb94b;p=bertos.git diff --git a/examples/lpc2378/cfg/cfg_randpool.h b/examples/lpc2378/cfg/cfg_randpool.h new file mode 100644 index 00000000..4eb099e9 --- /dev/null +++ b/examples/lpc2378/cfg/cfg_randpool.h @@ -0,0 +1,56 @@ +/** + * \file + * + * + * \brief Configuration file for randpool module. + * + * \version $Id: cfg_randpool.h 2950 2009-09-16 10:08:31Z asterix $ + * + * \author Daniele Basile + */ + +#ifndef CFG_RANDPOOL_H +#define CFG_RANDPOOL_H + + +/** + * Define a size, in byte, of entropy pool. + * $WIZ$ type = "int" + * $WIZ$ min = 1 + */ +#define CONFIG_SIZE_ENTROPY_POOL 64 + +/// Enable timer in randpool algo. $WIZ$ type = "boolean" +#define CONFIG_RANDPOOL_TIMER 1 + +#endif /* CFG_RANDPOOL_H */ + +