ndk-busybox/networking/tls_aes.h
Denys Vlasenko c31b54fd81 tls: fold AES CBC en/decryption into single functions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-02-04 16:23:49 +01:00

11 lines
352 B
C

/*
* Copyright (C) 2017 Denys Vlasenko
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*
* 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);