No there isn't. You'll have to modify Crypto++ code if you need this feature. The easiest way to do it would be to change RSAPrimeSelector in rsa.cpp do notify your code when IsAcceptable() is called.
On Thu, Oct 24, 2002 at 11:00:58AM -0500, Jason von Nieda wrote: > Hi folks, I am new to the list so please go easy on me :) > > I am writing a Windows program that uses Crypto++ to generate RSA keys. I am > wondering if there is any way to get the status of the key generation as it runs? I > realize there isn't a definitle amount of time generating a key takes but I was > looking for something basic such as an update each time a prime is tested or > something along those lines. > > I am generating my keys using code that is basically straight out of the test.cpp > program. Here is the relevant code: > Base64Encoder privKey(new StringSink(sPrivateKey), false); > RSAES_OAEP_SHA_Decryptor privKeyGen(randPool, dwSpecKeyLength); > privKeyGen.DEREncode(privKey); > privKey.MessageEnd(); > > Thanks in advance for any ideas you may have. > > Jason von Nieda
