add hmac to REQ_GET_PUBKEY
This commit is contained in:
@@ -34,7 +34,7 @@ const (
|
||||
// [ ds.Sign(serverPrivKey, rest) - 2420 bytes ] [ ip - 16 bytes ] [ hpke.Seal(pubKey, multicastKey) - 1168 bytes ]
|
||||
RESP_REGISTER
|
||||
// (client -> server) requests peer's pubKey from the server for encapsulation
|
||||
// [ ip - 16 bytes ]
|
||||
// [ HMAC(authSecret, rest) - 32 bytes ] [ ip - 16 bytes ]
|
||||
REQ_GET_PUBKEY
|
||||
// (server -> client) provides requested pubKey
|
||||
// [ ds.Sign(serverPrivKey, rest) - 2420 bytes ] [ ip - 16 bytes ] [ pubKey - 1216 bytes ]
|
||||
|
||||
Reference in New Issue
Block a user