tea.h File Reference
TEA Tiny Encription Algorith functions (interface). 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 (interface).
- Version:
- Id
- tea.h 1202 2008-03-20 14:40:42Z asterix
Definition in file tea.h.
Function Documentation
| void tea_dec | ( | void * | _v, | |
| void * | _k | |||
| ) |
| void tea_enc | ( | void * | _v, | |
| void * | _k | |||
| ) |
