- 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

@ -137,7 +137,7 @@ camellia_encrypt_cfb128:hex_key_string:hex_iv_string:hex_src_string:hex_dst_stri
unsigned char dst_str[100];
unsigned char output[100];
camellia_context ctx;
int iv_offset = 0;
size_t iv_offset = 0;
int key_len;
memset(key_str, 0x00, 100);
@ -167,7 +167,7 @@ camellia_decrypt_cfb128:hex_key_string:hex_iv_string:hex_src_string:hex_dst_stri
unsigned char dst_str[100];
unsigned char output[100];
camellia_context ctx;
int iv_offset = 0;
size_t iv_offset = 0;
int key_len;
memset(key_str, 0x00, 100);