summaryrefslogtreecommitdiff
path: root/cryptlib.vcxproj.filters
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-08-06 21:01:22 -0400
committerGitHub <noreply@github.com>2019-08-06 21:01:22 -0400
commitb1c691b53a4c4cf8a49b26c0a34bfea26c5b5884 (patch)
treebb6490ae1ac9e2c9121b5bfa937d14bb1e912819 /cryptlib.vcxproj.filters
parente5ab7919f98326504629264253eb3ad68c0f3515 (diff)
downloadcryptopp-git-b1c691b53a4c4cf8a49b26c0a34bfea26c5b5884.tar.gz
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.
Diffstat (limited to 'cryptlib.vcxproj.filters')
-rw-r--r--cryptlib.vcxproj.filters3
1 files changed, 3 insertions, 0 deletions
diff --git a/cryptlib.vcxproj.filters b/cryptlib.vcxproj.filters
index de140e33..9dd9324f 100644
--- a/cryptlib.vcxproj.filters
+++ b/cryptlib.vcxproj.filters
@@ -1064,6 +1064,9 @@
<CustomBuild Include="rdrand.asm">
<Filter>Source Files</Filter>
</CustomBuild>
+ <CustomBuild Include="rdseed.asm">
+ <Filter>Source Files</Filter>
+ </CustomBuild>
<CustomBuild Include="x64dll.asm">
<Filter>Source Files</Filter>
</CustomBuild>