Commit Graph

23 Commits

Author SHA1 Message Date
Jeffrey Walton
033f204a86 Fix .Net 2002 compile
This testing occurs on Windows XP. We are still rockin it
2019-08-27 14:44:27 -04:00
Jeffrey Walton
6545754337
Check size_t to DWORD and ULONG conversions
DWORD and ULONG are 32-bit. The conversion from size_t could fail, and the RNG would return a truncated result. I think it is low risk, but the test for the conversion test is cheap.
2019-08-17 21:19:04 -04:00
Jeffrey Walton
197f5fb1df
Add ASSERT to check m_fd for values <0
We are seeing RNG falures on HURD, but we are not throwing when constructing BlockingRng or NonblockingRng. This is despite the fact that /dev/urandom is missing during testing. NonblockingRng should always thwo when /dev/urandom is missing.
2019-08-12 05:40:22 -04:00
Jeffrey Walton
34e49627b7 Use C++ dynamic initialization if available 2019-08-12 00:11:41 -04:00
Jeffrey Walton
c97e786cbb
Update comments 2019-01-05 12:48:39 -05:00
Jeffrey Walton
0538af5173
Update comments 2019-01-05 09:54:42 -05:00
jan-dominik.blome
fcdf293356 Remove unnecessary static from reference to singleton 2017-03-15 12:29:36 +01:00
Jeffrey Walton
78823bfd0c
Add StaticAlgorithmName to select RNGs for object registry (Issue 386) 2017-03-07 04:52:37 -05:00
Jeffrey Walton
c22f3228fb
Use NO_OS_DEPENDENCE in osrng class files (Issue 377)
Thanks to Mattias Linnap for raising the issue
2017-02-18 17:38:40 -05:00
Jeffrey Walton
81b1a18063
Change file preamble to include "originally written by Wei Dai"
We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
2017-01-27 07:05:45 -05:00
Jeffrey Walton
894874fe75 Whitespace checkin 2016-09-10 04:57:48 -04:00
Jeffrey Walton
d294b4290b Add changes for Windows Sotre that went missing with my clumsy Git skills 2016-05-09 03:07:57 -04:00
Jeffrey Walton
48809d4e85 CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00
Jeffrey Walton
77206baf56 Whitespace checkin 2015-07-30 13:07:33 -04:00
weidai
280c881393 handle EAGAIN from /dev/urandom and /dev/random (Folkert van Heusden) 2013-01-26 17:31:23 +00:00
weidai
f9261eb107 reduce risk of random number reuse after VM rollback 2007-05-04 15:04:58 +00:00
weidai
3ec852b64c fix threading bug 2007-02-03 13:29:09 +00:00
weidai
5766de54ef fix BlockingRng for OpenBSD 2006-12-13 04:08:09 +00:00
weidai
09bb1aab64 port to GCC 4 2005-09-05 21:43:43 +00:00
weidai
1db8ea5084 port to MSVC .NET 2005 beta 2 2005-07-12 04:23:32 +00:00
weidai
f278895908 create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
weidai
1e45c2d305 compatibility fixes for MacOS X 2002-10-04 21:45:04 +00:00
weidai
a3b6ece7ab Initial revision 2002-10-04 17:31:41 +00:00