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
13namespace Botan {
14
15/**
16* SHA-160 using SSE2 for the message expansion
17*/
18class 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
HashFunction * clone() const
Definition sha1_sse2.h:21