/external/chromium_org/chromeos/cryptohome/ |
H A D | system_salt_getter_unittest.cc | 19 const std::string& system_salt) { 20 *out_system_salt = system_salt; 50 std::string system_salt; local 52 base::Bind(&CopySystemSalt, &system_salt)); 54 EXPECT_TRUE(system_salt.empty()); // System salt is not returned yet. 62 EXPECT_EQ(expected_system_salt, system_salt); // System salt is returned. 18 CopySystemSalt(std::string* out_system_salt, const std::string& system_salt) argument
|
H A D | system_salt_getter.cc | 58 const std::vector<uint8>& system_salt) { 60 !system_salt.empty() && 61 system_salt.size() % 2 == 0U) 62 system_salt_ = ConvertRawSaltToHexString(system_salt); 56 DidGetSystemSalt(const GetSystemSaltCallback& callback, DBusMethodCallStatus call_status, const std::vector<uint8>& system_salt) argument
|
/external/chromium_org/chrome/browser/chromeos/login/easy_unlock/ |
H A D | easy_unlock_remove_keys_operation.cc | 43 const std::string& system_salt) { 45 system_salt); 42 OnGetSystemSalt( const std::string& system_salt) argument
|
H A D | easy_unlock_create_keys_operation.cc | 332 const std::string& system_salt) { 334 if (system_salt.empty()) { 341 user_key.Transform(Key::KEY_TYPE_SALTED_SHA256_TOP_HALF, system_salt); 367 auth_key->Transform(Key::KEY_TYPE_SALTED_SHA256_TOP_HALF, system_salt); 330 OnGetSystemSalt( size_t index, const std::string& system_salt) argument
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
H A D | token_encryptor.cc | 26 const std::string& system_salt) 27 : system_salt_(system_salt) { 28 DCHECK(!system_salt.empty()); 25 CryptohomeTokenEncryptor( const std::string& system_salt) argument
|
H A D | device_oauth2_token_service.cc | 216 const std::string& system_salt) { 217 system_salt_ = system_salt; 215 DidGetSystemSalt( const std::string& system_salt) argument
|
/external/chromium_org/chromeos/dbus/ |
H A D | fake_cryptohome_client.h | 214 void set_system_salt(const std::vector<uint8>& system_salt) { argument 215 system_salt_ = system_salt;
|
/external/chromium_org/chrome/browser/chromeos/login/supervised/ |
H A D | supervised_user_authenticator.cc | 63 const std::string& system_salt) { 69 key.Transform(Key::KEY_TYPE_SALTED_SHA256_TOP_HALF, system_salt); 88 const std::string& system_salt) { 94 user_key.Transform(Key::KEY_TYPE_SALTED_SHA256_TOP_HALF, system_salt); 96 master_key.Transform(Key::KEY_TYPE_SALTED_SHA256_TOP_HALF, system_salt); 60 Mount(SupervisedUserAuthenticator::AuthAttempt* attempt, scoped_refptr<SupervisedUserAuthenticator> resolver, int flags, const std::string& system_salt) argument 85 AddKey(SupervisedUserAuthenticator::AuthAttempt* attempt, scoped_refptr<SupervisedUserAuthenticator> resolver, const std::string& plain_text_master_key, const std::string& system_salt) argument
|
/external/chromium_org/chromeos/login/auth/ |
H A D | extended_authenticator_impl.cc | 173 void ExtendedAuthenticatorImpl::OnSaltObtained(const std::string& system_salt) { argument 175 system_salt_ = system_salt;
|
H A D | cryptohome_authenticator.cc | 44 // Hashes |key| with |system_salt| if it its type is KEY_TYPE_PASSWORD_PLAIN. 47 const std::string& system_salt) { 50 result->Transform(Key::KEY_TYPE_SALTED_SHA256_TOP_HALF, system_salt); 161 const std::string& system_salt) { 167 system_salt); 311 const std::string& system_salt) { 320 TransformKeyIfNeeded(Key(old_password), system_salt); 322 TransformKeyIfNeeded(*attempt->user_context.GetKey(), system_salt); 358 const std::string& system_salt) { 360 TransformKeyIfNeeded(*attempt->user_context.GetKey(), system_salt); 46 TransformKeyIfNeeded(const Key& key, const std::string& system_salt) argument 157 OnGetSystemSalt(AuthAttemptState* attempt, scoped_refptr<CryptohomeAuthenticator> resolver, bool ephemeral, bool create_if_nonexistent, const std::string& system_salt) argument 307 Migrate(AuthAttemptState* attempt, scoped_refptr<CryptohomeAuthenticator> resolver, bool passing_old_hash, const std::string& old_password, const std::string& system_salt) argument 356 CheckKey(AuthAttemptState* attempt, scoped_refptr<CryptohomeAuthenticator> resolver, const std::string& system_salt) argument [all...] |