Mention branches and keyring.
[releases.git] / x86 / crypto / aria-avx.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 #ifndef ASM_X86_ARIA_AVX_H
3 #define ASM_X86_ARIA_AVX_H
4
5 #include <linux/types.h>
6
7 #define ARIA_AESNI_PARALLEL_BLOCKS 16
8 #define ARIA_AESNI_PARALLEL_BLOCK_SIZE  (ARIA_BLOCK_SIZE * 16)
9
10 struct aria_avx_ops {
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);
15 };
16 #endif