123456789101112 |
- #ifndef __XXTEA_H__
- #define __XXTEA_H__
- typedef unsigned int xxtea_uint;
- unsigned char* xxtea_encrypt(unsigned char *data, xxtea_uint data_len, unsigned char *key, xxtea_uint key_len, xxtea_uint *ret_length);
- unsigned char* xxtea_decrypt(unsigned char *data, xxtea_uint data_len, unsigned char *key, xxtea_uint key_len, xxtea_uint *ret_length);
- void xxtea_uint_encrypt(xxtea_uint *v, xxtea_uint len, xxtea_uint *k);
- void xxtea_uint_decrypt(xxtea_uint *v, xxtea_uint len, xxtea_uint *k);
- #endif
|