- Moved from unsigned long to uint32_t throughout code
diff --git a/library/padlock.c b/library/padlock.c
index 2e2e477..a7b4c0c 100644
--- a/library/padlock.c
+++ b/library/padlock.c
@@ -77,9 +77,9 @@
unsigned char output[16] )
{
int ebx;
- unsigned long *rk;
- unsigned long *blk;
- unsigned long *ctrl;
+ uint32_t *rk;
+ uint32_t *blk;
+ uint32_t *ctrl;
unsigned char buf[256];
rk = ctx->rk;
@@ -119,9 +119,9 @@
{
int ebx;
size_t count;
- unsigned long *rk;
- unsigned long *iw;
- unsigned long *ctrl;
+ uint32_t *rk;
+ uint32_t *iw;
+ uint32_t *ctrl;
unsigned char buf[256];
if( ( (long) input & 15 ) != 0 ||