Botan
1.11.15
|
00001 /* 00002 * SHA-160 00003 * (C) 1999-2007 Jack Lloyd 00004 * 00005 * Botan is released under the Simplified BSD License (see license.txt) 00006 */ 00007 00008 #ifndef BOTAN_SHA_160_SSE2_H__ 00009 #define BOTAN_SHA_160_SSE2_H__ 00010 00011 #include <botan/sha160.h> 00012 00013 namespace Botan { 00014 00015 /** 00016 * SHA-160 using SSE2 for the message expansion 00017 */ 00018 class BOTAN_DLL SHA_160_SSE2 : public SHA_160 00019 { 00020 public: 00021 HashFunction* clone() const { return new SHA_160_SSE2; } 00022 SHA_160_SSE2() : SHA_160(0) {} // no W needed 00023 private: 00024 void compress_n(const byte[], size_t blocks); 00025 }; 00026 00027 } 00028 00029 #endif