aboutsummaryrefslogtreecommitdiffstats
path: root/src/emsa2.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-10 17:20:02 +0000
committerlloyd <[email protected]>2008-06-10 17:20:02 +0000
commitdec416d649715617e0eb66b18d69f6dbe9c308b3 (patch)
tree7ff26fe9cee0f11a15977106d985e78c01fb1e51 /src/emsa2.cpp
parent2aef9fa5bc25984a838a51a93ac0e918d2d1bbac (diff)
Pass a RNG reference to the EMSA encoder functions
Diffstat (limited to 'src/emsa2.cpp')
-rw-r--r--src/emsa2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emsa2.cpp b/src/emsa2.cpp
index 052d9226a..f8d69737a 100644
--- a/src/emsa2.cpp
+++ b/src/emsa2.cpp
@@ -29,7 +29,8 @@ SecureVector<byte> EMSA2::raw_data()
* EMSA2 Encode Operation *
*************************************************/
SecureVector<byte> EMSA2::encoding_of(const MemoryRegion<byte>& msg,
- u32bit output_bits)
+ u32bit output_bits,
+ RandomNumberGenerator&)
{
u32bit output_length = (output_bits + 1) / 8;