| Index: remoting/protocol/auth_util.h
|
| diff --git a/remoting/protocol/auth_util.h b/remoting/protocol/auth_util.h
|
| index 61f98cf3d423326fb12bdb7b66c741b79c223a8f..642a943155723e0981b222c16705c471e5015a04 100644
|
| --- a/remoting/protocol/auth_util.h
|
| +++ b/remoting/protocol/auth_util.h
|
| @@ -31,18 +31,9 @@ const size_t kSharedSecretHashLength = 32;
|
| // Size of the HMAC-SHA-256 digest used for channel authentication.
|
| const size_t kAuthDigestLength = 32;
|
|
|
| -// TODO(sergeyu): The following two methods are used for V1
|
| -// authentication. Remove them when we finally switch to V2
|
| -// authentication method. crbug.com/110483 .
|
| -
|
| -// Generates auth token for the specified |jid| and |access_code|.
|
| -std::string GenerateSupportAuthToken(const std::string& jid,
|
| - const std::string& access_code);
|
| -
|
| -// Verifies validity of an |access_token|.
|
| -bool VerifySupportAuthToken(const std::string& jid,
|
| - const std::string& access_code,
|
| - const std::string& auth_token);
|
| +// Returns HMAC-SHA-256 hash for |shared_secret| with the specified |tag|.
|
| +std::string GetSharedSecretHash(const std::string& tag,
|
| + const std::string& shared_secret);
|
|
|
| // Returns authentication bytes that must be used for the given
|
| // |socket|. Empty string is returned in case of failure.
|
|
|