8#ifndef BOTAN_THREEFISH_512_H_
9#define BOTAN_THREEFISH_512_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 set_tweak(
const uint8_t tweak[],
size_t len)
override;
25 void clear()
override;
27 std::string
name()
const override {
return "Threefish-512"; }
29 std::unique_ptr<BlockCipher>
new_object()
const override {
return std::make_unique<Threefish_512>(); }
34 void key_schedule(std::span<const uint8_t> key)
override;
bool has_keying_material() const override
std::unique_ptr< BlockCipher > new_object() const override
std::string name() const override
void set_tweak(const uint8_t tweak[], size_t len) override
void encrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const override
void decrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const override
int(* final)(unsigned char *, CTX *)
std::vector< T, secure_allocator< T > > secure_vector