commit | 0fdf3cacf22361e724ee3c2adbcfa026bd7ae561 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Sun May 03 12:54:07 2009 +0000 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Sun May 03 12:54:07 2009 +0000 |
tree | e3bf69cf69f51a42f602355e65acb0e3912aee3e | |
parent | c500bb7c43e0f5cd79270f133eaf3133239dbc98 [diff] [blame] |
- Modified XTEA to use uint32_t instead of unsigned long
diff --git a/include/polarssl/xtea.h b/include/polarssl/xtea.h index 770ecc2..45f7547 100644 --- a/include/polarssl/xtea.h +++ b/include/polarssl/xtea.h
@@ -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;