mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Better make length a long long int in aes_crypt_cbc just in case.
This commit is contained in:
parent
7e71d8689f
commit
b302e6b9ad
2
aes.c
2
aes.c
|
|
@ -754,7 +754,7 @@ int aes_crypt_ecb( aes_context *ctx,
|
||||||
*/
|
*/
|
||||||
int aes_crypt_cbc( aes_context *ctx,
|
int aes_crypt_cbc( aes_context *ctx,
|
||||||
int mode,
|
int mode,
|
||||||
int length,
|
long long int length,
|
||||||
unsigned char iv[16],
|
unsigned char iv[16],
|
||||||
const unsigned char *input,
|
const unsigned char *input,
|
||||||
unsigned char *output )
|
unsigned char *output )
|
||||||
|
|
|
||||||
2
aes.h
2
aes.h
|
|
@ -100,7 +100,7 @@ int aes_crypt_ecb( aes_context *ctx,
|
||||||
*/
|
*/
|
||||||
int aes_crypt_cbc( aes_context *ctx,
|
int aes_crypt_cbc( aes_context *ctx,
|
||||||
int mode,
|
int mode,
|
||||||
int length,
|
long long int length,
|
||||||
unsigned char iv[16],
|
unsigned char iv[16],
|
||||||
const unsigned char *input,
|
const unsigned char *input,
|
||||||
unsigned char *output );
|
unsigned char *output );
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue