aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/sha1_amd64
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 02:59:43 +0000
committerlloyd <[email protected]>2010-10-13 02:59:43 +0000
commit61ed0d4d90164675396feb7c7cecdd3bc5012f91 (patch)
tree31f48086086c78c6f0ce5fd533d819c8463be822 /src/hash/sha1_amd64
parent3697dcff8b5e9765b41114281ce10e7ed3d3abb4 (diff)
Remove most uses of HASH_BLOCK_SIZE
Diffstat (limited to 'src/hash/sha1_amd64')
-rw-r--r--src/hash/sha1_amd64/sha1_amd64.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/sha1_amd64/sha1_amd64.cpp b/src/hash/sha1_amd64/sha1_amd64.cpp
index 00b1788cb..d32b44901 100644
--- a/src/hash/sha1_amd64/sha1_amd64.cpp
+++ b/src/hash/sha1_amd64/sha1_amd64.cpp
@@ -24,7 +24,7 @@ void SHA_160_AMD64::compress_n(const byte input[], size_t blocks)
for(size_t i = 0; i != blocks; ++i)
{
botan_sha160_amd64_compress(&digest[0], input, &W[0]);
- input += HASH_BLOCK_SIZE;
+ input += hash_block_size();
}
}