X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=algo%2Ftea.h;h=712a4ea9ca2fcd331bbb99b690ad0474f27f3f02;hb=HEAD;hp=6e4f935a81ae71452542822349bfc7afb94f49e2;hpb=35ae4275d8730a376ca61a92f08fb447eb2935b3;p=bertos.git diff --git a/algo/tea.h b/algo/tea.h deleted file mode 100644 index 6e4f935a..00000000 --- a/algo/tea.h +++ /dev/null @@ -1,57 +0,0 @@ -/** - * \file - * - * - * \brief TEA Tiny Encription Algorith functions (interface). - * - * \version $Id$ - * \author Francesco Sacchi - * - * Documentation for TEA is available at - * http://www.cl.cam.ac.uk/ftp/users/djw3/tea.ps. - */ - -#ifndef ALGOS_TEA_H -#define ALGOS_TEA_H - -#include - -#define TEA_KEY_LEN 16 //!< TEA key size. -#define TEA_BLOCK_LEN 8 //!< TEA block length. - -#define DELTA 0x9E3779B9 //!< Magic value. (Golden number * 2^31) -#define ROUNDS 32 //!< Number of rounds. - -void tea_enc(void *_v, void *_k); -void tea_dec(void *_v, void *_k); - -#endif /* ALGOS_TEA_H */ -