X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=algo%2Ftea.h;h=712a4ea9ca2fcd331bbb99b690ad0474f27f3f02;hb=HEAD;hp=9731801233389a7b302c0fae3ed85dea6c4b0005;hpb=6efccabd909ecee0607e10c57bb5e64162a19eb7;p=bertos.git diff --git a/algo/tea.h b/algo/tea.h deleted file mode 100644 index 97318012..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 ALGO_TEA_H -#define ALGO_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 /* ALGO_TEA_H */ -