OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef REMOTING_PROTOCOL_SPAKE2_AUTHENTICATOR_H_ | 5 #ifndef REMOTING_PROTOCOL_SPAKE2_AUTHENTICATOR_H_ |
6 #define REMOTING_PROTOCOL_SPAKE2_AUTHENTICATOR_H_ | 6 #define REMOTING_PROTOCOL_SPAKE2_AUTHENTICATOR_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
15 #include "remoting/protocol/authenticator.h" | 16 #include "remoting/protocol/authenticator.h" |
16 | 17 |
17 typedef struct spake2_ctx_st SPAKE2_CTX; | 18 typedef struct spake2_ctx_st SPAKE2_CTX; |
18 | 19 |
19 namespace remoting { | 20 namespace remoting { |
20 | 21 |
21 class RsaKeyPair; | 22 class RsaKeyPair; |
22 | 23 |
23 namespace protocol { | 24 namespace protocol { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 std::string auth_key_; | 91 std::string auth_key_; |
91 std::string expected_verification_hash_; | 92 std::string expected_verification_hash_; |
92 | 93 |
93 DISALLOW_COPY_AND_ASSIGN(Spake2Authenticator); | 94 DISALLOW_COPY_AND_ASSIGN(Spake2Authenticator); |
94 }; | 95 }; |
95 | 96 |
96 } // namespace protocol | 97 } // namespace protocol |
97 } // namespace remoting | 98 } // namespace remoting |
98 | 99 |
99 #endif // REMOTING_PROTOCOL_SPAKE2_AUTHENTICATOR_H_ | 100 #endif // REMOTING_PROTOCOL_SPAKE2_AUTHENTICATOR_H_ |
OLD | NEW |