httpd: do not set alarm() timeout if we read cached header
[oweals/busybox.git] / networking / tls_aes.h
1 /*
2  * Copyright (C) 2017 Denys Vlasenko
3  *
4  * Licensed under GPLv2, see file LICENSE in this source tree.
5  *
6  * Selected few declarations for AES.
7  */
8
9 void aes_setkey(struct tls_aes *aes, const void *key, unsigned key_len) FAST_FUNC;
10
11 void aes_encrypt_one_block(struct tls_aes *aes, const void *data, void *dst) FAST_FUNC;
12
13 void aes_cbc_encrypt(struct tls_aes *aes, void *iv, const void *data, size_t len, void *dst) FAST_FUNC;
14 void aes_cbc_decrypt(struct tls_aes *aes, void *iv, const void *data, size_t len, void *dst) FAST_FUNC;