Searched refs:AuthenticationMethod (Results 1 – 17 of 17) sorted by relevance
/external/chromium_org/remoting/protocol/ |
D | authentication_method.cc | 16 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 …]
|
D | negotiating_authenticator_unittest.cc | 58 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 …]
|
D | authentication_method.h | 22 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 …]
|
D | negotiating_host_authenticator.cc | 37 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 …]
|
D | negotiating_client_authenticator.cc | 28 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 …]
|
D | negotiating_authenticator_base.h | 76 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_;
|
D | pairing_client_authenticator.cc | 65 AuthenticationMethod::ApplyHashFunction( in OnPinFetched() 66 AuthenticationMethod::HMAC_SHA256, in OnPinFetched()
|
D | negotiating_authenticator_base.cc | 31 : current_method_(AuthenticationMethod::Invalid()), in NegotiatingAuthenticatorBase() 94 const AuthenticationMethod& method) { in AddMethod()
|
D | it2me_host_authenticator_factory.cc | 31 local_cert_, key_pair_, shared_secret_, AuthenticationMethod::NONE, NULL); in CreateAuthenticator()
|
D | negotiating_host_authenticator.h | 39 AuthenticationMethod::HashFunction hash_function,
|
D | negotiating_client_authenticator.h | 33 const std::vector<AuthenticationMethod>& methods);
|
/external/chromium_org/remoting/host/ |
D | pin_hash.cc | 16 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/ |
D | client_config.h | 26 std::vector<protocol::AuthenticationMethod> authentication_methods;
|
D | chromoting_client.cc | 25 using protocol::AuthenticationMethod;
|
/external/chromium_org/remoting/client/jni/ |
D | chromoting_jni_instance.cc | 69 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/ |
D | suppressions_win32.txt | 295 fun:remoting::protocol::AuthenticationMethod::ApplyHashFunction
|
/external/chromium_org/remoting/client/plugin/ |
D | chromoting_instance.cc | 185 protocol::AuthenticationMethod authentication_method = in ParseAuthMethods() 186 protocol::AuthenticationMethod::FromString(*it); in ParseAuthMethods()
|