From 8f62acd65326f96675c8781f38eedc94fdbbaa45 Mon Sep 17 00:00:00 2001 From: asterix Date: Fri, 6 Feb 2009 18:11:54 +0000 Subject: [PATCH] Add wizard info. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2322 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/algo/crc.h | 8 +++++++- bertos/algo/md2.h | 8 +++++++- bertos/algo/rle.h | 8 +++++++- bertos/algo/rotating_hash.h | 6 ++++++ bertos/algo/tea.h | 12 +++++++++--- bertos/cfg/cfg_md2.h | 4 ++-- 6 files changed, 38 insertions(+), 8 deletions(-) diff --git a/bertos/algo/crc.h b/bertos/algo/crc.h index bc442b7e..51ce4dd0 100644 --- a/bertos/algo/crc.h +++ b/bertos/algo/crc.h @@ -31,7 +31,7 @@ * * --> * - * \brief XModem-CRC16 algorithm (interface) + * \brief Cyclic Redundancy Check 16 (CRC). * * \note This algorithm is incompatible with the CCITT-CRC16. * @@ -45,6 +45,12 @@ * * \version $Id$ * \author Bernie Innocenti + * + * $WIZARD_MODULE = { + * "name" : "crc16", + * "depends" : [], + * "configuration" : "" + * } */ #ifndef ALGO_CRC_H diff --git a/bertos/algo/md2.h b/bertos/algo/md2.h index 51be8488..bce2947c 100644 --- a/bertos/algo/md2.h +++ b/bertos/algo/md2.h @@ -41,6 +41,12 @@ * * \version $Id$ * \author Daniele Basile + * + * $WIZARD_MODULE = { + * "name" : "md2", + * "depends" : [], + * "configuration" : "bertos/cfg/cfg_md2.h" + * } */ #ifndef ALGO_MD2_H @@ -49,7 +55,7 @@ #include "cfg/cfg_md2.h" #include -#define NUM_COMPUTE_ROUNDS 18 ///< Number of compute rounds. +#define NUM_COMPUTE_ROUNDS 18 ///< Number of compute rounds. #define COMPUTE_ARRAY_LEN CONFIG_MD2_BLOCK_LEN * 3 ///< Lenght of compute array. #define MD2_DIGEST_LEN CONFIG_MD2_BLOCK_LEN /** diff --git a/bertos/algo/rle.h b/bertos/algo/rle.h index 6e056d22..382f9079 100644 --- a/bertos/algo/rle.h +++ b/bertos/algo/rle.h @@ -31,10 +31,16 @@ * * --> * + * \brief General-purpose run-length {en,de}coding algorithm. + * * \version $Id$ * \author Bernie Innocenti * - * \brief General-purpose run-length {en,de}coding algorithm (interface) + * $WIZARD_MODULE = { + * "name" : "rle", + * "depends" : [], + * "configuration" : "" + * } */ #ifndef RLE_H #define RLE_H diff --git a/bertos/algo/rotating_hash.h b/bertos/algo/rotating_hash.h index c154af1d..c0d3d9b5 100644 --- a/bertos/algo/rotating_hash.h +++ b/bertos/algo/rotating_hash.h @@ -40,6 +40,12 @@ * \version $Id$ * * \author Francesco Sacchi + * + * $WIZARD_MODULE = { + * "name" : "rotating_hash", + * "depends" : [], + * "configuration" : "" + * } */ diff --git a/bertos/algo/tea.h b/bertos/algo/tea.h index 97318012..72ea01f0 100644 --- a/bertos/algo/tea.h +++ b/bertos/algo/tea.h @@ -30,13 +30,19 @@ * * --> * - * \brief TEA Tiny Encription Algorith functions (interface). + * \brief TEA Tiny Encription Algorith functions. + * + * Documentation for TEA is available at + * http://www.cl.cam.ac.uk/ftp/users/djw3/tea.ps. * * \version $Id$ * \author Francesco Sacchi * - * Documentation for TEA is available at - * http://www.cl.cam.ac.uk/ftp/users/djw3/tea.ps. + * $WIZARD_MODULE = { + * "name" : "tea", + * "depends" : [], + * "configuration" : "" + * } */ #ifndef ALGO_TEA_H diff --git a/bertos/cfg/cfg_md2.h b/bertos/cfg/cfg_md2.h index be427ec7..3f891617 100644 --- a/bertos/cfg/cfg_md2.h +++ b/bertos/cfg/cfg_md2.h @@ -40,10 +40,10 @@ #ifndef CFG_MD2_H #define CFG_MD2_H -/// Size of block for MD2 algorithm. +/// Size of block for MD2 algorithm. $WIZARD = { "type" : "int", "min" : "0" } #define CONFIG_MD2_BLOCK_LEN 16 -/// Use standard permutation in MD2 algorithm. +/// Use standard permutation in MD2 algorithm. $WIZARD = { "type" : "boolean" } #define CONFIG_MD2_STD_PERM 0 #endif /* CFG_MD2_H */ -- 2.25.1