1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 #ifndef ASM_X86_ARIA_AVX_H
3 #define ASM_X86_ARIA_AVX_H
5 #include <linux/types.h>
7 #define ARIA_AESNI_PARALLEL_BLOCKS 16
8 #define ARIA_AESNI_PARALLEL_BLOCK_SIZE (ARIA_BLOCK_SIZE * 16)
11 void (*aria_encrypt_16way)(const void *ctx, u8 *dst, const u8 *src);
12 void (*aria_decrypt_16way)(const void *ctx, u8 *dst, const u8 *src);
13 void (*aria_ctr_crypt_16way)(const void *ctx, u8 *dst, const u8 *src,
14 u8 *keystream, u8 *iv);