summaryrefslogtreecommitdiffstats
path: root/crypto/aes/aes_ofb.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2008-10-31 19:30:11 +0000
committerAndy Polyakov <appro@openssl.org>2008-10-31 19:30:11 +0000
commitf768be81d804d0467be4ad7163216c8381872b94 (patch)
treebcedfdc8d80fbf521deefa7f95d4aaef8f18f86c /crypto/aes/aes_ofb.c
parent91173829db3f10a5237ea28ed9e1c0c1f69cb05b (diff)
size_t-fy AES, Camellia and RC4.
Diffstat (limited to 'crypto/aes/aes_ofb.c')
-rw-r--r--crypto/aes/aes_ofb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/aes/aes_ofb.c b/crypto/aes/aes_ofb.c
index eda1e55bdf..b71c6f16f8 100644
--- a/crypto/aes/aes_ofb.c
+++ b/crypto/aes/aes_ofb.c
@@ -71,11 +71,11 @@
* 128bit block we have used is contained in *num;
*/
void AES_ofb128_encrypt(const unsigned char *in, unsigned char *out,
- unsigned long length, const AES_KEY *key,
+ size_t length, const AES_KEY *key,
unsigned char *ivec, int *num) {
unsigned int n;
- unsigned long l=0;
+ size_t l=0;
assert(in && out && key && ivec && num);