8#ifndef BOTAN_ADLER32_H_
9#define BOTAN_ADLER32_H_
11#include <botan/hash.h>
23 std::string
name()
const override {
return "Adler32"; }
26 std::unique_ptr<HashFunction>
copy_state()
const override;
28 void clear()
override { m_S1 = 1; m_S2 = 0; }
33 void add_data(
const uint8_t[],
size_t)
override;
34 void final_result(uint8_t[])
override;
size_t output_length() const override
std::string name() const override
HashFunction * clone() const override
virtual std::unique_ptr< HashFunction > copy_state() const =0
int(* final)(unsigned char *, CTX *)
#define BOTAN_PUBLIC_API(maj, min)
#define BOTAN_FUTURE_INTERNAL_HEADER(hdr)