aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/sha1_sse2/sha1_sse2.cpp
blob: 36d266dcf5b5b9122c51b51e21aa78c867d61805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*************************************************
* SHA-160 (SSE2) Source File                     *
* (C) 1999-2007 Jack Lloyd                       *
*************************************************/

#include <botan/sha1_sse2.h>

namespace Botan {

extern "C" void botan_sha1_sse2_compress(u32bit[5], const byte[64]);

/*************************************************
* SHA-160 Compression Function                   *
*************************************************/
void SHA_160_SSE2::hash(const byte input[])
   {
   botan_sha1_sse2_compress(digest, input);
   }

}