diff options
author | lloyd <[email protected]> | 2009-09-15 14:30:25 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-09-15 14:30:25 +0000 |
commit | 34f9ef45565ed4052b3a50026827c5171a8dad2f (patch) | |
tree | b5bec60e8d72a1470facbde72b3aaedacdf5a7cf /src/hash/bmw/bmw_512.h | |
parent | 7f6a017a61fc6ef97d9d7b37236df52d6170e7d6 (diff) |
In BMW-512, don't use the stack, instead use class SecureBuffers to reduce
info leakage.
Diffstat (limited to 'src/hash/bmw/bmw_512.h')
-rw-r--r-- | src/hash/bmw/bmw_512.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hash/bmw/bmw_512.h b/src/hash/bmw/bmw_512.h index da4b42598..4be6afd04 100644 --- a/src/hash/bmw/bmw_512.h +++ b/src/hash/bmw/bmw_512.h @@ -23,7 +23,8 @@ class BMW_512 : public MDx_HashFunction void compress_n(const byte input[], u32bit blocks); void copy_out(byte output[]); - SecureBuffer<u64bit, 16> H; + SecureBuffer<u64bit, 32> H; + SecureBuffer<u64bit, 16> M; }; } |