summaryrefslogtreecommitdiff
path: root/vmac.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-07-05 17:26:50 -0400
committerJeffrey Walton <noloader@gmail.com>2019-07-05 17:26:50 -0400
commit9c28cf222723ec56a97630d82424f6a6658e0e38 (patch)
tree69b47d0f4be7bb33a59ed6c5508308c0acf656a0 /vmac.cpp
parentad99fc5b05e14502b507b1fb4cac1e8a2ab5af43 (diff)
downloadcryptopp-git-9c28cf222723ec56a97630d82424f6a6658e0e38.tar.gz
Whitespace check-in
Cleanup after the VMAC fixes
Diffstat (limited to 'vmac.cpp')
-rw-r--r--vmac.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/vmac.cpp b/vmac.cpp
index 806904ec..b27b5214 100644
--- a/vmac.cpp
+++ b/vmac.cpp
@@ -204,14 +204,11 @@ void VMAC_Base::VHASH_Update_SSE2(const word64 *data, size_t blocksRemainingInWo
// GCC that ESP is dirty. The problems with GCC are the reason for the
// pushes and pops rather than the original moves.
#ifdef __GNUC__
- // word32 temp;
__asm__ __volatile__
(
- // AS2( mov %%ebx, %0)
- // AS2( mov %1, %%ebx) // L1KeyLength
AS1( push %%ebx)
AS1( push %0) // L1KeyLength
- AS1( pop %%ebx)
+ AS1( pop %%ebx)
INTEL_NOPREFIX
#else
#if defined(__INTEL_COMPILER)
@@ -431,9 +428,8 @@ void VMAC_Base::VHASH_Update_SSE2(const word64 *data, size_t blocksRemainingInWo
AS1( emms)
#ifdef __GNUC__
ATT_PREFIX
- AS1( pop %%ebx)
- // AS2( mov %0, %%ebx)
- : // "=m" (temp)
+ AS1( pop %%ebx)
+ :
: "m" (L1KeyLength), "c" (blocksRemainingInWord64), "S" (data),
"D" (nhK+tagPart*2), "d" (m_isFirstBlock), "a" (polyS+tagPart*4)
: "esp", "memory", "cc"