summaryrefslogtreecommitdiffstats
path: root/crypto/camellia/cmll_cbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/camellia/cmll_cbc.c')
-rw-r--r--crypto/camellia/cmll_cbc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/camellia/cmll_cbc.c b/crypto/camellia/cmll_cbc.c
index 545e6c1f41..421c33127b 100644
--- a/crypto/camellia/cmll_cbc.c
+++ b/crypto/camellia/cmll_cbc.c
@@ -60,12 +60,11 @@
#include <openssl/camellia.h>
#include "cmll_locl.h"
void Camellia_cbc_encrypt(const unsigned char *in, unsigned char *out,
- const unsigned long length, const CAMELLIA_KEY *key,
+ size_t len, const CAMELLIA_KEY *key,
unsigned char *ivec, const int enc)
{
- unsigned long n;
- unsigned long len = length;
+ size_t n;
unsigned char tmp[CAMELLIA_BLOCK_SIZE];
const unsigned char *iv = ivec;