8#ifndef BOTAN_CAMELLIA_H_
9#define BOTAN_CAMELLIA_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 void clear()
override;
25 std::string
name()
const override {
return "Camellia-128"; }
27 std::unique_ptr<BlockCipher>
new_object()
const override {
return std::make_unique<Camellia_128>(); }
32 void key_schedule(std::span<const uint8_t> key)
override;
42 void encrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
43 void decrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
45 void clear()
override;
47 std::string
name()
const override {
return "Camellia-192"; }
49 std::unique_ptr<BlockCipher>
new_object()
const override {
return std::make_unique<Camellia_192>(); }
54 void key_schedule(std::span<const uint8_t> key)
override;
64 void encrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
65 void decrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
67 void clear()
override;
69 std::string
name()
const override {
return "Camellia-256"; }
71 std::unique_ptr<BlockCipher>
new_object()
const override {
return std::make_unique<Camellia_256>(); }
76 void key_schedule(std::span<const uint8_t> key)
override;
void decrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const override
bool has_keying_material() const override
std::unique_ptr< BlockCipher > new_object() const override
std::string name() const override
void encrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) 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
bool has_keying_material() const override
void decrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const override
std::string name() const override
void decrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const override
bool has_keying_material() 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 name() const override
int(* final)(unsigned char *, CTX *)
std::vector< T, secure_allocator< T > > secure_vector