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/emsa3.cpp | |
parent | 2aef9fa5bc25984a838a51a93ac0e918d2d1bbac (diff) |
Pass a RNG reference to the EMSA encoder functions
Diffstat (limited to 'src/emsa3.cpp')
-rw-r--r-- | src/emsa3.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emsa3.cpp b/src/emsa3.cpp index 3c0aec50d..cf1aae3fa 100644 --- a/src/emsa3.cpp +++ b/src/emsa3.cpp @@ -29,7 +29,8 @@ SecureVector<byte> EMSA3::raw_data() * EMSA3 Encode Operation * *************************************************/ SecureVector<byte> EMSA3::encoding_of(const MemoryRegion<byte>& msg, - u32bit output_bits) + u32bit output_bits, + RandomNumberGenerator&) { if(msg.size() != hash->OUTPUT_LENGTH) throw Encoding_Error("EMSA3::encoding_of: Bad input length"); |