diff options
author | Dwayne Litzenberger <dlitz@dlitz.net> | 2013-02-21 00:45:27 -0800 |
---|---|---|
committer | Dwayne Litzenberger <dlitz@dlitz.net> | 2013-04-21 20:41:18 -0700 |
commit | 1dd8353cc490f954677285415ec01e253f84b93d (patch) | |
tree | 485b17eeaad2f25b85f5491a47d0224047ce9137 /src/AES.c | |
parent | 076560be889ef220c8fb10dd68635468939345ab (diff) | |
download | pycrypto-1dd8353cc490f954677285415ec01e253f84b93d.tar.gz |
Add pycrypto_common.h and clean up a bunch of miscellaneous includes & typedefs
Diffstat (limited to 'src/AES.c')
-rw-r--r-- | src/AES.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -24,7 +24,7 @@ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "Python.h" +#include "pycrypto_common.h" #include <assert.h> #include <stdlib.h> @@ -36,9 +36,9 @@ #define MAXKB (256/8) #define MAXNR 14 -typedef unsigned char u8; -typedef unsigned short u16; -typedef unsigned int u32; +typedef uint8_t u8; +typedef uint16_t u16; +typedef uint32_t u32; typedef struct { u32 ek[ 4*(MAXNR+1) ]; |