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

#include <botan/sha1_sse2.h>

namespace Botan {

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

}