8 #ifndef BOTAN_CAMELLIA_H__
9 #define BOTAN_CAMELLIA_H__
11 #include <botan/block_cipher.h>
21 void encrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
22 void decrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
24 void clear()
override;
25 std::string
name()
const override {
return "Camellia-128"; }
28 void key_schedule(
const uint8_t key[],
size_t length)
override;
39 void encrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
40 void decrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
42 void clear()
override;
43 std::string
name()
const override {
return "Camellia-192"; }
46 void key_schedule(
const uint8_t key[],
size_t length)
override;
57 void encrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
58 void decrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
60 void clear()
override;
61 std::string
name()
const override {
return "Camellia-256"; }
64 void key_schedule(
const uint8_t key[],
size_t length)
override;
BlockCipher * clone() const override
BlockCipher * clone() const override
std::string name() const override
std::vector< T, secure_allocator< T >> secure_vector
std::string name() const override
std::string name() const override
BlockCipher * clone() const override