diff options
author | lloyd <[email protected]> | 2008-06-10 17:20:02 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-06-10 17:20:02 +0000 |
commit | dec416d649715617e0eb66b18d69f6dbe9c308b3 (patch) | |
tree | 7ff26fe9cee0f11a15977106d985e78c01fb1e51 /src/emsa2.cpp | |
parent | 2aef9fa5bc25984a838a51a93ac0e918d2d1bbac (diff) |
Pass a RNG reference to the EMSA encoder functions
Diffstat (limited to 'src/emsa2.cpp')
-rw-r--r-- | src/emsa2.cpp | 3 |
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; |