Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: srtp/crypto/include/aes_icm.h

Issue 889083003: Update libsrtp to upstream 1.5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libsrtp@master
Patch Set: Updated to libsrtp 1.5.1 Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « srtp/crypto/include/aes_gcm_ossl.h ('k') | srtp/crypto/include/aes_icm_ossl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 */
« no previous file with comments | « srtp/crypto/include/aes_gcm_ossl.h ('k') | srtp/crypto/include/aes_icm_ossl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698