/external/chromium/chrome/browser/sync/util/ |
D | cryptographer_unittest.cc | 18 Cryptographer cryptographer; in TEST() local 19 EXPECT_FALSE(cryptographer.is_ready()); in TEST() 25 EXPECT_FALSE(cryptographer.CanDecrypt(encrypted)); in TEST() 29 Cryptographer cryptographer; in TEST() local 32 cryptographer.AddKey(params); in TEST() 33 EXPECT_TRUE(cryptographer.is_ready()); in TEST() 39 EXPECT_FALSE(cryptographer.CanDecrypt(encrypted)); in TEST() 43 Cryptographer cryptographer; in TEST() local 46 EXPECT_TRUE(cryptographer.AddKey(params)); in TEST() 47 EXPECT_TRUE(cryptographer.is_ready()); in TEST() [all …]
|
/external/chromium/chrome/browser/sync/engine/ |
D | apply_updates_command_unittest.cc | 218 Cryptographer* cryptographer; in TEST_F() local 225 cryptographer = in TEST_F() 230 cryptographer->AddKey(params); in TEST_F() 236 cryptographer->Encrypt(data, in TEST_F() 280 Cryptographer* cryptographer = in TEST_F() local 284 cryptographer->AddKey(params); in TEST_F() 286 cryptographer->Encrypt(data, in TEST_F() 293 Cryptographer cryptographer; in TEST_F() local 295 cryptographer.AddKey(params); in TEST_F() 301 cryptographer.Encrypt(data, in TEST_F() [all …]
|
D | syncapi.cc | 561 Cryptographer* cryptographer = GetTransaction()->GetCryptographer(); in SetPasswordSpecifics() local 570 DecryptPasswordSpecifics(GetEntry()->Get(SPECIFICS), cryptographer)); in SetPasswordSpecifics() 573 cryptographer->CanDecryptUsingDefaultKey(old_ciphertext)) { in SetPasswordSpecifics() 578 if (!cryptographer->Encrypt(data, new_value.mutable_encrypted())) { in SetPasswordSpecifics() 1314 Cryptographer* cryptographer, 1436 Cryptographer* cryptographer) { in VisiblePropertiesDiffer() argument 1451 a_str = cryptographer->DecryptToString(encrypted); in VisiblePropertiesDiffer() 1457 b_str = cryptographer->DecryptToString(encrypted); in VisiblePropertiesDiffer() 1778 Cryptographer* cryptographer = trans.GetCryptographer(); in BootstrapEncryption() local 1779 cryptographer->Bootstrap(restored_key_for_bootstrapping); in BootstrapEncryption() [all …]
|
D | build_and_process_conflict_sets_command.h | 46 Cryptographer* cryptographer, sessions::StatusController* status, 52 Cryptographer* cryptographer,
|
D | syncer_util.cc | 248 Cryptographer* cryptographer) { in AttemptToUpdateEntry() argument 298 if (cryptographer->CanDecrypt(nigori.encrypted())) { in AttemptToUpdateEntry() 299 cryptographer->SetKeys(nigori.encrypted()); in AttemptToUpdateEntry() 301 cryptographer->SetPendingKeys(nigori.encrypted()); in AttemptToUpdateEntry() 309 (!cryptographer->is_ready() || in AttemptToUpdateEntry() 311 cryptographer))) { in AttemptToUpdateEntry() 337 !cryptographer->CanDecrypt(specifics.encrypted())) { in AttemptToUpdateEntry() 344 if (!cryptographer->CanDecrypt(password.encrypted())) { in AttemptToUpdateEntry()
|
D | update_applicator.cc | 20 Cryptographer* cryptographer, in UpdateApplicator() argument 26 cryptographer_(cryptographer), in UpdateApplicator()
|
D | build_and_process_conflict_sets_command.cc | 62 Cryptographer* cryptographer, StatusController* status, in ProcessSingleDirectionConflictSets() argument 85 cryptographer, routes, status)) { in ProcessSingleDirectionConflictSets() 151 Cryptographer* cryptographer, in ApplyUpdatesTransactionally() argument 198 UpdateApplicator applicator(resolver, cryptographer, in ApplyUpdatesTransactionally()
|
D | update_applicator.h | 38 Cryptographer* cryptographer,
|
D | syncer_util.h | 60 Cryptographer* cryptographer);
|
D | syncapi_unittest.cc | 723 Cryptographer* cryptographer = trans.GetCryptographer(); in SetUpEncryption() local 724 if (!cryptographer) in SetUpEncryption() 727 cryptographer->AddKey(params); in SetUpEncryption() 729 cryptographer->GetKeys(nigori.mutable_encrypted()); in SetUpEncryption() 733 return cryptographer->is_ready(); in SetUpEncryption()
|
/external/chromium/chrome/browser/sync/syncable/ |
D | directory_manager.h | 81 const sync_api::BaseTransaction* trans) const { return cryptographer(); } in GetCryptographer() 83 const syncable::BaseTransaction* trans) const { return cryptographer(); } in GetCryptographer() 86 browser_sync::Cryptographer* cryptographer() const { in cryptographer() function
|
D | nigori_util.cc | 77 browser_sync::Cryptographer* cryptographer) { in ProcessUnsyncedChangesForEncryption() argument 94 if (!cryptographer->Encrypt( in ProcessUnsyncedChangesForEncryption() 109 if (!cryptographer->Decrypt(entry_specifics.encrypted(), in ProcessUnsyncedChangesForEncryption()
|
D | nigori_util.h | 52 browser_sync::Cryptographer* cryptographer);
|
/external/dropbear/libtomcrypt/notes/ |
D | tech0004.txt | 67 This PRNG is extremely fast [4 cycles/byte on a P4] and was designed by a well known cryptographer …
|