X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=boards%2Fstm32VLDiscovery%2Ftemplates%2Fkernel%2Fcfg%2Fcfg_md2.h;fp=boards%2Fstm32VLDiscovery%2Ftemplates%2Fkernel%2Fcfg%2Fcfg_md2.h;h=e937b900403d54301459bd1d0e6106dcdbe52d5e;hb=150b803365687c36d4ff94c65b089a4e91425a65;hp=0000000000000000000000000000000000000000;hpb=3439fb1587a2ad75977d02233e52c7b68c20a6cd;p=bertos.git diff --git a/boards/stm32VLDiscovery/templates/kernel/cfg/cfg_md2.h b/boards/stm32VLDiscovery/templates/kernel/cfg/cfg_md2.h new file mode 100644 index 00000000..e937b900 --- /dev/null +++ b/boards/stm32VLDiscovery/templates/kernel/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 */ +