8#ifndef BOTAN_NOEKEON_H_
9#define BOTAN_NOEKEON_H_
11#include <botan/block_cipher.h>
20 void encrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
21 void decrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
23 std::string
provider()
const override;
24 void clear()
override;
26 std::string
name()
const override {
return "Noekeon"; }
28 std::unique_ptr<BlockCipher>
new_object()
const override {
return std::make_unique<Noekeon>(); }
34#if defined(BOTAN_HAS_NOEKEON_SIMD)
35 void simd_encrypt_4(
const uint8_t in[], uint8_t out[])
const;
36 void simd_decrypt_4(
const uint8_t in[], uint8_t out[])
const;
42 static const uint8_t RC[17];
44 void key_schedule(std::span<const uint8_t> key)
override;
size_t parallelism() const override
std::unique_ptr< BlockCipher > new_object() const override
void encrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const override
std::string provider() const override
void decrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const override
bool has_keying_material() const override
std::string name() const override
int(* final)(unsigned char *, CTX *)
std::vector< T, secure_allocator< T > > secure_vector