8#ifndef BOTAN_PARALLEL_HASH_H_
9#define BOTAN_PARALLEL_HASH_H_
11#include <botan/hash.h>
21 void clear()
override;
22 std::string
name()
const override;
23 std::unique_ptr<HashFunction>
new_object()
const override;
24 std::unique_ptr<HashFunction>
copy_state()
const override;
32 explicit Parallel(std::vector<std::unique_ptr<HashFunction>>& hashes);
38 void add_data(std::span<const uint8_t>)
override;
39 void final_result(std::span<uint8_t>)
override;
41 std::vector<std::unique_ptr<HashFunction>> m_hashes;
Parallel(const Parallel &)=delete
std::unique_ptr< HashFunction > new_object() const override
std::string name() const override
Parallel & operator=(const Parallel &)=delete
std::unique_ptr< HashFunction > copy_state() const override
Parallel(std::vector< std::unique_ptr< HashFunction > > &hashes)
size_t output_length() const override
int(* final)(unsigned char *, CTX *)