Searched refs:system_salt (Results 1 - 17 of 17) sorted by relevance

/external/chromium_org/chromeos/cryptohome/
H A Dsystem_salt_getter_unittest.cc19 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 Dsystem_salt_getter.cc58 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
H A Dsystem_salt_getter.h22 typedef base::Callback<void(const std::string& system_salt)>
48 const std::vector<uint8>& system_salt);
/external/chromium_org/chrome/browser/chromeos/login/easy_unlock/
H A Deasy_unlock_remove_keys_operation.h32 void OnGetSystemSalt(const std::string& system_salt);
H A Deasy_unlock_remove_keys_operation.cc43 const std::string& system_salt) {
45 system_salt);
42 OnGetSystemSalt( const std::string& system_salt) argument
H A Deasy_unlock_create_keys_operation.h41 const std::string& system_salt);
H A Deasy_unlock_create_keys_operation.cc332 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 Dtoken_encryptor.cc26 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 Dtoken_encryptor.h40 explicit CryptohomeTokenEncryptor(const std::string& system_salt);
H A Ddevice_oauth2_token_service.h118 void DidGetSystemSalt(const std::string& system_salt);
H A Ddevice_oauth2_token_service.cc216 const std::string& system_salt) {
217 system_salt_ = system_salt;
215 DidGetSystemSalt( const std::string& system_salt) argument
/external/chromium_org/chrome/browser/chromeos/login/supervised/
H A Dsupervised_user_authenticator.cc63 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 Dcryptohome_authenticator.cc44 // 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...]
H A Dextended_authenticator_impl.h59 void OnSaltObtained(const std::string& system_salt);
H A Dextended_authenticator_impl.cc173 void ExtendedAuthenticatorImpl::OnSaltObtained(const std::string& system_salt) { argument
175 system_salt_ = system_salt;
/external/chromium_org/chromeos/dbus/
H A Dfake_cryptohome_client.h214 void set_system_salt(const std::vector<uint8>& system_salt) { argument
215 system_salt_ = system_salt;
H A Dcryptohome_client.h57 const std::vector<uint8>& system_salt)> GetSystemSaltCallback;

Completed in 1460 milliseconds