summaryrefslogtreecommitdiffstats
path: root/thirdparties/android/common/include/srtp/aes_cbc.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparties/android/common/include/srtp/aes_cbc.h')
-rwxr-xr-xthirdparties/android/common/include/srtp/aes_cbc.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/thirdparties/android/common/include/srtp/aes_cbc.h b/thirdparties/android/common/include/srtp/aes_cbc.h
index bc4e41a..7abd6d6 100755
--- a/thirdparties/android/common/include/srtp/aes_cbc.h
+++ b/thirdparties/android/common/include/srtp/aes_cbc.h
@@ -15,36 +15,36 @@
#include "cipher.h"
typedef struct {
- v128_t state; /* cipher chaining state */
- v128_t previous; /* previous ciphertext block */
- aes_expanded_key_t expanded_key; /* the cipher key */
+ v128_t state; /* cipher chaining state */
+ v128_t previous; /* previous ciphertext block */
+ aes_expanded_key_t expanded_key; /* the cipher key */
} aes_cbc_ctx_t;
err_status_t
aes_cbc_set_key(aes_cbc_ctx_t *c,
- const unsigned char *key);
+ const unsigned char *key);
err_status_t
-aes_cbc_encrypt(aes_cbc_ctx_t *c,
- unsigned char *buf,
- unsigned int *bytes_in_data);
+aes_cbc_encrypt(aes_cbc_ctx_t *c,
+ unsigned char *buf,
+ unsigned int *bytes_in_data);
err_status_t
-aes_cbc_context_init(aes_cbc_ctx_t *c, const uint8_t *key,
- int key_len, cipher_direction_t dir);
+aes_cbc_context_init(aes_cbc_ctx_t *c, const uint8_t *key,
+ int key_len, cipher_direction_t dir);
err_status_t
aes_cbc_set_iv(aes_cbc_ctx_t *c, void *iv);
err_status_t
aes_cbc_nist_encrypt(aes_cbc_ctx_t *c,
- unsigned char *data,
- unsigned int *bytes_in_data);
+ unsigned char *data,
+ unsigned int *bytes_in_data);
err_status_t
aes_cbc_nist_decrypt(aes_cbc_ctx_t *c,
- unsigned char *data,
- unsigned int *bytes_in_data);
+ unsigned char *data,
+ unsigned int *bytes_in_data);
#endif /* AES_CBC_H */
OpenPOWER on IntegriCloud