summaryrefslogtreecommitdiff
path: root/speck64_simd.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-11-13 00:02:34 -0500
committerJeffrey Walton <noloader@gmail.com>2018-11-13 00:02:34 -0500
commit27b61d875277693813d4447ed553ea9f3fe6c212 (patch)
treef89d784a07ae9fe2e32d0523d5fe46791061bde7 /speck64_simd.cpp
parent4da4f7ea2a9d0961e8e37a8f7e746dd1026b720d (diff)
downloadcryptopp-git-27b61d875277693813d4447ed553ea9f3fe6c212.tar.gz
Add CRYPTOPP_INLINE to SIMON and SPECk for debugging
Diffstat (limited to 'speck64_simd.cpp')
-rw-r--r--speck64_simd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/speck64_simd.cpp b/speck64_simd.cpp
index 9f120f45..0ed4f8d3 100644
--- a/speck64_simd.cpp
+++ b/speck64_simd.cpp
@@ -299,7 +299,7 @@ CRYPTOPP_INLINE __m128i RotateRight32(const __m128i& val)
// Faster than two Shifts and an Or. Thanks to Louis Wingers and Bryan Weeks.
template <>
-CRYPTOPP_INLINE __m128i RotateLeft32<8>(const __m128i& val)
+__m128i RotateLeft32<8>(const __m128i& val)
{
#if defined(__XOP__)
return _mm_roti_epi32(val, 8);
@@ -311,7 +311,7 @@ CRYPTOPP_INLINE __m128i RotateLeft32<8>(const __m128i& val)
// Faster than two Shifts and an Or. Thanks to Louis Wingers and Bryan Weeks.
template <>
-CRYPTOPP_INLINE __m128i RotateRight32<8>(const __m128i& val)
+__m128i RotateRight32<8>(const __m128i& val)
{
#if defined(__XOP__)
return _mm_roti_epi32(val, 32-8);