Commit Graph

11 Commits (348e8e3b307bbb3beec8114013cd303e24b276a8)

Author SHA1 Message Date
Jeffrey Walton 7bba334641
Whitespace check-in 2019-08-06 21:42:43 -04:00
Jeffrey Walton b1c691b53a
Fix RDSEED hang on x86 (GH #872) (#873)
Calls to `MASM_RDSEED_GenerateBlock` would hang for an unknown reasons on Windows 10 and VS2017/VS2019 toolchains. Similar calls to `MASM_RDRAND_GenerateBlock` worked as expected. They were effectively the same code. The only differences were the function names and the opcodes (they were literally copy/paste).

Splitting `rdrand.asm` (with both `RDRAND` and `RDSEED`) into `rdrand.asm` (with `RDRAND`) and `rdseed.asm` (with `RDSEED`) resolved the issue. We don't know why.
2019-08-06 21:01:22 -04:00
Jeffrey Walton 41864fd49e Use local labels for RDRAND and RDSEED code (GH #872)
This did not fix the issue, but it is something on the TODO list.
2019-08-06 00:18:56 -04:00
Jeffrey Walton 3f528fef1f Add guard for RDSEED64 on 32-bit platforms (Issue 387)
Cleanup comments in rdrand.cpp and rdrand.asm
2017-03-08 14:09:58 -05:00
Jeffrey Walton d3bcbc71da
Cutover to fastcall for MASM and X86 (Issue 387)
Fix "target specific option mismatch" under GCC 4.6
2017-03-07 12:57:47 -05:00
Jeffrey Walton 14d92f9eba
Improve performance of RDRAND and RDSEED (Issue 387) 2017-03-07 03:57:23 -05:00
Jeffrey Walton 4625ca5e5c
Add DWORD PTR for consistency in rdrand.asm 2016-10-15 04:39:55 -04:00
Jeffrey Walton bd2b022d30
Fix X86 MASM assembly under Visual Studio 2013 (Issue 321) 2016-10-12 00:54:34 -04:00
Jeffrey Walton 36da00cc92 Add RDRAND and RDSEED for SunCC 12.1 and above 2016-07-10 15:16:20 -04:00
Jeffrey Walton d2fda9bd42 Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup) 2015-11-18 15:19:02 -05:00
Jeffrey Walton 48809d4e85 CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00