receivedMac method
Verify and process a received MAC in the Strobe protocol.
Parameters:
meta: A boolean flag indicating whether metadata is included in the operation.mac: The received MAC to be verified.
Implementation
bool receivedMac(bool meta, List<int> mac) {
return operate(meta, StrobeOperation.recvMac, mac, 0, false)[0] == 0;
}