Botan  1.11.15
src/lib/hash/sha1_x86_64/sha1_x86_64.h
Go to the documentation of this file.
00001 /*
00002 * SHA-160 (x86-64)
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_X86_64_H__
00009 #define BOTAN_SHA_160_X86_64_H__
00010 
00011 #include <botan/sha160.h>
00012 
00013 namespace Botan {
00014 
00015 /**
00016 * SHA-160 in x86-64 assembly
00017 */
00018 class BOTAN_DLL SHA_160_X86_64 : public SHA_160
00019    {
00020    public:
00021       HashFunction* clone() const { return new SHA_160_X86_64; }
00022    private:
00023       void compress_n(const byte[], size_t blocks);
00024    };
00025 
00026 }
00027 
00028 #endif