Fix sources after sync with upstream
parent
c44f32d683
commit
a25e63fcb7
4
gcm.cpp
4
gcm.cpp
|
|
@ -134,7 +134,7 @@ void GCM_Base::SetKeyWithoutResync(const byte *userKey, size_t keylength, const
|
||||||
// Avoid "parameter not used" error and suppress Coverity finding
|
// Avoid "parameter not used" error and suppress Coverity finding
|
||||||
(void)params.GetIntValue(Name::TableSize(), tableSize);
|
(void)params.GetIntValue(Name::TableSize(), tableSize);
|
||||||
tableSize = s_cltableSizeInBlocks * blockSize;
|
tableSize = s_cltableSizeInBlocks * blockSize;
|
||||||
CRYPTOPP_ASSERT(tableSize > blockSize);
|
CRYPTOPP_ASSERT(tableSize > static_cast<int>(blockSize));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#elif CRYPTOPP_ARM_PMULL_AVAILABLE
|
#elif CRYPTOPP_ARM_PMULL_AVAILABLE
|
||||||
|
|
@ -143,7 +143,7 @@ void GCM_Base::SetKeyWithoutResync(const byte *userKey, size_t keylength, const
|
||||||
// Avoid "parameter not used" error and suppress Coverity finding
|
// Avoid "parameter not used" error and suppress Coverity finding
|
||||||
(void)params.GetIntValue(Name::TableSize(), tableSize);
|
(void)params.GetIntValue(Name::TableSize(), tableSize);
|
||||||
tableSize = s_cltableSizeInBlocks * blockSize;
|
tableSize = s_cltableSizeInBlocks * blockSize;
|
||||||
CRYPTOPP_ASSERT(tableSize > blockSize);
|
CRYPTOPP_ASSERT(tableSize > static_cast<int>(blockSize));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
828
sha-simd.cpp
828
sha-simd.cpp
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue