From f729248bd882156196e18bd90fd86e240ef5892c Mon Sep 17 00:00:00 2001 From: "[#571]" <31502293+Number571@users.noreply.github.com> Date: Tue, 9 Jun 2020 01:49:26 -0500 Subject: [PATCH] Update aes.h --- aes.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/aes.h b/aes.h index 25721c8..1e7aee5 100644 --- a/aes.h +++ b/aes.h @@ -48,6 +48,13 @@ int aes_encrypt_cbc(const BYTE in[], // Plaintext int keysize, // Bit length of the key, 128, 192, or 256 const BYTE iv[]); // IV, must be AES_BLOCK_SIZE bytes long +int aes_decrypt_cbc(const BYTE in[], // Ciphertext + size_t in_len, // Must be a multiple of AES_BLOCK_SIZE + BYTE out[], // Plaintext, same length as plaintext + const WORD key[], // From the key setup + int keysize, // Bit length of the key, 128, 192, or 256 + const BYTE iv[]); // IV, must be AES_BLOCK_SIZE bytes long + // Only output the CBC-MAC of the input. int aes_encrypt_cbc_mac(const BYTE in[], // plaintext size_t in_len, // Must be a multiple of AES_BLOCK_SIZE