OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Definitions related to the SecureMessage format, used by CryptAuth. Do not | 5 // Definitions related to the SecureMessage format, used by CryptAuth. Do not |
6 // edit unless transcribing from server definitions. | 6 // edit unless transcribing from server definitions. |
7 syntax = "proto2"; | 7 syntax = "proto2"; |
8 | 8 |
9 package securemessage; | 9 package securemessage; |
10 | 10 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 // Diffie-Hellman Key Exchange. | 107 // Diffie-Hellman Key Exchange. |
108 message InitiatorHello { | 108 message InitiatorHello { |
109 optional GenericPublicKey public_dh_key = 1; | 109 optional GenericPublicKey public_dh_key = 1; |
110 } | 110 } |
111 | 111 |
112 // Sent inside the header of the first message from the responder to the | 112 // Sent inside the header of the first message from the responder to the |
113 // initiator in an unauthenticated Diffie-Hellman Key Exchange. | 113 // initiator in an unauthenticated Diffie-Hellman Key Exchange. |
114 message ResponderHello { | 114 message ResponderHello { |
115 optional GenericPublicKey public_dh_key = 1; | 115 optional GenericPublicKey public_dh_key = 1; |
116 } | 116 } |
OLD | NEW |