Update comments
parent
0538af5173
commit
c97e786cbb
|
|
@ -8,9 +8,10 @@
|
|||
#ifndef CRYPTOPP_IMPORTS
|
||||
|
||||
// Win32 has CryptoAPI and <wincrypt.h>. Windows 10 and Windows Store 10 have CNG and <bcrypt.h>.
|
||||
// There's a hole for Windows Phone 8 and Windows Store 8. There is no userland crypto available.
|
||||
// Also see http://stackoverflow.com/questions/36974545/random-numbers-for-windows-phone-8-and-windows-store-8
|
||||
// and https://social.msdn.microsoft.com/Forums/vstudio/en-US/25b83e13-c85f-4aa1-a057-88a279ea3fd6/what-crypto-random-generator-c-code-could-use-on-wp81
|
||||
// There's a hole for Windows Phone 8 and Windows Store 8. There is no userland RNG available.
|
||||
// Also see http://www.drdobbs.com/windows/using-c-and-com-with-winrt/240168150 and
|
||||
// http://stackoverflow.com/questions/36974545/random-numbers-for-windows-phone-8-and-windows-store-8 and
|
||||
// https://social.msdn.microsoft.com/Forums/vstudio/en-US/25b83e13-c85f-4aa1-a057-88a279ea3fd6/what-crypto-random-generator-c-code-could-use-on-wp81
|
||||
#if defined(CRYPTOPP_WIN32_AVAILABLE) && !defined(OS_RNG_AVAILABLE)
|
||||
# pragma message("WARNING: Compiling for Windows but an OS RNG is not available. This is likely a Windows Phone 8 or Windows Store 8 app.")
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue