Home
last modified time | relevance | path

Searched refs:system_salt (Results 1 – 19 of 19) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/chromeos/cryptohome/
H A Dsystem_salt_getter_unittest.cc20 const std::string& system_salt) { in CopySystemSalt() argument
21 *out_system_salt = system_salt; in CopySystemSalt()
50 std::string system_salt; in TEST_F() local
52 base::BindOnce(&CopySystemSalt, &system_salt)); in TEST_F()
54 EXPECT_TRUE(system_salt.empty()); // System salt is not returned yet. in TEST_F()
62 EXPECT_EQ(expected_system_salt, system_salt); // System salt is returned. in TEST_F()
H A Dsystem_salt_getter.cc76 base::Optional<std::vector<uint8_t>> system_salt) { in DidGetSystemSalt() argument
77 if (system_salt.has_value() && !system_salt->empty() && in DidGetSystemSalt()
78 system_salt->size() % 2 == 0U) { in DidGetSystemSalt()
79 raw_salt_ = std::move(system_salt).value(); in DidGetSystemSalt()
H A Dsystem_salt_getter.h25 base::OnceCallback<void(const std::string& system_salt)>; in COMPONENT_EXPORT()
63 base::Optional<std::vector<uint8_t>> system_salt); in COMPONENT_EXPORT()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/policy/
H A Ddm_token_storage.cc19 std::string EncryptToken(const std::string& system_salt, in EncryptToken() argument
21 chromeos::CryptohomeTokenEncryptor encryptor(system_salt); in EncryptToken()
25 std::string DecryptToken(const std::string& system_salt, in DecryptToken() argument
27 chromeos::CryptohomeTokenEncryptor encryptor(system_salt); in DecryptToken()
108 void DMTokenStorage::OnSystemSaltRecevied(const std::string& system_salt) { in OnSystemSaltRecevied() argument
110 system_salt_ = system_salt; in OnSystemSaltRecevied()
H A Ddm_token_storage.h57 void OnSystemSaltRecevied(const std::string& system_salt);
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/settings/
H A Dtoken_encryptor.cc29 const std::string& system_salt) in CryptohomeTokenEncryptor() argument
30 : system_salt_(system_salt) { in CryptohomeTokenEncryptor()
31 DCHECK(!system_salt.empty()); in CryptohomeTokenEncryptor()
H A Dtoken_encryptor.h40 explicit CryptohomeTokenEncryptor(const std::string& system_salt);
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/login/easy_unlock/
H A Deasy_unlock_remove_keys_operation.cc43 const std::string& system_salt) { in OnGetSystemSalt() argument
45 system_salt); in OnGetSystemSalt()
H A Deasy_unlock_create_keys_operation.cc306 const std::string& system_salt) { in OnGetSystemSalt() argument
308 if (system_salt.empty()) { in OnGetSystemSalt()
315 user_key.Transform(Key::KEY_TYPE_SALTED_SHA256_TOP_HALF, system_salt); in OnGetSystemSalt()
344 auth_key->Transform(Key::KEY_TYPE_SALTED_SHA256_TOP_HALF, system_salt); in OnGetSystemSalt()
H A Deasy_unlock_remove_keys_operation.h33 void OnGetSystemSalt(const std::string& system_salt);
H A Deasy_unlock_create_keys_operation.h45 void OnGetSystemSalt(size_t index, const std::string& system_salt);
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromeos/login/auth/
H A Dcryptohome_authenticator.cc143 const std::string& system_salt) { in TransformKeyIfNeeded() argument
146 result->Transform(Key::KEY_TYPE_SALTED_SHA256_TOP_HALF, system_salt); in TransformKeyIfNeeded()
351 const std::string& system_salt) { in OnGetSystemSalt() argument
356 Key::KEY_TYPE_SALTED_SHA256_TOP_HALF, system_salt); in OnGetSystemSalt()
514 const std::string& system_salt) { in Migrate() argument
527 TransformKeyIfNeeded(Key(old_password), system_salt); in Migrate()
529 TransformKeyIfNeeded(*attempt->user_context.GetKey(), system_salt); in Migrate()
569 const std::string& system_salt) { in CheckKey() argument
571 TransformKeyIfNeeded(*attempt->user_context.GetKey(), system_salt); in CheckKey()
H A Dextended_authenticator_impl.h68 void OnSaltObtained(const std::string& system_salt); in COMPONENT_EXPORT()
H A Dextended_authenticator_impl.cc200 void ExtendedAuthenticatorImpl::OnSaltObtained(const std::string& system_salt) { in OnSaltObtained() argument
202 system_salt_ = system_salt; in OnSaltObtained()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/device_identity/chromeos/
H A Ddevice_oauth2_token_store_chromeos.cc129 const std::string& system_salt) { in DidGetSystemSalt() argument
131 system_salt_ = system_salt; in DidGetSystemSalt()
H A Ddevice_oauth2_token_store_chromeos.h58 void DidGetSystemSalt(InitCallback callback, const std::string& system_salt);
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/login/quick_unlock/
H A Dpin_storage_cryptohome.h53 void OnSystemSaltObtained(const std::string& system_salt);
H A Dpin_storage_cryptohome.cc246 const std::string& system_salt) { in OnSystemSaltObtained() argument
248 system_salt_ = system_salt; in OnSystemSaltObtained()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromeos/dbus/cryptohome/
H A Dfake_cryptohome_client.h212 void set_system_salt(const std::vector<uint8_t>& system_salt) { in COMPONENT_EXPORT()
213 system_salt_ = system_salt; in COMPONENT_EXPORT()