Additional information. When we catch exception and call
 GetLastError we have error 87 - incorrect parameter.
 
Regards,
Konstantin
 
 
----- Original Message -----
Sent: Wednesday, November 17, 2004 8:00 PM
Subject: Exception with AutoSeededRandomPool

Hello, All!
 
I have exception using AutoSeededRandomPool.
OS_Rgn:CryptGenRandom operation failed with error 0x57  OTHER_ERROR
 
I'm calling AutoSeededRandomPool rng;
 
Here is the stack:
ADVAPI32! 7c2e7324()
ADVAPI32! 7c2ea85b()
CRYPTOPP! 42966e6a()
AfxWinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char *
0x00133c8e, int 1) line 39 + 11 bytes
WinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00133c8e,
int 1) line 30
WinMainCRTStartup() line 330 + 54 bytes
KERNEL32! 7c4e87f5()
I'm using modified version of CryptoPP 5.21
This happens in MFC application, and does not reproduced
 in little sample console application.
 
Have anyone any idea about the reasons of this problem?
 
Best Regards,
Voronkov Konstantin

Reply via email to