aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/bmw/bmw_512.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-09-15 14:30:25 +0000
committerlloyd <[email protected]>2009-09-15 14:30:25 +0000
commit34f9ef45565ed4052b3a50026827c5171a8dad2f (patch)
treeb5bec60e8d72a1470facbde72b3aaedacdf5a7cf /src/hash/bmw/bmw_512.h
parent7f6a017a61fc6ef97d9d7b37236df52d6170e7d6 (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.h3
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;
};
}