HomeSort by relevance Sort by last modified time
    Searched refs:Cryptographer (Results 26 - 50 of 67) sorted by null

12 3

  /external/chromium_org/sync/engine/
update_applicator.cc 22 UpdateApplicator::UpdateApplicator(Cryptographer* cryptographer)
23 : cryptographer_(cryptographer),
apply_control_data_updates.cc 16 #include "sync/util/cryptographer.h"
91 // passphrase, the cryptographer will preserve the encryption keys based on the
96 Cryptographer* cryptographer) {
109 // We only perform this if the cryptographer is ready. If not, these are
113 if (cryptographer->is_ready()) {
121 // If this fails, something is wrong with the cryptographer, but there's
142 // If the cryptographer is not ready, another client set a new encryption
147 // Therefore, we only attempt to merge the nigori nodes if the cryptographer
152 if (cryptographer->is_ready())
    [all...]
conflict_resolver.cc 18 #include "sync/util/cryptographer.h"
40 const Cryptographer* cryptographer,
115 DCHECK(cryptographer->CanDecryptUsingDefaultKey(specifics.encrypted()));
116 decrypted_specifics = cryptographer->DecryptToString(
123 cryptographer->CanDecryptUsingDefaultKey(
125 decrypted_server_specifics = cryptographer->DecryptToString(
142 decrypted_base_server_specifics = cryptographer->DecryptToString(
216 const Cryptographer* cryptographer,
    [all...]
process_updates_util.cc 15 #include "sync/util/cryptographer.h"
226 const Cryptographer* cryptographer,
301 !cryptographer->CanDecrypt(update.specifics().encrypted())) {
310 cryptographer->CanDecrypt(prev_specifics.encrypted()))) {
  /external/chromium_org/sync/util/
cryptographer_unittest.cc 5 #include "sync/util/cryptographer.h"
29 Cryptographer cryptographer_;
157 Cryptographer cryptographer(&encryptor_);
160 cryptographer.AddKey(params);
161 EXPECT_TRUE(cryptographer.is_ready());
163 EXPECT_TRUE(cryptographer.Encrypt(original, &encrypted));
164 EXPECT_TRUE(cryptographer.GetKeys(&nigori));
168 Cryptographer cryptographer(&encryptor_)
    [all...]
  /external/chromium_org/sync/internal_api/
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
504 Cryptographer* cryptographer = local
703 Cryptographer* cryptographer = &UnlockVaultMutable(trans)->cryptographer; local
920 Cryptographer* cryptographer = &UnlockVaultMutable(trans)->cryptographer; local
1020 const Cryptographer& cryptographer = local
1116 Cryptographer* cryptographer = local
1154 Cryptographer* cryptographer = local
1207 const Cryptographer& cryptographer = local
1355 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 68 Cryptographer* cryptographer) OVERRIDE;
107 // Cryptographer has keys that are not yet decrypted.
110 // Cryptographer is initialized and does not have pending keys.
js_sync_encryption_handler_observer.cc 18 #include "sync/util/cryptographer.h"
87 Cryptographer* cryptographer) {
93 cryptographer->is_ready());
95 cryptographer->has_pending_keys());
sync_manager_impl.h 29 #include "sync/util/cryptographer.h"
129 Cryptographer* cryptographer) OVERRIDE;
228 Cryptographer* cryptographer) const;
251 Cryptographer* cryptographer,
369 // with the cryptographer.
js_sync_encryption_handler_observer_unittest.cc 17 #include "sync/util/cryptographer.h"
150 Cryptographer cryptographer(&encryptor);
153 &cryptographer);
sync_manager_impl_unittest.cc 73 #include "sync/util/cryptographer.h"
769 MOCK_METHOD1(OnCryptographerStateChanged, void(Cryptographer*)); // NOLINT
898 // Set the nigori cryptographer information.
903 Cryptographer* cryptographer = trans.GetCryptographer(); local
904 if (!cryptographer)
908 cryptographer->AddKey(params);
914 cryptographer->GetKeys(nigori.mutable_encryption_keybag());
922 return cryptographer->is_ready();
1440 Cryptographer* cryptographer = trans.GetCryptographer(); local
1485 Cryptographer* cryptographer = trans.GetCryptographer(); local
1628 Cryptographer* cryptographer = trans.GetCryptographer(); local
1642 Cryptographer* cryptographer = trans.GetCryptographer(); local
1660 Cryptographer* cryptographer = trans.GetCryptographer(); local
1678 Cryptographer* cryptographer = trans.GetCryptographer(); local
1710 Cryptographer* cryptographer = trans.GetCryptographer(); local
1736 Cryptographer* cryptographer = trans.GetCryptographer(); local
1764 Cryptographer* cryptographer = trans.GetCryptographer(); local
1784 Cryptographer* cryptographer = trans.GetCryptographer(); local
1822 Cryptographer* cryptographer = trans.GetCryptographer(); local
1843 Cryptographer* cryptographer = trans.GetCryptographer(); local
1867 Cryptographer* cryptographer = trans.GetCryptographer(); local
1902 Cryptographer* cryptographer = trans.GetCryptographer(); local
1920 Cryptographer* cryptographer = trans.GetCryptographer(); local
1946 Cryptographer* cryptographer = trans.GetCryptographer(); local
2190 Cryptographer* cryptographer = trans.GetCryptographer(); local
2218 Cryptographer* cryptographer = trans.GetCryptographer(); local
2243 Cryptographer* cryptographer = trans.GetCryptographer(); local
2261 Cryptographer* cryptographer = trans.GetCryptographer(); local
2281 Cryptographer* cryptographer = trans.GetCryptographer(); local
2295 Cryptographer* cryptographer = trans.GetCryptographer(); local
2330 Cryptographer* cryptographer = trans.GetCryptographer(); local
2362 Cryptographer* cryptographer = trans.GetCryptographer(); local
2382 Cryptographer* cryptographer = trans.GetCryptographer(); local
2421 Cryptographer* cryptographer = trans.GetCryptographer(); local
    [all...]
  /external/chromium/chrome/browser/sync/engine/
