Home
last modified time | relevance | path

Searched refs:AuthenticationMethod (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/remoting/protocol/
Dauthentication_method.cc16 AuthenticationMethod AuthenticationMethod::Invalid() { in Invalid()
17 return AuthenticationMethod(); in Invalid()
21 AuthenticationMethod AuthenticationMethod::Spake2(HashFunction hash_function) { in Spake2()
22 return AuthenticationMethod(SPAKE2, hash_function); in Spake2()
26 AuthenticationMethod AuthenticationMethod::Spake2Pair() { in Spake2Pair()
27 return AuthenticationMethod(SPAKE2_PAIR, HMAC_SHA256); in Spake2Pair()
31 AuthenticationMethod AuthenticationMethod::ThirdParty() { in ThirdParty()
32 return AuthenticationMethod(THIRD_PARTY, NONE); in ThirdParty()
36 AuthenticationMethod AuthenticationMethod::FromString( in FromString()
47 return AuthenticationMethod::Invalid(); in FromString()
[all …]
Dnegotiating_authenticator_unittest.cc58 AuthenticationMethod::HashFunction hash_function, in InitAuthenticators()
60 std::string host_secret_hash = AuthenticationMethod::ApplyHashFunction( in InitAuthenticators()
66 std::vector<AuthenticationMethod> methods; in InitAuthenticators()
67 methods.push_back(AuthenticationMethod::Spake2Pair()); in InitAuthenticators()
68 methods.push_back(AuthenticationMethod::Spake2( in InitAuthenticators()
69 AuthenticationMethod::HMAC_SHA256)); in InitAuthenticators()
71 methods.push_back(AuthenticationMethod::Spake2( in InitAuthenticators()
72 AuthenticationMethod::NONE)); in InitAuthenticators()
117 void VerifyAccepted(const AuthenticationMethod& expected_method) { in VerifyAccepted()
160 AuthenticationMethod::HMAC_SHA256, false)); in TEST_F()
[all …]
Dauthentication_method.h22 class AuthenticationMethod {
37 static AuthenticationMethod Invalid();
38 static AuthenticationMethod Spake2(HashFunction hash_function);
39 static AuthenticationMethod Spake2Pair();
40 static AuthenticationMethod ThirdParty();
44 static AuthenticationMethod FromString(const std::string& value);
66 bool operator ==(const AuthenticationMethod& other) const;
67 bool operator !=(const AuthenticationMethod& other) const {
72 AuthenticationMethod();
73 AuthenticationMethod(MethodType type, HashFunction hash_function);
[all …]
Dnegotiating_host_authenticator.cc37 AuthenticationMethod::HashFunction hash_function, in CreateWithSharedSecret()
43 result->AddMethod(AuthenticationMethod::Spake2(hash_function)); in CreateWithSharedSecret()
45 result->AddMethod(AuthenticationMethod::Spake2Pair()); in CreateWithSharedSecret()
59 result->AddMethod(AuthenticationMethod::ThirdParty()); in CreateWithThirdPartyAuth()
72 AuthenticationMethod method = AuthenticationMethod::FromString(method_attr); in ProcessMessage()
87 method = AuthenticationMethod::Invalid(); in ProcessMessage()
106 AuthenticationMethod list_value = AuthenticationMethod::FromString(*it); in ProcessMessage()
159 if (current_method_.type() == AuthenticationMethod::THIRD_PARTY) { in CreateAuthenticator()
166 } else if (current_method_ == AuthenticationMethod::Spake2Pair() && in CreateAuthenticator()
179 DCHECK(current_method_.type() == AuthenticationMethod::SPAKE2 || in CreateAuthenticator()
[all …]
Dnegotiating_client_authenticator.cc28 const std::vector<AuthenticationMethod>& methods) in NegotiatingClientAuthenticator()
38 for (std::vector<AuthenticationMethod>::const_iterator it = methods.begin(); in NegotiatingClientAuthenticator()
53 AuthenticationMethod method = AuthenticationMethod::FromString(method_attr); in ProcessMessage()
100 for (std::vector<AuthenticationMethod>::iterator it = methods_.begin(); in GetNextMessage()
117 if (current_method_.type() == AuthenticationMethod::THIRD_PARTY) { in CreateAuthenticatorForCurrentMethod()
126 DCHECK(current_method_.type() == AuthenticationMethod::SPAKE2 || in CreateAuthenticatorForCurrentMethod()
127 current_method_.type() == AuthenticationMethod::SPAKE2_PAIR); in CreateAuthenticatorForCurrentMethod()
129 (current_method_.type() == AuthenticationMethod::SPAKE2_PAIR); in CreateAuthenticatorForCurrentMethod()
140 AuthenticationMethod::Spake2Pair()) != methods_.end()) { in CreatePreferredAuthenticator()
146 current_method_ = AuthenticationMethod::Spake2Pair(); in CreatePreferredAuthenticator()
[all …]
Dnegotiating_authenticator_base.h76 const AuthenticationMethod& current_method_for_testing() const { in current_method_for_testing()
87 void AddMethod(const AuthenticationMethod& method);
97 std::vector<AuthenticationMethod> methods_;
98 AuthenticationMethod current_method_;
Dpairing_client_authenticator.cc65 AuthenticationMethod::ApplyHashFunction( in OnPinFetched()
66 AuthenticationMethod::HMAC_SHA256, in OnPinFetched()
Dnegotiating_authenticator_base.cc31 : current_method_(AuthenticationMethod::Invalid()), in NegotiatingAuthenticatorBase()
94 const AuthenticationMethod& method) { in AddMethod()
Dit2me_host_authenticator_factory.cc31 local_cert_, key_pair_, shared_secret_, AuthenticationMethod::NONE, NULL); in CreateAuthenticator()
Dnegotiating_host_authenticator.h39 AuthenticationMethod::HashFunction hash_function,
Dnegotiating_client_authenticator.h33 const std::vector<AuthenticationMethod>& methods);
/external/chromium_org/remoting/host/
Dpin_hash.cc16 std::string hash = protocol::AuthenticationMethod::ApplyHashFunction( in MakeHostPinHash()
17 protocol::AuthenticationMethod::HMAC_SHA256, host_id, pin); in MakeHostPinHash()
32 remoting::protocol::AuthenticationMethod::ApplyHashFunction( in VerifyHostPinHash()
/external/chromium_org/remoting/client/
Dclient_config.h26 std::vector<protocol::AuthenticationMethod> authentication_methods;
Dchromoting_client.cc25 using protocol::AuthenticationMethod;
/external/chromium_org/remoting/client/jni/
Dchromoting_jni_instance.cc69 protocol::AuthenticationMethod::FromString("spake2_pair")); in ChromotingJniInstance()
71 protocol::AuthenticationMethod::FromString("spake2_hmac")); in ChromotingJniInstance()
73 protocol::AuthenticationMethod::FromString("spake2_plain")); in ChromotingJniInstance()
/external/chromium_org/tools/valgrind/tsan/
Dsuppressions_win32.txt295 fun:remoting::protocol::AuthenticationMethod::ApplyHashFunction
/external/chromium_org/remoting/client/plugin/
Dchromoting_instance.cc185 protocol::AuthenticationMethod authentication_method = in ParseAuthMethods()
186 protocol::AuthenticationMethod::FromString(*it); in ParseAuthMethods()