Hello.
I keep getting the following exception when doing the long-run test of
my application. This usually happens after 1 or 2 days.
OS_Rng: CryptGenRandom operation failed with error 0x80090020
Code that throws an exception is taken from the tutorial:
CryptoPP::AutoSeededRandomPool rng;
CryptoPP::InvertibleRSAFunction parameters;
parameters.GenerateRandomWithKeySize(rng, 4096);
CryptoPP::RSA::PrivateKey privateKey(parameters);
CryptoPP::RSA::PublicKey publicKey(parameters);
privateKey.Save(CryptoPP::StringSink(privateKey_string));
std::string publicKey_string;
publicKey.Save(CryptoPP::StringSink(publicKey_string));
I see that MSDN doesn't say anything optimistic...
NTE_FAIL
The function failed in some unexpected way.
Do somebody has a suggestion?
--
You received this message because you are subscribed to the "Crypto++ Users"
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at
http://www.cryptopp.com.