diff options
Diffstat (limited to 'src/common/aes.h')
-rw-r--r-- | src/common/aes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/aes.h b/src/common/aes.h index 4afed2314d..44e8b00910 100644 --- a/src/common/aes.h +++ b/src/common/aes.h @@ -21,8 +21,8 @@ typedef struct aes_cnt_cipher aes_cnt_cipher_t; aes_cnt_cipher_t* aes_new_cipher(void); void aes_free_cipher(aes_cnt_cipher_t *cipher); -void aes_set_key(aes_cnt_cipher_t *cipher, const unsigned char *key, int key_bits); -void aes_crypt(aes_cnt_cipher_t *cipher, const char *input, int len, char *output); +void aes_set_key(aes_cnt_cipher_t *cipher, const char *key, int key_bits); +void aes_crypt(aes_cnt_cipher_t *cipher, const char *input, size_t len, char *output); uint64_t aes_get_counter(aes_cnt_cipher_t *cipher); void aes_set_counter(aes_cnt_cipher_t *cipher, uint64_t counter); void aes_adjust_counter(aes_cnt_cipher_t *cipher, long delta); |