X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fstm32-p103%2Fexamples%2Fusbmouse%2Fcfg%2Fcfg_md2.h;fp=boards%2Fstm32-p103%2Fexamples%2Fusbmouse%2Fcfg%2Fcfg_md2.h;h=e937b900403d54301459bd1d0e6106dcdbe52d5e;hb=21ee60ddc5488f5fb26da3a2cd0b9e9f33a776a3;hp=0000000000000000000000000000000000000000;hpb=b5efa6c4ecc0a6b13fa69c8fcb5cd8ed437121d1;p=bertos.git diff --git a/boards/stm32-p103/examples/usbmouse/cfg/cfg_md2.h b/boards/stm32-p103/examples/usbmouse/cfg/cfg_md2.h new file mode 100644 index 00000000..e937b900 --- /dev/null +++ b/boards/stm32-p103/examples/usbmouse/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 */ +