Searched refs:shared_secret (Results 1 - 25 of 108) sorted by relevance

12345

/external/chromium_org/remoting/client/plugin/
H A Dpepper_token_fetcher.cc33 const std::string& token, const std::string& shared_secret) {
35 token_fetched_callback_.Run(token, shared_secret);
32 OnTokenFetched( const std::string& token, const std::string& shared_secret) argument
H A Dpepper_token_fetcher.h31 const std::string& shared_secret);
/external/chromium_org/remoting/protocol/
H A Dit2me_host_authenticator_factory.cc17 const std::string& shared_secret)
20 shared_secret_(shared_secret) {
14 It2MeHostAuthenticatorFactory( const std::string& local_cert, scoped_refptr<RsaKeyPair> key_pair, const std::string& shared_secret) argument
H A Dthird_party_client_authenticator.h24 // request a |token| and |shared_secret| from that url. If the server requires
27 // to the host, and uses the |shared_secret| to create an underlying
35 // directly to the host. |shared_secret| should be used by the client to
37 // an empty |token| and |shared_secret|.
40 const std::string& shared_secret)> TokenFetchedCallback;
73 const std::string& shared_secret);
H A Dthird_party_client_authenticator.cc68 const std::string& shared_secret) {
70 if (token_.empty() || shared_secret.empty()) {
76 shared_secret, MESSAGE_READY);
65 OnThirdPartyTokenFetched( const base::Closure& resume_callback, const std::string& third_party_token, const std::string& shared_secret) argument
H A Dv2_authenticator.h28 const std::string& shared_secret,
34 const std::string& shared_secret,
52 const std::string& shared_secret,
H A Dthird_party_host_authenticator.cc78 const std::string& shared_secret) {
79 if (shared_secret.empty()) {
89 local_cert_, key_pair_, shared_secret, WAITING_MESSAGE);
75 OnThirdPartyTokenValidated( const buzz::XmlElement* message, const base::Closure& resume_callback, const std::string& shared_secret) argument
H A Dauth_util.h49 const base::StringPiece& shared_secret);
H A Dauthentication_method.cc55 const std::string& shared_secret) {
58 return shared_secret;
68 if (!response.Sign(shared_secret, out_bytes, sizeof(out_bytes))) {
77 return shared_secret;
52 ApplyHashFunction( HashFunction hash_function, const std::string& tag, const std::string& shared_secret) argument
H A Dit2me_host_authenticator_factory.h29 const std::string& shared_secret);
H A Dauth_util.cc46 const base::StringPiece& shared_secret) {
63 if (!response.Sign(shared_secret, out_bytes, kAuthDigestLength)) {
44 GetAuthBytes(net::SSLSocket* socket, const base::StringPiece& label, const base::StringPiece& shared_secret) argument
H A Dnegotiating_client_authenticator.h29 const std::string& shared_secret,
63 // |shared_secret|, then runs |resume_callback|.
67 const std::string& shared_secret);
H A Dthird_party_host_authenticator.h25 // validate it, and exchange it for a |shared_secret|. Once the |TokenValidator|
26 // returns, the host uses the |shared_secret| to create an underlying
33 // authentication finishes. |shared_secret| should be used by the host to
35 // an empty |shared_secret|.
37 const std::string& shared_secret)> TokenValidatedCallback;
41 // Validates |token| with the server and exchanges it for a |shared_secret|.
87 const std::string& shared_secret);
/external/openssh/
H A Dkexdhc.c50 BIGNUM *dh_server_pub = NULL, *shared_secret = NULL; local
123 if ((shared_secret = BN_new()) == NULL)
125 if (BN_bin2bn(kbuf, kout, shared_secret) == NULL)
139 shared_secret,
158 kex_derive_keys(kex, hash, hashlen, shared_secret);
159 BN_clear_free(shared_secret);
H A Dkexdhs.c53 BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; local
116 if ((shared_secret = BN_new()) == NULL)
118 if (BN_bin2bn(kbuf, kout, shared_secret) == NULL)
134 shared_secret,
165 kex_derive_keys(kex, hash, hashlen, shared_secret);
166 BN_clear_free(shared_secret);
H A Dkexecdhc.c55 BIGNUM *shared_secret; local
121 if ((shared_secret = BN_new()) == NULL)
123 if (BN_bin2bn(kbuf, klen, shared_secret) == NULL)
139 shared_secret,
158 kex_derive_keys(kex, hash, hashlen, shared_secret);
159 BN_clear_free(shared_secret);
H A Dkexecdhs.c57 BIGNUM *shared_secret; local
103 /* Calculate shared_secret */
113 if ((shared_secret = BN_new()) == NULL)
115 if (BN_bin2bn(kbuf, klen, shared_secret) == NULL)
132 shared_secret,
163 kex_derive_keys(kex, hash, hashlen, shared_secret);
164 BN_clear_free(shared_secret);
H A Dkexgexc.c52 BIGNUM *dh_server_pub = NULL, *shared_secret = NULL; local
161 if ((shared_secret = BN_new()) == NULL)
163 if (BN_bin2bn(kbuf, kout, shared_secret) == NULL)
183 shared_secret,
203 kex_derive_keys(kex, hash, hashlen, shared_secret);
204 BN_clear_free(shared_secret);
H A Dkexgexs.c56 BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; local
153 if ((shared_secret = BN_new()) == NULL)
155 if (BN_bin2bn(kbuf, kout, shared_secret) == NULL)
177 shared_secret,
209 kex_derive_keys(kex, hash, hashlen, shared_secret);
210 BN_clear_free(shared_secret);
H A Dkexdh.c49 BIGNUM *shared_secret,
72 buffer_put_bignum2(&b, shared_secret);
41 kex_dh_hash( char *client_version_string, char *server_version_string, char *ckexinit, int ckexinitlen, char *skexinit, int skexinitlen, u_char *serverhostkeyblob, int sbloblen, BIGNUM *client_dh_pub, BIGNUM *server_dh_pub, BIGNUM *shared_secret, u_char **hash, u_int *hashlen) argument
/external/chromium_org/remoting/host/
H A Dtoken_validator_factory_impl_unittest.cc40 void SuccessCallback(const std::string& shared_secret) { argument
41 EXPECT_FALSE(shared_secret.empty());
45 void FailureCallback(const std::string& shared_secret) { argument
46 EXPECT_TRUE(shared_secret.empty());
50 void DeleteOnFailureCallback(const std::string& shared_secret) { argument
51 EXPECT_TRUE(shared_secret.empty());
69 response_dict.SetString("token_type", "shared_secret");
/external/wpa_supplicant_8/hostapd/src/radius/
H A Dradius_das.h32 const u8 *shared_secret; member in struct:radius_das_conf
H A Dradius_client.h39 * shared_secret - Shared secret for authenticating RADIUS messages
41 u8 *shared_secret; member in struct:hostapd_radius_server
44 * shared_secret_len - Length of shared_secret in octets
241 const u8 *shared_secret, size_t shared_secret_len,
/external/wpa_supplicant_8/src/radius/
H A Dradius_das.h32 const u8 *shared_secret; member in struct:radius_das_conf
/external/wpa_supplicant_8/wpa_supplicant/src/radius/
H A Dradius_das.h32 const u8 *shared_secret; member in struct:radius_das_conf

Completed in 280 milliseconds

12345