summaryrefslogtreecommitdiff
path: root/vmac.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-01-25 08:58:33 -0500
committerJeffrey Walton <noloader@gmail.com>2016-01-25 08:58:33 -0500
commit24e16f0ac330cc220b966c31fb9994882dfd211e (patch)
tree82d00ecfbafcc549efe2c7bfa6e7186cdcbf0218 /vmac.cpp
parentcdcff65a350895bf81bc245d71ed27866a34787c (diff)
downloadcryptopp-git-24e16f0ac330cc220b966c31fb9994882dfd211e.tar.gz
Fixed unused variable warnings
Diffstat (limited to 'vmac.cpp')
-rw-r--r--vmac.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/vmac.cpp b/vmac.cpp
index c3c97cfe..713d493c 100644
--- a/vmac.cpp
+++ b/vmac.cpp
@@ -172,13 +172,15 @@ VMAC_Base::VHASH_Update_SSE2(const word64 *data, size_t blocksRemainingInWord64,
{
assert(IsAlignedOn(m_polyState(),GetAlignmentOf<word64>()));
assert(IsAlignedOn(m_nhKey(),GetAlignmentOf<word64>()));
- CRYPTOPP_UNUSED(data); CRYPTOPP_UNUSED(tagPart); CRYPTOPP_UNUSED(L1KeyLength);
- CRYPTOPP_UNUSED(blocksRemainingInWord64);
const word64 *nhK = m_nhKey();
word64 *polyS = (word64*)(void*)m_polyState();
word32 L1KeyLength = m_L1KeyLength;
+ // These are used in the ASM, but some analysis engines cnnot determine it.
+ CRYPTOPP_UNUSED(data); CRYPTOPP_UNUSED(tagPart); CRYPTOPP_UNUSED(L1KeyLength);
+ CRYPTOPP_UNUSED(blocksRemainingInWord64);
+
#ifdef __GNUC__
word32 temp;
__asm__ __volatile__