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

1 2 3

  /external/chromium_org/sync/engine/
apply_control_data_updates.h 12 class Cryptographer;
23 Cryptographer* cryptographer);
26 Cryptographer* cryptographer);
update_applicator.h 34 class Cryptographer;
38 UpdateApplicator(Cryptographer* cryptographer);
66 Cryptographer* cryptographer_;
conflict_resolver.h 24 class Cryptographer;
54 const Cryptographer* cryptographer,
63 const Cryptographer* cryptographer,
model_type_sync_worker_impl.h 20 #include "sync/util/cryptographer.h"
59 scoped_ptr<Cryptographer> cryptographer,
67 void UpdateCryptographer(scoped_ptr<Cryptographer> cryptographer);
125 // parameter. Assumes cryptographer->CanDecrypt(specifics) returned true.
133 static bool DecryptSpecifics(Cryptographer* cryptographer,
146 // A private copy of the most recent cryptographer known to sync.
149 scoped_ptr<Cryptographer> cryptographer_
    [all...]
syncer_util.h 34 class Cryptographer;
52 Cryptographer* cryptographer);
apply_control_data_updates_unittest.cc 25 #include "sync/util/cryptographer.h"
63 // updates the set of encrypted types, and updates the cryptographer.
65 // Storing the cryptographer separately is bad, but for this test we
67 Cryptographer* cryptographer; local
73 cryptographer = directory()->GetCryptographer(&trans);
78 // Nigori node updates should update the Cryptographer.
79 Cryptographer other_cryptographer(cryptographer->encryptor());
89 EXPECT_FALSE(cryptographer->has_pending_keys())
110 Cryptographer* cryptographer; local
222 Cryptographer* cryptographer; local
310 Cryptographer* cryptographer; local
388 Cryptographer* cryptographer; local
466 Cryptographer* cryptographer; local
536 Cryptographer* cryptographer; local
618 Cryptographer* cryptographer; local
701 Cryptographer* cryptographer; local
780 Cryptographer* cryptographer; local
    [all...]
update_applicator.cc 22 UpdateApplicator::UpdateApplicator(Cryptographer* cryptographer)
23 : cryptographer_(cryptographer),
apply_control_data_updates.cc 16 #include "sync/util/cryptographer.h"
89 // passphrase, the cryptographer will preserve the encryption keys based on the
94 Cryptographer* cryptographer) {
107 // We only perform this if the cryptographer is ready. If not, these are
111 if (cryptographer->is_ready()) {
119 // If this fails, something is wrong with the cryptographer, but there's
140 // If the cryptographer is not ready, another client set a new encryption
145 // Therefore, we only attempt to merge the nigori nodes if the cryptographer
150 if (cryptographer->is_ready())
    [all...]
  /external/chromium_org/sync/internal_api/
syncapi_internal.h 23 class Cryptographer;
27 Cryptographer* crypto);
36 bool AreSpecificsEqual(const Cryptographer* cryptographer,
base_transaction.cc 9 #include "sync/util/cryptographer.h"
23 Cryptographer* BaseTransaction::GetCryptographer() const {
sync_encryption_handler_impl.h 20 #include "sync/util/cryptographer.h"
86 Cryptographer* GetCryptographerUnsafe();
132 // Sync's cryptographer. Used for encrypting and decrypting sync data.
133 Cryptographer cryptographer; member in struct:syncer::SyncEncryptionHandlerImpl::Vault
144 // Apply a nigori update. Updates internal and cryptographer state.
157 // explicit passphrase state (if the cryptographer is ready).
195 // |bootstrap_token|: used to inform observers if the cryptographer's
200 // |trans| and |nigori_node|: used to access data in the cryptographer.
220 // 1. Cryptographer has no pending key
    [all...]
js_sync_encryption_handler_observer.h 48 Cryptographer* cryptographer) OVERRIDE;
syncapi_internal.cc 11 #include "sync/util/cryptographer.h"
24 const sync_pb::EntitySpecifics& specifics, Cryptographer* crypto) {
78 bool AreSpecificsEqual(const Cryptographer* cryptographer,
85 if (!cryptographer->CanDecrypt(left.encrypted())) {
89 left_plaintext = cryptographer->DecryptToString(left.encrypted());
94 if (!cryptographer->CanDecrypt(right.encrypted())) {
98 right_plaintext = cryptographer->DecryptToString(right.encrypted());
sync_encryption_handler_impl.cc 31 #include "sync/util/cryptographer.h"
201 : cryptographer(encryptor),
219 // Restore the cryptographer's previous keys. Note that we don't add the
220 // keystore keys into the cryptographer here, in case a migration was pending.
221 vault_unsafe_.cryptographer.Bootstrap(restored_key_for_bootstrapping);
259 trans.GetWrappedTrans()).cryptographer.has_pending_keys();
261 trans.GetWrappedTrans()).cryptographer.is_ready();
262 // Log the state of the cryptographer regardless of migration state.
280 // Migration cannot occur until the cryptographer is ready (initialized
300 // Always trigger an encrypted types and cryptographer state change event a
340 Cryptographer* cryptographer = local
503 Cryptographer* cryptographer = local
702 Cryptographer* cryptographer = &UnlockVaultMutable(trans)->cryptographer; local
916 Cryptographer* cryptographer = &UnlockVaultMutable(trans)->cryptographer; local
1016 const Cryptographer& cryptographer = local
1112 Cryptographer* cryptographer = local
1150 Cryptographer* cryptographer = local
1203 const Cryptographer& cryptographer = local
1351 Cryptographer* cryptographer = local
    [all...]
sync_encryption_handler_impl_unittest.cc 27 #include "sync/util/cryptographer.h"
59 MOCK_METHOD1(OnCryptographerStateChanged, void(Cryptographer*)); // NOLINT
134 Cryptographer* GetCryptographer() {
177 Cryptographer keystore_cryptographer(&encryptor_);
184 Cryptographer temp_cryptographer(&encryptor_);
197 Cryptographer other_cryptographer(GetCryptographer()->encryptor());
304 Cryptographer other_cryptographer(GetCryptographer()->encryptor());
528 Cryptographer other_cryptographer(GetCryptographer()->encryptor());
584 // The cryptographer should be able to decrypt both sets of keys and still
683 std::string(), // Cryptographer bootstrap
    [all...]
debug_info_event_listener.h 69 Cryptographer* cryptographer) OVERRIDE;
107 // Cryptographer has keys that are not yet decrypted.
110 // Cryptographer is initialized and does not have pending keys.
  /external/chromium_org/sync/util/
cryptographer.cc 5 #include "sync/util/cryptographer.h"
25 Cryptographer::Cryptographer(Encryptor* encryptor)
30 Cryptographer::Cryptographer(const Cryptographer& other)
48 Cryptographer::~Cryptographer() {}
51 void Cryptographer::Bootstrap(const std::string& restored_bootstrap_token) {
64 bool Cryptographer::CanDecrypt(const sync_pb::EncryptedData& data) const
    [all...]
cryptographer.h 47 // CanDecrypt should be used to verify whether the Cryptographer can decrypt
50 class SYNC_EXPORT Cryptographer {
53 explicit Cryptographer(Encryptor* encryptor);
54 explicit Cryptographer(const Cryptographer& other);
55 ~Cryptographer();
58 // Cryptographer instance into the ready state (is_ready will be true).
116 // with a cryptographer that has already been initialized.
143 // cryptographer has no pending keys. Like other calls that access the
144 // cryptographer, this method must be called from within a transaction
    [all...]