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

Botan 1.10.17

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