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[],
HashFunction * clone() const override
int(* final)(unsigned char *, CTX *)
#define BOTAN_PUBLIC_API(maj, min)
size_t output_length() const override
std::vector< T, secure_allocator< T >> secure_vector
virtual void compress_n(const uint8_t blocks[], size_t block_n)=0
virtual void copy_out(uint8_t buffer[])=0
virtual std::unique_ptr< HashFunction > copy_state() const =0
secure_vector< uint8_t > m_digest
#define BOTAN_FUTURE_INTERNAL_HEADER(hdr)
std::string name() const override