aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/sha1_sse2/sha1_sse2.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-23 04:07:06 +0000
committerlloyd <[email protected]>2008-11-23 04:07:06 +0000
commitb203af2842453ff2e4509840d71232b415f5ce67 (patch)
treef2176900b9ca49e8ce27d7c6b145a9de9d6243b9 /src/hash/sha1_sse2/sha1_sse2.h
parenta3b7eb7194b2d181a21c73f0b201de3d9a8d2785 (diff)
Dean Gaudet's original version of the SHA-1 SSE2 code supported multiple
blocks as input (and can overlap computations from one block to another - very nice). Reimport that original version and use it.
Diffstat (limited to 'src/hash/sha1_sse2/sha1_sse2.h')
-rw-r--r--src/hash/sha1_sse2/sha1_sse2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hash/sha1_sse2/sha1_sse2.h b/src/hash/sha1_sse2/sha1_sse2.h
index 57348e461..089560535 100644
--- a/src/hash/sha1_sse2/sha1_sse2.h
+++ b/src/hash/sha1_sse2/sha1_sse2.h
@@ -22,7 +22,8 @@ class BOTAN_DLL SHA_160_SSE2 : public SHA_160
void compress_n(const byte[], u32bit blocks);
};
-extern "C" void botan_sha1_sse2_compress(u32bit[5], const u32bit*);
+extern "C"
+void botan_sha1_sse2_compress(u32bit H[5], const u32bit inputu[], u32bit num_steps);
}