Merge branch 'master' of github.com:r0ket/r0ket

This commit is contained in:
Stefan `Sec` Zehl 2011-08-03 19:25:15 +02:00
commit c241ad30f5
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#ifndef _RANDOM_H_ #ifndef _RANDOM_H_
#define _RANDOM_H_ #define _RANDOM_H_
#include <stdint.h>
void randomInit(void); void randomInit(void);
uint32_t getRandom(void); uint32_t getRandom(void);

View File

@ -1,8 +1,8 @@
#ifndef _XXTEA_H_ #ifndef _XXTEA_H_
#define _XXTEA_H_ #define _XXTEA_H_
#include <stdint.h>
void xxtea_cbcmac(uint32_t mac[4], uint32_t *data, void xxtea_cbcmac(uint32_t mac[4], uint32_t *data, uint32_t len, uint32_t const key[4]);
uint32_t len, uint32_t const key[4]);
void xxtea_encode_words(uint32_t *v, int n, uint32_t const k[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]); void xxtea_decode_words(uint32_t *v, int n, uint32_t const k[4]);