Botan: src/hash/sha1_x86_64/sha1_x86_64.h Source File

Botan 1.10.17

sha1_x86_64.h
Go to the documentation of this file.
1 /*
2 * SHA-160 (x86-64)
3 * (C) 1999-2007 Jack Lloyd
4 *
5 * Distributed under the terms of the Botan license
6 */
7
8 #ifndef BOTAN_SHA_160_X86_64_H__
9 #define BOTAN_SHA_160_X86_64_H__
10
11 #include <botan/sha160.h>
12
13 namespace Botan {
14
15 /**
16 * SHA-160 in x86-64 assembly
17 */
18 class BOTAN_DLL SHA_160_X86_64 : public SHA_160
19 {
20 public:
21 HashFunction* clone() const { return new SHA_160_X86_64; }
22 private:
23 void compress_n(const byte[], size_t blocks);
24 };
25
26 }
27
28 #endif
Botan::byte
unsigned char byte
Definition: types.h:22
Botan::SHA_160_X86_64::clone
HashFunction * clone() const
Definition: sha1_x86_64.h:21
Botan::SHA_160
Definition: sha160.h:18
Botan::SHA_160_X86_64
Definition: sha1_x86_64.h:18
Botan
Definition: algo_base.h:14
Botan::HashFunction
Definition: hash.h:20