00001 00010 #ifndef SOSSE_TEA_H 00011 #define SOSSE_TEA_H 00012 00013 #include <types.h> 00014 00015 #define TEA_KEY_LEN 16 00016 #define TEA_BLOCK_LEN 8 00017 00018 #define DELTA 0x9E3779B9 00019 #define ROUNDS 32 00020 00021 00029 void tea_enc( iu32 *v, iu32 *k ); 00030 00039 void tea_dec( iu32 *v, iu32 *k ); 00040 00041 #endif /* SOSSE_TEA_H */ 00042