Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Unified Diff: remoting/protocol/negotiating_authenticator_base.cc

Issue 1780403002: Enable Curve25519 in host and client for PIN-based and third-party auth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/protocol/negotiating_authenticator_base.cc
diff --git a/remoting/protocol/negotiating_authenticator_base.cc b/remoting/protocol/negotiating_authenticator_base.cc
index 5fe81293caa67023ebb65a19172aa925150466db..b42f1258fc6f67e5b9723ca16439efe3643710b4 100644
--- a/remoting/protocol/negotiating_authenticator_base.cc
+++ b/remoting/protocol/negotiating_authenticator_base.cc
@@ -23,12 +23,21 @@ namespace {
const NameMapElement<NegotiatingAuthenticatorBase::Method>
kAuthenticationMethodStrings[] = {
- {NegotiatingAuthenticatorBase::Method::SPAKE2_SHARED_SECRET_PLAIN,
+ {NegotiatingAuthenticatorBase::Method::SHARED_SECRET_PLAIN_SPAKE2_P224,
"spake2_plain"},
- {NegotiatingAuthenticatorBase::Method::SPAKE2_SHARED_SECRET_HMAC,
+
+ {NegotiatingAuthenticatorBase::Method::SHARED_SECRET_SPAKE2_P224,
"spake2_hmac"},
- {NegotiatingAuthenticatorBase::Method::SPAKE2_PAIR, "spake2_pair"},
- {NegotiatingAuthenticatorBase::Method::THIRD_PARTY, "third_party"},
+ {NegotiatingAuthenticatorBase::Method::SHARED_SECRET_SPAKE2_CURVE25519,
+ "spake2_curve25519"},
+
+ {NegotiatingAuthenticatorBase::Method::PAIRED_SPAKE2_P224,
+ "spake2_pair"},
+
+ {NegotiatingAuthenticatorBase::Method::THIRD_PARTY_SPAKE2_P224,
+ "third_party"},
+ {NegotiatingAuthenticatorBase::Method::THIRD_PARTY_SPAKE2_CURVE25519,
+ "third_party_spake2_curve25519"},
};
} // namespace
« no previous file with comments | « remoting/protocol/negotiating_authenticator_base.h ('k') | remoting/protocol/negotiating_authenticator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698