tea.h File Reference
TEA Tiny Encription Algorith functions. More...
#include <cfg/compiler.h>Go to the source code of this file.
Defines | |
| #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. | |
Functions | |
| void | tea_enc (void *_v, void *_k) |
| TEA encryption function. | |
| void | tea_dec (void *_v, void *_k) |
| TEA decryption function. | |
Detailed Description
TEA Tiny Encription Algorith functions.
Documentation for TEA is available at http://www.cl.cam.ac.uk/ftp/users/djw3/tea.ps.
- Version:
- Id
- tea.h 2506 2009-04-15 08:29:07Z duplo
Definition in file tea.h.
Function Documentation
| void tea_dec | ( | void * | _v, | |
| void * | _k | |||
| ) |
