aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/aesni/file.h
blob: eb84d09bad133daa01f54d3cc7c63c5b4933c225 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
 * \file
 * \author Egor Tensin <Egor.Tensin@gmail.com>
 * \date 2015
 * \copyright This file is licensed under the terms of the MIT License.
 *            See LICENSE.txt for details.
 */

#pragma once

#include <stdio.h>

size_t aes128ecb_encrypt_file(const unsigned char* src,
                              size_t src_size,
                              unsigned char* dest,
                              Aes128KeySchedule* key_schedule);
size_t aes128ecb_decrypt_file(const unsigned char* src,
                              size_t src_size,
                              unsigned char* dest,
                              Aes128KeySchedule* inverted_schedule);