HomeSort by relevance Sort by last modified time
    Searched refs:cryptohome (Results 1 - 25 of 52) sorted by null

1 2 3

  /external/chromium_org/chrome/browser/chromeos/login/managed/
locally_managed_user_constants.cc 7 #include "chromeos/cryptohome/cryptohome_parameters.h"
19 cryptohome::PRIV_AUTHORIZED_UPDATE | cryptohome::PRIV_MOUNT;
21 cryptohome::PRIV_MIGRATE | cryptohome::PRIV_MOUNT;
managed_user_authenticator.h 18 // Authenticates locally managed users against the cryptohome.
21 // AuthenticateToMount() calls a Cryptohome to perform offline login,
22 // AuthenticateToCreate() calls a Cryptohome to create new cryptohome.
28 NO_MOUNT, // No cryptohome exist for user.
29 FAILED_MOUNT, // Failed to mount existing cryptohome - login failed.
30 FAILED_TPM, // Failed to mount/create cryptohome because of TPM error.
45 cryptohome::MountError cryptohome_code);
56 cryptohome::MountError cryptohome_code();
68 cryptohome::MountError cryptohome_code_
    [all...]
managed_user_authenticator.cc 12 #include "chromeos/cryptohome/async_method_caller.h"
13 #include "chromeos/cryptohome/cryptohome_parameters.h"
14 #include "chromeos/cryptohome/system_salt_getter.h"
32 cryptohome::MountError return_code) {
54 cryptohome::MountError return_code) {
59 // Calls cryptohome's mount method.
70 cryptohome::AsyncMethodCaller::GetInstance()->AsyncMount(
79 cryptohome::AsyncMethodCaller::GetInstance()->AsyncGetSanitizedUsername(
84 // Calls cryptohome's addKey method.
97 cryptohome::AsyncMethodCaller::GetInstance()->AsyncAddKey
    [all...]
  /external/chromium_org/chromeos/dbus/
cryptohome_client.cc 11 #include "chromeos/cryptohome/async_method_caller.h"
13 #include "chromeos/dbus/cryptohome/key.pb.h"
14 #include "chromeos/dbus/cryptohome/rpc.pb.h"
61 dbus::MethodCall method_call(cryptohome::kCryptohomeInterface,
62 cryptohome::kCryptohomeIsMounted);
68 dbus::MethodCall method_call(cryptohome::kCryptohomeInterface,
69 cryptohome::kCryptohomeUnmount);
77 dbus::MethodCall method_call(cryptohome::kCryptohomeInterface,
78 cryptohome::kCryptohomeAsyncCheckKey);
93 dbus::MethodCall method_call(cryptohome::kCryptohomeInterface
    [all...]
cryptohome_client.h 18 namespace cryptohome { namespace
29 } // namespace cryptohome
33 // CryptohomeClient is used to communicate with the Cryptohome service.
79 const cryptohome::BaseReply& reply)> ProtobufMethodCallback;
92 // Cryptohome service will process the calls in a first-in-first-out manner
149 // Calls the AsyncMount method to asynchronously mount the cryptohome for
170 // Calls the AsyncMount method to asynchronously mount the cryptohome for
458 const cryptohome::AccountIdentifier& id,
459 const cryptohome::AuthorizationRequest& auth,
460 const cryptohome::CheckKeyRequest& request
    [all...]
mock_cryptohome_client.h 10 #include "chromeos/dbus/cryptohome/rpc.pb.h"
169 void(const cryptohome::AccountIdentifier& id,
170 const cryptohome::AuthorizationRequest& auth,
171 const cryptohome::CheckKeyRequest& request,
174 void(const cryptohome::AccountIdentifier& id,
175 const cryptohome::AuthorizationRequest& auth,
176 const cryptohome::MountRequest& request,
179 void(const cryptohome::AccountIdentifier& id,
180 const cryptohome::AuthorizationRequest& auth,
181 const cryptohome::AddKeyRequest& request
    [all...]
fake_cryptohome_client.h 164 const cryptohome::AccountIdentifier& id,
165 const cryptohome::AuthorizationRequest& auth,
166 const cryptohome::CheckKeyRequest& request,
169 const cryptohome::AccountIdentifier& id,
170 const cryptohome::AuthorizationRequest& auth,
171 const cryptohome::MountRequest& request,
174 const cryptohome::AccountIdentifier& id,
175 const cryptohome::AuthorizationRequest& auth,
176 const cryptohome::AddKeyRequest& request,
179 const cryptohome::AccountIdentifier& id
    [all...]
fake_cryptohome_client.cc 14 #include "chromeos/dbus/cryptohome/key.pb.h"
15 #include "chromeos/dbus/cryptohome/rpc.pb.h"
272 // The cryptohome::SerializedInstallAttributes protobuf lives in
471 const cryptohome::AccountIdentifier& id,
472 const cryptohome::AuthorizationRequest& auth,
473 const cryptohome::CheckKeyRequest& request,
479 const cryptohome::AccountIdentifier& id,
480 const cryptohome::AuthorizationRequest& auth,
481 const cryptohome::MountRequest& request,
487 const cryptohome::AccountIdentifier& id
    [all...]
  /external/chromium_org/chrome/browser/chromeos/login/auth/
test_attempt_state.h 30 // Act as though an cryptohome login attempt completed already.
32 cryptohome::MountError cryptohome_code);
41 virtual cryptohome::MountError cryptohome_code() OVERRIDE;
extended_authenticator.cc 14 #include "chromeos/cryptohome/async_method_caller.h"
15 #include "chromeos/cryptohome/cryptohome_parameters.h"
16 #include "chromeos/cryptohome/homedir_methods.h"
17 #include "chromeos/cryptohome/system_salt_getter.h"
32 std::string full_marker = "Cryptohome-";
39 std::string full_marker = "Cryptohome-";
85 const std::vector<cryptohome::KeyDefinition>& keys,
92 cryptohome::Identification id(canonicalized);
93 cryptohome::Authorization auth(keys.front());
94 cryptohome::MountParameters mount(false)
    [all...]
auth_attempt_state.h 57 cryptohome::MountError cryptohome_code);
59 // Blow away locally stored cryptohome login status.
70 virtual cryptohome::MountError cryptohome_code();
98 // Status of our cryptohome op attempt. Can only have one in flight at a time.
101 cryptohome::MountError cryptohome_code_;
extended_authenticator.h 15 #include "chromeos/cryptohome/cryptohome_parameters.h"
28 // AuthenticateToCreate() calls cryptohomed to create new cryptohome.
34 NO_MOUNT, // No cryptohome exist for user.
35 FAILED_MOUNT, // Failed to mount existing cryptohome - login failed.
36 FAILED_TPM, // Failed to mount/create cryptohome because of TPM error.
75 const std::vector<cryptohome::KeyDefinition>& keys,
84 const cryptohome::KeyDefinition& key,
94 const cryptohome::KeyDefinition& key,
124 void DoAddKey(const cryptohome::KeyDefinition& key,
128 void DoUpdateKeyAuthorized(const cryptohome::KeyDefinition& key
    [all...]
parallel_authenticator_unittest.cc 31 #include "chromeos/cryptohome/mock_async_method_caller.h"
32 #include "chromeos/cryptohome/system_salt_getter.h"
74 mock_caller_ = new cryptohome::MockAsyncMethodCaller;
75 cryptohome::AsyncMethodCaller::InitializeForTesting(mock_caller_);
94 cryptohome::AsyncMethodCaller::Shutdown();
196 cryptohome::MockAsyncMethodCaller* mock_caller_;
228 // Set up state as though a cryptohome mount attempt has occurred
230 state_->PresetCryptohomeStatus(false, cryptohome::MOUNT_ERROR_KEY_FAILURE);
238 // Set up state as though a cryptohome mount attempt has occurred
241 state_->PresetCryptohomeStatus(false, cryptohome::MOUNT_ERROR_KEY_FAILURE)
    [all...]
test_attempt_state.cc 35 cryptohome::MountError cryptohome_code) {
65 cryptohome::MountError TestAttemptState::cryptohome_code() {
parallel_authenticator.cc 23 #include "chromeos/cryptohome/async_method_caller.h"
24 #include "chromeos/cryptohome/system_salt_getter.h"
53 cryptohome::MountError return_code) {
78 cryptohome::MountError return_code) {
83 // Calls cryptohome's mount method.
97 cryptohome::AsyncMethodCaller::GetInstance()->AsyncMount(
105 cryptohome::AsyncMethodCaller::GetInstance()->AsyncGetSanitizedUsername(
112 // Calls cryptohome's mount method for guest.
116 cryptohome::AsyncMethodCaller::GetInstance()->AsyncMountGuest(
123 // Calls cryptohome's mount method for guest and also get the user hash fro
    [all...]
auth_attempt_state.cc 32 cryptohome_code_(cryptohome::MOUNT_ERROR_NONE),
56 cryptohome::MountError cryptohome_code) {
85 cryptohome_code_ = cryptohome::MOUNT_ERROR_NONE;
118 cryptohome::MountError AuthAttemptState::cryptohome_code() {
  /external/chromium_org/chromeos/attestation/
attestation_flow_unittest.cc 9 #include "chromeos/cryptohome/mock_async_method_caller.h"
44 void AsyncCallbackFalse(cryptohome::AsyncMethodCaller::Callback callback) {
45 callback.Run(false, cryptohome::MOUNT_ERROR_NONE);
84 StrictMock<cryptohome::MockAsyncMethodCaller> async_caller;
85 async_caller.SetUp(true, cryptohome::MOUNT_ERROR_NONE);
94 cryptohome::MockAsyncMethodCaller::kFakeAttestationEnrollRequest,
99 cryptohome::MockAsyncMethodCaller::kFakeAttestationEnrollRequest;
115 cryptohome::MockAsyncMethodCaller::kFakeAttestationCertRequest,
120 cryptohome::MockAsyncMethodCaller::kFakeAttestationCertRequest;
134 cryptohome::MockAsyncMethodCaller::kFakeAttestationCert)
    [all...]
attestation_flow.h 19 namespace cryptohome { namespace
23 } // namespace cryptohome
58 AttestationFlow(cryptohome::AsyncMethodCaller* async_caller,
134 // not_used - An artifact of the cryptohome D-Bus interface; ignored.
138 cryptohome::MountError not_used);
205 cryptohome::AsyncMethodCaller* async_caller_;
  /external/chromium_org/chromeos/cryptohome/
homedir_methods.cc 5 #include "chromeos/cryptohome/homedir_methods.h"
8 #include "chromeos/dbus/cryptohome/key.pb.h"
9 #include "chromeos/dbus/cryptohome/rpc.pb.h"
15 namespace cryptohome { namespace
58 cryptohome::AccountIdentifier* id_proto) {
64 cryptohome::AuthorizationRequest* auth_proto) {
115 cryptohome::AccountIdentifier id_proto;
116 cryptohome::AuthorizationRequest auth_proto;
117 cryptohome::CheckKeyRequest request;
135 cryptohome::AccountIdentifier id_proto
    [all...]
cryptohome_parameters.cc 5 #include "chromeos/cryptohome/cryptohome_parameters.h"
7 namespace cryptohome { namespace
26 } // namespace cryptohome
mock_homedir_methods.cc 5 #include "chromeos/cryptohome/mock_homedir_methods.h"
7 #include "chromeos/cryptohome/mock_async_method_caller.h"
13 namespace cryptohome { namespace
16 : success_(false), return_code_(cryptohome::MOUNT_ERROR_NONE) {}
44 } // namespace cryptohome
homedir_methods.h 13 #include "chromeos/cryptohome/cryptohome_parameters.h"
17 namespace cryptohome { namespace
18 // This class manages calls to Cryptohome service's home directory methods:
37 // Asks cryptohomed to find the cryptohome for user identified by |id| and
39 // If the |create_keys| are not given and no cryptohome exists for |id|,
65 // |signature| is used by cryptohome to verify the authentity of new key.
97 } // namespace cryptohome
mock_homedir_methods.h 12 #include "chromeos/cryptohome/homedir_methods.h"
15 namespace cryptohome { namespace
61 } // namespace cryptohome
  /external/chromium_org/chrome/browser/extensions/api/enterprise_platform_keys_private/
enterprise_platform_keys_private_api.h 27 namespace cryptohome { namespace
62 cryptohome::AsyncMethodCaller* async_caller,
103 cryptohome::AsyncMethodCaller* async_caller_;
156 cryptohome::AsyncMethodCaller* async_caller,
191 cryptohome::AsyncMethodCaller* async_caller,
217 cryptohome::MountError return_code);
  /external/chromium_org/chrome/browser/chromeos/drive/
test_util.h 15 #include "third_party/cros_system_api/constants/cryptohome.h"
28 const int64 kLotsOfSpace = cryptohome::kMinFreeSpaceInBytes * 10;

Completed in 712 milliseconds

1 2 3