forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
507 B
16 lines
507 B
/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|
#ifndef ASM_X86_ARIA_AVX_H |
|
#define ASM_X86_ARIA_AVX_H |
|
|
|
#include <linux/types.h> |
|
|
|
#define ARIA_AESNI_PARALLEL_BLOCKS 16 |
|
#define ARIA_AESNI_PARALLEL_BLOCK_SIZE (ARIA_BLOCK_SIZE * 16) |
|
|
|
struct aria_avx_ops { |
|
void (*aria_encrypt_16way)(const void *ctx, u8 *dst, const u8 *src); |
|
void (*aria_decrypt_16way)(const void *ctx, u8 *dst, const u8 *src); |
|
void (*aria_ctr_crypt_16way)(const void *ctx, u8 *dst, const u8 *src, |
|
u8 *keystream, u8 *iv); |
|
}; |
|
#endif
|
|
|