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

Unified Diff: chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.cc

Issue 2934893003: Deleted redundant SymmetricKey::GetRawKey(). (Closed)
Patch Set: Rebased to fix conflict with ToT. Created 3 years, 6 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 | « no previous file | chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.cc
diff --git a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.cc b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.cc
index 2a2aee9a9b948698a19cba0d778cd210d8657853..abbe1be72f5996df91558257267d090f66bd73ef 100644
--- a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.cc
+++ b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.cc
@@ -291,17 +291,10 @@ void EasyUnlockCreateKeysOperation::CreateKeyForDeviceAtIndex(size_t index) {
return;
}
- std::string raw_session_key;
- session_key->GetRawKey(&raw_session_key);
-
challenge_creator_.reset(new ChallengeCreator(
- user_key,
- raw_session_key,
- tpm_public_key_,
- device,
+ user_key, session_key->key(), tpm_public_key_, device,
base::Bind(&EasyUnlockCreateKeysOperation::OnChallengeCreated,
- weak_ptr_factory_.GetWeakPtr(),
- index)));
+ weak_ptr_factory_.GetWeakPtr(), index)));
challenge_creator_->Start();
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698