| Index: srtp/crypto/include/aes_icm.h
|
| diff --git a/srtp/crypto/include/aes_icm.h b/srtp/crypto/include/aes_icm.h
|
| index 6b4aea69980e39a758b0bb55f1374de82b95747f..1a2fd82c4e04a14d2429a4c7c366dc8534d9ca7e 100644
|
| --- a/srtp/crypto/include/aes_icm.h
|
| +++ b/srtp/crypto/include/aes_icm.h
|
| @@ -7,6 +7,7 @@
|
| * Cisco Systems, Inc.
|
| *
|
| */
|
| +
|
| /*
|
| *
|
| * Copyright (c) 2001-2006, Cisco Systems, Inc.
|
| @@ -64,7 +65,7 @@ aes_icm_context_init(aes_icm_ctx_t *c,
|
| int key_len);
|
|
|
| err_status_t
|
| -aes_icm_set_iv(aes_icm_ctx_t *c, void *iv);
|
| +aes_icm_set_iv(aes_icm_ctx_t *c, void *iv, int direction);
|
|
|
| err_status_t
|
| aes_icm_encrypt(aes_icm_ctx_t *c,
|
| @@ -72,7 +73,7 @@ aes_icm_encrypt(aes_icm_ctx_t *c,
|
|
|
| err_status_t
|
| aes_icm_output(aes_icm_ctx_t *c,
|
| - unsigned char *buf, int bytes_to_output);
|
| + unsigned char *buf, unsigned int bytes_to_output);
|
|
|
| err_status_t
|
| aes_icm_dealloc(cipher_t *c);
|
| @@ -88,5 +89,8 @@ aes_icm_alloc_ismacryp(cipher_t **c,
|
| int key_len,
|
| int forIsmacryp);
|
|
|
| +uint16_t
|
| +aes_icm_bytes_encrypted(aes_icm_ctx_t *c);
|
| +
|
| #endif /* AES_ICM_H */
|
|
|
|
|