2011-07-13 23:27:54 +00:00
|
|
|
#ifndef _XXTEA_H_
|
|
|
|
#define _XXTEA_H_
|
|
|
|
|
2011-07-18 23:21:05 +00:00
|
|
|
void xxtea_cbcmac(uint32_t mac[4], uint32_t *data,
|
|
|
|
uint32_t len, uint32_t const key[4]);
|
2011-07-14 00:16:57 +00:00
|
|
|
void xxtea_encode_words(uint32_t *v, int n, uint32_t const k[4]);
|
|
|
|
void xxtea_decode_words(uint32_t *v, int n, uint32_t const k[4]);
|
2011-07-13 23:27:54 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|