summaryrefslogtreecommitdiff
path: root/src/AES.c
diff options
context:
space:
mode:
authorDwayne Litzenberger <dlitz@dlitz.net>2013-02-21 00:45:27 -0800
committerDwayne Litzenberger <dlitz@dlitz.net>2013-04-21 20:41:18 -0700
commit1dd8353cc490f954677285415ec01e253f84b93d (patch)
tree485b17eeaad2f25b85f5491a47d0224047ce9137 /src/AES.c
parent076560be889ef220c8fb10dd68635468939345ab (diff)
downloadpycrypto-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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/AES.c b/src/AES.c
index 9b125e2..5da189f 100644
--- a/src/AES.c
+++ b/src/AES.c
@@ -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) ];