Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Unified Diff: components/cryptauth/proto/securemessage.proto

Issue 2899863002: Updating D2D protocol to v1 to support separate sequence numbers. (Closed)
Patch Set: Addressing comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/cryptauth/proto/securemessage.proto
diff --git a/components/cryptauth/proto/securemessage.proto b/components/cryptauth/proto/securemessage.proto
index c086145a06a8d5a258c5e47019bc8b69599efb35..58ec3bd37c721458e8810edc32c816ea20638718 100644
--- a/components/cryptauth/proto/securemessage.proto
+++ b/components/cryptauth/proto/securemessage.proto
@@ -106,11 +106,19 @@ message DeviceToDeviceMessage {
// Sent as the first message from initiator to responder in an unauthenticated
// Diffie-Hellman Key Exchange.
message InitiatorHello {
+ // The session public key to send to the responder.
optional GenericPublicKey public_dh_key = 1;
+
+ // The protocol version.
+ optional int32 protocol_version = 2 [default = 0];
}
// Sent inside the header of the first message from the responder to the
// initiator in an unauthenticated Diffie-Hellman Key Exchange.
message ResponderHello {
+ // The session public key to send to the initiator.
optional GenericPublicKey public_dh_key = 1;
+
+ // The protocol version.
+ optional int32 protocol_version = 2 [default = 0];
}
« no previous file with comments | « components/cryptauth/device_to_device_secure_context_unittest.cc ('k') | components/cryptauth/session_keys.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698