The unified diff between revisions [51f9ee51..] and [cbf9e103..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'src/emsa4.cpp'
#
#
# patch "src/emsa4.cpp"
# from [fb05b67a47bbb8e2aae85ddecad268f8482551cc]
# to [dc0f0dbfdaed2ec2ae85bbeed3ff0303013c58fc]
#
============================================================
--- src/emsa4.cpp fb05b67a47bbb8e2aae85ddecad268f8482551cc
+++ src/emsa4.cpp dc0f0dbfdaed2ec2ae85bbeed3ff0303013c58fc
@@ -7,7 +7,7 @@
#include <botan/lookup.h>
#include <botan/look_pk.h>
#include <botan/bit_ops.h>
-#include <botan/rng.h>
+#include <botan/libstate.h>
namespace Botan {
@@ -43,7 +43,7 @@ SecureVector<byte> EMSA4::encoding_of(co
const u32bit output_length = (output_bits + 7) / 8;
SecureVector<byte> salt(SALT_SIZE);
- Global_RNG::randomize(salt, SALT_SIZE);
+ global_state().randomize(salt, SALT_SIZE);
for(u32bit j = 0; j != 8; ++j)
hash->update(0);