Fix NX, add constant time compare
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-riscv64:latest, riscv64-linux-gnu, riscv64, asrock) (push) Successful in 54s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-x86:latest, i386-linux-gnu, 386, asrock) (push) Successful in 54s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-arm64:latest, aarch64-linux-gnu, arm64, asrock) (push) Successful in 55s
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Successful in 1m11s
Build and Deploy on Tag / 🔨 Build for PowerPC (push) Successful in 2m10s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-x64:latest, x86_64-linux-gnu, amd64, msi-walmart) (push) Successful in 2m15s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-arm:latest, arm-linux-gnueabihf, arm7, msi-walmart) (push) Successful in 2m19s

This commit is contained in:
2026-10-25 17:48:20 -05:00
parent fae86d2eb5
commit d99001d6eb
7 changed files with 16 additions and 89 deletions
@@ -80,15 +80,7 @@ class NetworkStream : public Stream {
size_t ReadFrom(uint8_t *buff, size_t sz, std::string &ip, uint16_t &port);
size_t WriteTo(const uint8_t *buff, size_t sz, std::string ip,
uint16_t port);
size_t ReadFrom(TF_Span<uint8_t> buff, std::string &ip, uint16_t &port)
{
return ReadFrom(buff.data(),buff.size(),ip, port);
}
size_t WriteTo(const TF_Span<uint8_t> buff, std::string ip,
uint16_t port)
{
return WriteTo(buff.data(),buff.size(),ip, port);
}
static std::vector<std::pair<std::string, std::string>>
GetIPs(bool ipV6 = false);
@@ -35,22 +35,6 @@ class Stream {
virtual size_t Write(const uint8_t *buff, size_t sz);
size_t ReadBlock(uint8_t *buff, size_t sz);
void WriteBlock(const uint8_t *buff, size_t sz);
size_t Read(TF_Span<uint8_t> buff) {
return Read(buff.data(), buff.size());
}
size_t Write(const TF_Span<uint8_t> buff)
{
return Write(buff.data(), buff.size());
}
size_t ReadBlock(TF_Span<uint8_t> buff)
{
return ReadBlock(buff.data(), buff.size());
}
void WriteBlock(const TF_Span<uint8_t> buff)
{
WriteBlock(buff.data(),buff.size());
}
virtual bool CanRead();
virtual bool CanWrite();