1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

- Updated unsignedness in some missed cases

This commit is contained in:
Paul Bakker
2011-06-09 14:14:58 +00:00
parent cd43a0beec
commit 1ef71dffc7
4 changed files with 39 additions and 12 deletions

View File

@ -124,7 +124,7 @@ int aes_crypt_cbc( aes_context *ctx,
int aes_crypt_cfb128( aes_context *ctx,
int mode,
size_t length,
int *iv_off,
size_t *iv_off,
unsigned char iv[16],
const unsigned char *input,
unsigned char *output );
@ -147,8 +147,8 @@ int aes_crypt_cfb128( aes_context *ctx,
* \return 0 if successful
*/
int aes_crypt_ctr( aes_context *ctx,
int length,
int *nc_off,
size_t length,
size_t *nc_off,
unsigned char nonce_counter[16],
unsigned char stream_block[16],
const unsigned char *input,