#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "remoting/protocol/auth_util.h"
#include "base/base64.h"
#include "base/logging.h"
#include "base/strings/string_util.h"
#include "crypto/hmac.h"
#include "crypto/sha2.h"
#include "net/base/net_errors.h"
#include "net/socket/ssl_socket.h"
namespace remoting::protocol {
const char kClientAuthSslExporterLabel[] = …;
const char kHostAuthSslExporterLabel[] = …;
const char kSslFakeHostName[] = …;
std::string GetSharedSecretHash(const std::string& tag,
const std::string& shared_secret) { … }
std::string GetAuthBytes(net::SSLSocket* socket,
const std::string_view& label,
const std::string_view& shared_secret) { … }
}