Open opeth10 opened 4 months ago
Thanks for your interest. First I must apologize for the ridiculous late response, I really should have monitored this repo more= =
Let's me try to answer these questions to my best. Later my collaborator who wrote the p4 code will review the answers.
hdr.bft.pad0
. That field is used to keep track of the shards. As to use different keys, the remaining task is to convert it to use MATs. It should be relatively straightforward.
Notice that the server side has not been tested with switch-based multi-groups.
Hello,
Thanks for making your code public!
I have several questions about the HMAC implementation:
digest0
anddigest1
are parsed from thebft_h
header. Client messages have a 20B padding before the 8B checksum slice. However, themsg_num_h
andbft_h
headers are exactly 20B in size. Wouldn'tdigest0
anddigest1
be zeroes in this case? I'm not sure if I'm missing something here.Thanks!