blob: e2e0352fe69d80421810b3c9fe7a7f98580b4bf9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*************************************************
* 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::compress_n(const byte input[], u32bit blocks)
{
for(u32bit i = 0; i != blocks; ++i)
{
botan_sha1_sse2_compress(digest, reinterpret_cast<const u32bit*>(input));
input += HASH_BLOCK_SIZE;
}
}
}
|