Botan 3.9.0
Crypto and TLS for C&
camellia_gfni.h
Go to the documentation of this file.
1/*
2* (C) 2025 Jack Lloyd
3*
4* Botan is released under the Simplified BSD License (see license.txt)
5*/
6
7#ifndef BOTAN_CAMELLIA_GFNI_H_
8#define BOTAN_CAMELLIA_GFNI_H_
9
10#include <botan/types.h>
11#include <span>
12
13namespace Botan {
14
15void camellia_gfni_encrypt9(const uint8_t in[], uint8_t out[], size_t blocks, std::span<const uint64_t> SK);
16
17void camellia_gfni_encrypt12(const uint8_t in[], uint8_t out[], size_t blocks, std::span<const uint64_t> SK);
18
19void camellia_gfni_decrypt9(const uint8_t in[], uint8_t out[], size_t blocks, std::span<const uint64_t> SK);
20
21void camellia_gfni_decrypt12(const uint8_t in[], uint8_t out[], size_t blocks, std::span<const uint64_t> SK);
22
23} // namespace Botan
24
25#endif
BOTAN_FN_ISA_AVX2_GFNI void camellia_gfni_encrypt12(const uint8_t in[], uint8_t out[], size_t blocks, std::span< const uint64_t > SK)
BOTAN_FN_ISA_AVX2_GFNI void camellia_gfni_decrypt12(const uint8_t in[], uint8_t out[], size_t blocks, std::span< const uint64_t > SK)
BOTAN_FN_ISA_AVX2_GFNI void camellia_gfni_encrypt9(const uint8_t in[], uint8_t out[], size_t blocks, std::span< const uint64_t > SK)
BOTAN_FN_ISA_AVX2_GFNI void camellia_gfni_decrypt9(const uint8_t in[], uint8_t out[], size_t blocks, std::span< const uint64_t > SK)