Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

dont referer python types

  • Loading branch information...
commit c7405eadca41aeaa60a2eb3110ecf0246a719bd8 1 parent 8c8e6cb
Ilya Petrov authored
Showing with 2 additions and 3 deletions.
  1. +1 −1  epycs/aesmodule.c
  2. +1 −2  epycs/rijndael.h
2  epycs/aesmodule.c
View
@@ -5,7 +5,7 @@
typedef struct {
PyObject_HEAD
- PY_UINT32_T ks[60];
+ u32 ks[60];
} PyAES_context;
3  epycs/rijndael.h
View
@@ -1,9 +1,8 @@
-#include <Python.h>
#ifndef __RIJNDAEL_H_
#define __RIJNDAEL_H_
#ifndef u32
- #define u32 PY_UINT32_T
+ #define u32 unsigned int
#endif
void aes_256_setkey (const void * const key, u32 * ks);
Please sign in to comment.
Something went wrong with that request. Please try again.