Searched refs:system_salt (Results 1 - 12 of 12) 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;
52 std::string system_salt; local
54 base::Bind(&CopySystemSalt, &system_salt));
56 EXPECT_TRUE(system_salt.empty()); // System salt is not returned yet.
64 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/settings/
H A Ddevice_oauth2_token_service_factory.cc77 const std::string& system_salt) {
81 if (system_salt.empty()) {
87 new CryptohomeTokenEncryptor(system_salt));
76 DidGetSystemSalt( const std::string& system_salt) argument
H A Ddevice_oauth2_token_service_factory.h60 void DidGetSystemSalt(const std::string& system_salt);
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);
/external/chromium/chrome/browser/chromeos/cros/
H A Dcryptohome_library.cc110 CryptohomeBlob system_salt; local
115 system_salt.resize(salt_len);
116 if ((int)system_salt.size() == salt_len) {
117 memcpy(&system_salt[0], static_cast<const void*>(salt_buf),
120 system_salt.clear();
123 return system_salt;
/external/chromium_org/chrome/browser/chromeos/login/managed/
H A Dmanaged_user_authenticator.cc62 const std::string& system_salt) {
68 ParallelAuthenticator::HashPassword(attempt->password, system_salt),
84 const std::string& system_salt) {
90 ParallelAuthenticator::HashPassword(attempt->password, system_salt),
91 ParallelAuthenticator::HashPassword(master_key, system_salt),
59 Mount(ManagedUserAuthenticator::AuthAttempt* attempt, scoped_refptr<ManagedUserAuthenticator> resolver, int flags, const std::string& system_salt) argument
81 AddKey(ManagedUserAuthenticator::AuthAttempt* attempt, scoped_refptr<ManagedUserAuthenticator> resolver, const std::string& master_key, const std::string& system_salt) argument
/external/chromium_org/chrome/browser/chromeos/login/
H A Dparallel_authenticator.cc79 const std::string& system_salt) {
89 system_salt),
137 const std::string& system_salt) {
146 ParallelAuthenticator::HashPassword(old_password, system_salt),
148 system_salt),
157 system_salt),
158 ParallelAuthenticator::HashPassword(old_password, system_salt),
183 const std::string& system_salt) {
188 system_salt),
76 Mount(AuthAttemptState* attempt, scoped_refptr<ParallelAuthenticator> resolver, int flags, const std::string& system_salt) argument
133 Migrate(AuthAttemptState* attempt, scoped_refptr<ParallelAuthenticator> resolver, bool passing_old_hash, const std::string& old_password, const std::string& system_salt) argument
181 CheckKey(AuthAttemptState* attempt, scoped_refptr<ParallelAuthenticator> resolver, const std::string& system_salt) argument
/external/chromium_org/chromeos/dbus/
H A Dfake_cryptohome_client.h173 void set_system_salt(const std::vector<uint8>& system_salt) { argument
174 system_salt_ = system_salt;
H A Dcryptohome_client.h40 const std::vector<uint8>& system_salt)> GetSystemSaltCallback;

Completed in 189 milliseconds