blob: fc388179334faff8c7d4abc8c403cd931e38b965 [file] [log] [blame]
Denys Vlasenkob7e9ae62017-01-18 17:20:27 +01001/*
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
Denys Vlasenko83e5c622018-11-23 17:21:38 +01009void aes_setkey(struct tls_aes *aes, const void *key, unsigned key_len) FAST_FUNC;
10
11void aes_encrypt_one_block(struct tls_aes *aes, const void *data, void *dst) FAST_FUNC;
12
13void aes_cbc_encrypt(const void *key, int klen, void *iv, const void *data, size_t len, void *dst) FAST_FUNC;
14void aes_cbc_decrypt(const void *key, int klen, void *iv, const void *data, size_t len, void *dst) FAST_FUNC;