The unified diff between revisions [92f17752..] and [4e40e885..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'src/eme1.cpp'
#
#
# patch "src/eme1.cpp"
# from [e90e2aba0e7cc71829a641ee4f9077a5bede20b6]
# to [00d13c8afa26f93a0b45dc81946d8d6db10baf93]
#
============================================================
--- src/eme1.cpp e90e2aba0e7cc71829a641ee4f9077a5bede20b6
+++ src/eme1.cpp 00d13c8afa26f93a0b45dc81946d8d6db10baf93
@@ -1,10 +1,10 @@
/*************************************************
* EME1 Source File *
-* (C) 1999-2006 The Botan Project *
+* (C) 1999-2007 Jack Lloyd *
*************************************************/
#include <botan/eme.h>
-#include <botan/rng.h>
+#include <botan/libstate.h>
#include <botan/lookup.h>
#include <botan/look_pk.h>
#include <memory>
@@ -26,7 +26,7 @@ SecureVector<byte> EME1::pad(const byte
out.clear();
- Global_RNG::randomize(out, HASH_LENGTH);
+ global_state().randomize(out, HASH_LENGTH);
out.copy(HASH_LENGTH, Phash, Phash.size());
out[out.size() - in_length - 1] = 0x01;