aboutsummaryrefslogtreecommitdiff
path: root/networking/tls_aes.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/tls_aes.h')
-rw-r--r--networking/tls_aes.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/networking/tls_aes.h b/networking/tls_aes.h
index c6791866a..fc3881793 100644
--- a/networking/tls_aes.h
+++ b/networking/tls_aes.h
@@ -6,5 +6,9 @@
* Selected few declarations for AES.
*/
-void aes_cbc_encrypt(const void *key, int klen, void *iv, const void *data, size_t len, void *dst);
-void aes_cbc_decrypt(const void *key, int klen, void *iv, const void *data, size_t len, void *dst);
+void aes_setkey(struct tls_aes *aes, const void *key, unsigned key_len) FAST_FUNC;
+
+void aes_encrypt_one_block(struct tls_aes *aes, const void *data, void *dst) FAST_FUNC;
+
+void aes_cbc_encrypt(const void *key, int klen, void *iv, const void *data, size_t len, void *dst) FAST_FUNC;
+void aes_cbc_decrypt(const void *key, int klen, void *iv, const void *data, size_t len, void *dst) FAST_FUNC;