ROOT-Sim core  3.0.0-rc.2
A General-Purpose Multi-threaded Parallel/Distributed Simulation Library
xxtea.h
Go to the documentation of this file.
1 
11 #pragma once
12 
13 #include <stdint.h>
14 
15 extern void xxtea_encode(uint32_t *restrict v, unsigned n, uint32_t const key[restrict 4]);
16 extern void xxtea_decode(uint32_t *restrict v, unsigned n, uint32_t const key[restrict 4]);
void xxtea_decode(uint32_t *restrict v, unsigned n, uint32_t const key[restrict 4])
Decode a array of data with the XXTEA algorithm Decoding is done in place.
Definition: xxtea.c:65
void xxtea_encode(uint32_t *restrict v, unsigned n, uint32_t const key[restrict 4])
Encode a array of data with the XXTEA algorithm Encoding is done in place.
Definition: xxtea.c:41