diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-08-20 04:21:24 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-08-20 04:21:24 -0400 |
commit | 8c47095a5744e90b9154b48810f3ef0ce46605a1 (patch) | |
tree | 941ff19b782eb9a1842aefe36464ac6df295c2fb /padlkrng.cpp | |
parent | 61c8b7495199d8c9e5579381ac8a283dc656c68d (diff) | |
download | cryptopp-git-8c47095a5744e90b9154b48810f3ef0ce46605a1.tar.gz |
FIX GCC ASM template
is the constant 2. %2 is the second positional argument, which is the XSTORE divisor. We want the later.
Diffstat (limited to 'padlkrng.cpp')
-rw-r--r-- | padlkrng.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/padlkrng.cpp b/padlkrng.cpp index c6a29035..13a90b75 100644 --- a/padlkrng.cpp +++ b/padlkrng.cpp @@ -33,7 +33,7 @@ void PadlockRNG::GenerateBlock(byte *output, size_t size) __asm__ __volatile__
(
"movl %1, %%edi ;\n"
- "movl $2, %%edx ;\n"
+ "movl %2, %%edx ;\n"
".byte 0x0f, 0xa7, 0xc0 ;\n"
"movl %%eax, %0 ;\n"
|