X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fat91sam7x-ek%2Fbenchmark%2Fcontext_switch%2Fcfg%2Fcfg_md2.h;fp=boards%2Fat91sam7x-ek%2Fbenchmark%2Fcontext_switch%2Fcfg%2Fcfg_md2.h;h=22ec7dbebecdc7e266c3545b3bd17a50f111437d;hb=6542f8a6e9ce3289832a90b5f2518e05347b464b;hp=0000000000000000000000000000000000000000;hpb=660d3a3e0f7129ed821a2ba44473254eaea728ce;p=bertos.git diff --git a/boards/at91sam7x-ek/benchmark/context_switch/cfg/cfg_md2.h b/boards/at91sam7x-ek/benchmark/context_switch/cfg/cfg_md2.h new file mode 100644 index 00000000..22ec7dbe --- /dev/null +++ b/boards/at91sam7x-ek/benchmark/context_switch/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 */ +