apply_updates_command_unittest.cc 218 Cryptographer* cryptographer; local
220 // Storing the cryptographer separately is bad, but for this test we
225 cryptographer =
230 cryptographer->AddKey(params);
236 cryptographer->Encrypt(data,
280 Cryptographer* cryptographer = local
284 cryptographer->AddKey(params);
286 cryptographer->Encrypt(data
293 Cryptographer cryptographer; local
321 Cryptographer* cryptographer; local
365 Cryptographer* cryptographer; local
459 Cryptographer* cryptographer; local
    [all...]
syncer_util.h 24 class Cryptographer;
60 Cryptographer* cryptographer);
update_applicator.cc 20 Cryptographer* cryptographer,
26 cryptographer_(cryptographer),
build_and_process_conflict_sets_command.cc 62 Cryptographer* cryptographer, StatusController* status,
85 cryptographer, routes, status)) {
151 Cryptographer* cryptographer,
198 UpdateApplicator applicator(resolver, cryptographer,
syncapi.h 54 #include "chrome/browser/sync/util/cryptographer.h"
529 browser_sync::Cryptographer* GetCryptographer() const {
546 browser_sync::Cryptographer* cryptographer_;
    [all...]
  /external/chromium_org/sync/syncable/
directory.h 28 class Cryptographer;
158 Cryptographer* cryptographer);
221 // Returns a pointer to our cryptographer. Does not transfer ownership.
223 Cryptographer* GetCryptographer(const BaseTransaction* trans);
358 // downloaded state, such as when there are cryptographer errors.
543 Cryptographer* const cryptographer_;
nigori_util.cc 18 #include "sync/util/cryptographer.h"
27 Cryptographer* cryptographer = trans->directory()->GetCryptographer(trans); local
28 DCHECK(cryptographer->is_ready());
98 Cryptographer* cryptographer = trans->directory()->GetCryptographer(trans); local
139 if (!cryptographer->CanDecryptUsingDefaultKey(specifics.encrypted()))
154 Cryptographer* cryptographer = trans->directory()->GetCryptographer(trans); local
169 !cryptographer->is_initialized())
    [all...]
entry.h 12 class Cryptographer;
242 base::DictionaryValue* ToValue(Cryptographer* cryptographer) const;
entry_kernel.cc 10 #include "sync/util/cryptographer.h"
82 Cryptographer* cryptographer,
93 if (cryptographer &&
95 cryptographer->CanDecrypt(encrypted) &&
96 cryptographer->Decrypt(encrypted, &decrypted)) {
135 Cryptographer* cryptographer) const {
181 SetEncryptableProtoValues(*this, cryptographer, kernel_info,
entry_kernel.h 23 class Cryptographer;
318 // Note: |cryptographer| is an optional parameter for use in decrypting
321 base::DictionaryValue* ToValue(Cryptographer* cryptographer) const;
  /external/chromium_org/sync/internal_api/public/
write_node.h 33 class Cryptographer;
  /external/chromium/chrome/browser/sync/syncable/
nigori_util.cc 13 #include "chrome/browser/sync/util/cryptographer.h"
77 browser_sync::Cryptographer* cryptographer) {
94 if (!cryptographer->Encrypt(
109 if (!cryptographer->Decrypt(entry_specifics.encrypted(),
  /external/chromium_org/chrome/browser/sync/glue/
sync_backend_host_core.h 119 syncer::Cryptographer* cryptographer) OVERRIDE;

Completed in 1048 milliseconds

12 3