MCPcopy 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

PacketMethod · 0.80
PrepareToSendMethod · 0.80
PrepareToReadMethod · 0.80
GetPacketTypeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected