Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenTTD/OpenTTD
/ MACSize
Method
MACSize
src/network/network_crypto.cpp:119–122 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
117
}
118
119
size_t MACSize() const override
120
{
121
return X25519_MAC_SIZE;
122
}
123
124
bool Decrypt(std::span<std::uint8_t> mac, std::span<std::uint8_t> message) override
125
{
Callers
4
Packet
Method · 0.80
PrepareToSend
Method · 0.80
PrepareToRead
Method · 0.80
GetPacketType
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected