8#ifndef BOTAN_CAMELLIA_H_
9#define BOTAN_CAMELLIA_H_
11#include <botan/block_cipher.h>
23 void encrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
24 void decrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
26 void clear()
override;
27 std::string
name()
const override {
return "Camellia-128"; }
30 void key_schedule(
const uint8_t key[],
size_t length)
override;
41 void encrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
42 void decrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
44 void clear()
override;
45 std::string
name()
const override {
return "Camellia-192"; }
48 void key_schedule(
const uint8_t key[],
size_t length)
override;
59 void encrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
60 void decrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
62 void clear()
override;
63 std::string
name()
const override {
return "Camellia-256"; }
66 void key_schedule(
const uint8_t key[],
size_t length)
override;
virtual void decrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const =0
virtual void encrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const =0
BlockCipher * clone() const override
std::string name() const override
BlockCipher * clone() const override
std::string name() const override
BlockCipher * clone() const override
std::string name() const override
int(* final)(unsigned char *, CTX *)
#define BOTAN_PUBLIC_API(maj, min)
#define BOTAN_FUTURE_INTERNAL_HEADER(hdr)
std::vector< T, secure_allocator< T > > secure_vector