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

Unified Diff: chrome/browser/chromeos/login/parallel_authenticator.cc

Issue 8332013: Removed legacy encoding mechanism that was temporarely used at one point while WebUI was still be... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
« no previous file with comments | « chrome/browser/chromeos/login/parallel_authenticator.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/parallel_authenticator.cc
===================================================================
--- chrome/browser/chromeos/login/parallel_authenticator.cc (revision 106962)
+++ chrome/browser/chromeos/login/parallel_authenticator.cc (working copy)
@@ -751,15 +751,6 @@
encrypted_token_hex);
}
-std::string ParallelAuthenticator::DecryptLegacyToken(
- const std::string& encrypted_token_hex) {
- scoped_ptr<crypto::SymmetricKey> key(
- crypto::SymmetricKey::DeriveKeyFromPassword(
- crypto::SymmetricKey::AES, UserSupplementalKeyAsAscii(),
- SaltAsAscii(), 1000, 256));
- return DecryptTokenWithKey(key.get(), SaltAsAscii(), encrypted_token_hex);
-}
-
std::string ParallelAuthenticator::HashPassword(const std::string& password) {
// Get salt, ascii encode, update sha with that, then update with ascii
// of password, then end.
@@ -782,12 +773,6 @@
system_salt_.size()));
}
-std::string ParallelAuthenticator::UserSupplementalKeyAsAscii() {
- // TODO(zelidrag, wad): http://crosbug.com/18633 - Replace this with the real
- // user suplemental key gets exposed in from cryptolib.
- return SaltAsAscii();
-}
-
void ParallelAuthenticator::ResolveLoginCompletionStatus() {
// Shortcut online state resolution process.
current_state_->RecordOnlineLoginStatus(GaiaAuthConsumer::ClientLoginResult(),
« no previous file with comments | « chrome/browser/chromeos/login/parallel_authenticator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698