- Modified XTEA to use uint32_t instead of unsigned long

This commit is contained in:
Paul Bakker 2009-05-03 12:54:07 +00:00
parent c500bb7c43
commit 0fdf3cacf2
2 changed files with 23 additions and 14 deletions

View file

@ -20,6 +20,8 @@
#ifndef POLARSSL_XTEA_H
#define POLARSSL_XTEA_H
#include <inttypes.h>
#define XTEA_ENCRYPT 1
#define XTEA_DECRYPT 0
@ -29,7 +31,7 @@
*/
typedef struct
{
unsigned long k[4]; /*!< key */
uint32_t k[4]; /*!< key */
}
xtea_context;