diff options
Diffstat (limited to 'networking/tls_aes.h')
-rw-r--r-- | networking/tls_aes.h | 8 |
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 @@ | |||
6 | * Selected few declarations for AES. | 6 | * Selected few declarations for AES. |
7 | */ | 7 | */ |
8 | 8 | ||
9 | void aes_cbc_encrypt(const void *key, int klen, void *iv, const void *data, size_t len, void *dst); | 9 | void aes_setkey(struct tls_aes *aes, const void *key, unsigned key_len) FAST_FUNC; |
10 | void aes_cbc_decrypt(const void *key, int klen, void *iv, const void *data, size_t len, void *dst); | 10 | |
11 | void aes_encrypt_one_block(struct tls_aes *aes, const void *data, void *dst) FAST_FUNC; | ||
12 | |||
13 | void aes_cbc_encrypt(const void *key, int klen, void *iv, const void *data, size_t len, void *dst) FAST_FUNC; | ||
14 | void aes_cbc_decrypt(const void *key, int klen, void *iv, const void *data, size_t len, void *dst) FAST_FUNC; | ||