crashtest-r0ket/firmware/basic/xxtea.h

11 lines
288 B
C
Raw Normal View History

2011-07-13 23:27:54 +00:00
#ifndef _XXTEA_H_
#define _XXTEA_H_
2011-08-03 17:24:05 +00:00
#include <stdint.h>
2011-07-13 23:27:54 +00:00
2011-08-03 17:24:05 +00:00
void xxtea_cbcmac(uint32_t mac[4], uint32_t *data, uint32_t len, uint32_t const key[4]);
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