aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/box_aes.c
blob: 52534151a825fd93626915db341e2a0bda58e1cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**
 * \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.
 */

#include <aesni/all.h>

AesNI_BoxAlgorithmInterface aesni_box_aes128_iface =
{
    &aesni_box_derive_params_aes128,
    &aesni_box_encrypt_aes128,
    &aesni_box_decrypt_aes128,
    &aesni_box_xor_block_aes,
};

AesNI_BoxAlgorithmInterface aesni_box_aes192_iface =
{
    &aesni_box_derive_params_aes192,
    &aesni_box_encrypt_aes192,
    &aesni_box_decrypt_aes192,
    &aesni_box_xor_block_aes,
};

AesNI_BoxAlgorithmInterface aesni_box_aes256_iface =
{
    &aesni_box_derive_params_aes256,
    &aesni_box_encrypt_aes256,
    &aesni_box_decrypt_aes256,
    &aesni_box_xor_block_aes,
};