diff options
author | lloyd <[email protected]> | 2006-08-21 07:42:30 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-08-21 07:42:30 +0000 |
commit | a1f9625cd46681eaec9cd6c2616286c539f98e72 (patch) | |
tree | 76a5f605e0b072217675642797460565375b0d0b /modules | |
parent | 9867f6bff71c3d7dcfd20a02ff3ccba690b58ce8 (diff) |
The assembly code is only using 81 words of W, but 84 were being allocated.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/alg_ia32/sha160.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/alg_ia32/sha160.cpp b/modules/alg_ia32/sha160.cpp index c7d0fc72d..2ab589adb 100644 --- a/modules/alg_ia32/sha160.cpp +++ b/modules/alg_ia32/sha160.cpp @@ -8,7 +8,7 @@ namespace Botan { -extern "C" void sha160_core(u32bit[5], const byte[64], u32bit[84]); +extern "C" void sha160_core(u32bit[5], const byte[64], u32bit[81]); /************************************************* * SHA-160 Compression Function * @@ -44,7 +44,7 @@ void SHA_160::clear() throw() /************************************************* * SHA_160 Constructor * *************************************************/ -SHA_160::SHA_160() : MDx_HashFunction(20, 64, true, true), W(84) +SHA_160::SHA_160() : MDx_HashFunction(20, 64, true, true), W(81) { clear(); } |