X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Flpc-p2378%2Fbenchmark%2Flpc-p2378_kernel_footprint%2Fcfg%2Fcfg_md2.h;fp=boards%2Flpc-p2378%2Fbenchmark%2Flpc-p2378_kernel_footprint%2Fcfg%2Fcfg_md2.h;h=e937b900403d54301459bd1d0e6106dcdbe52d5e;hb=07f2ec61153abb9d9e202ddc559e2afacbd5ffde;hp=0000000000000000000000000000000000000000;hpb=68df9972522265438741cc7bfb1d6963037f9644;p=bertos.git diff --git a/boards/lpc-p2378/benchmark/lpc-p2378_kernel_footprint/cfg/cfg_md2.h b/boards/lpc-p2378/benchmark/lpc-p2378_kernel_footprint/cfg/cfg_md2.h new file mode 100644 index 00000000..e937b900 --- /dev/null +++ b/boards/lpc-p2378/benchmark/lpc-p2378_kernel_footprint/cfg/cfg_md2.h @@ -0,0 +1,53 @@ +/** + * \file + * + * + * \brief Configuration file for MD2 module. + * + * + * \author Daniele Basile + */ + +#ifndef CFG_MD2_H +#define CFG_MD2_H + +/** + * Size of block for MD2 algorithm. + * $WIZ$ type = "int" + * $WIZ$ min = 2 + */ +#define CONFIG_MD2_BLOCK_LEN 16 + +/// Use standard permutation in MD2 algorithm. $WIZ$ type = "boolean" +#define CONFIG_MD2_STD_PERM 0 + +#endif /* CFG_MD2_H */ +