chore: fix compilation issues with x64

This commit is contained in:
Jan committed 2025-04-06 18:02:47 +01:00
1 parent 37d52ae8da
commit 6f31e8cc29
32 files changed
+150 -155

No files matched your search

@@ -22,7 +22,7 @@ uint8_t* AbstractSalsa20Processor::GetHashBlock(const int streamNumber) const
void AbstractSalsa20Processor::InitStreams(const std::string& zoneName, const uint8_t* salsa20Key, const size_t keySize) const
{
// Original buffer must have been 32 bytes because the zoneName can at most be 31 characters be long before being cut off
const auto zoneNameLength = std::min(zoneName.length(), 31u);
const auto zoneNameLength = std::min(zoneName.length(), 31uz);
const size_t blockHashBufferSize = BLOCK_HASHES_COUNT * m_stream_count * SHA1_HASH_SIZE;