diff options
Diffstat (limited to 'crypto/modes/ctr128.c')
-rw-r--r-- | crypto/modes/ctr128.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/modes/ctr128.c b/crypto/modes/ctr128.c index db79c76d39..bd84f41528 100644 --- a/crypto/modes/ctr128.c +++ b/crypto/modes/ctr128.c @@ -48,7 +48,7 @@ * */ -#include <stddef.h> +#include "modes.h" #include <string.h> #ifndef MODES_DEBUG @@ -58,8 +58,6 @@ #endif #include <assert.h> -#include "modes.h" - typedef unsigned int u32; typedef unsigned char u8; @@ -128,7 +126,7 @@ static void ctr128_inc_aligned(unsigned char *counter) { void CRYPTO_ctr128_encrypt(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], unsigned char ecount_buf[16], - unsigned int *num, block_f block) + unsigned int *num, block128_f block) { unsigned int n; size_t l=0; |