8#ifndef BOTAN_SHA_160_H_
9#define BOTAN_SHA_160_H_
11#include <botan/mdx_hash.h>
23 std::string
name()
const override {
return "SHA-160"; }
26 std::unique_ptr<HashFunction>
copy_state()
const override;
28 void clear()
override;
36 void compress_n(
const uint8_t[],
size_t blocks)
override;
38#if defined(BOTAN_HAS_SHA1_ARMV8)
40 const uint8_t blocks[],
44#if defined(BOTAN_HAS_SHA1_SSE2)
46 const uint8_t blocks[],
50#if defined(BOTAN_HAS_SHA1_X86_SHA_NI)
53 const uint8_t blocks[],
virtual std::unique_ptr< HashFunction > copy_state() const =0
virtual void compress_n(const uint8_t blocks[], size_t block_n)=0
virtual void copy_out(uint8_t buffer[])=0
size_t output_length() const override
HashFunction * 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