X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fat91sam7x-ek%2Ftemplates%2Fempty%2Fcfg%2Fcfg_md2.h;fp=boards%2Fat91sam7x-ek%2Ftemplates%2Fempty%2Fcfg%2Fcfg_md2.h;h=22ec7dbebecdc7e266c3545b3bd17a50f111437d;hb=f9a25ad23c62b2d7095fb584d6658dfd326b28c2;hp=0000000000000000000000000000000000000000;hpb=36a3eba04310d9f2d255fc5a5f0383c6b7d542d9;p=bertos.git diff --git a/boards/at91sam7x-ek/templates/empty/cfg/cfg_md2.h b/boards/at91sam7x-ek/templates/empty/cfg/cfg_md2.h new file mode 100644 index 00000000..22ec7dbe --- /dev/null +++ b/boards/at91sam7x-ek/templates/empty/cfg/cfg_md2.h @@ -0,0 +1,54 @@ +/** + * \file + * + * + * \brief Configuration file for MD2 module. + * + * \version $Id$ + * + * \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 */ +