Home
last modified time | relevance | path

Searched refs:cryptographer (Results 1 – 14 of 14) sorted by relevance

/external/chromium/chrome/browser/sync/util/
Dcryptographer_unittest.cc18 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/
Dapply_updates_command_unittest.cc218 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 …]
Dsyncapi.cc561 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 …]
Dbuild_and_process_conflict_sets_command.h46 Cryptographer* cryptographer, sessions::StatusController* status,
52 Cryptographer* cryptographer,
Dsyncer_util.cc248 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()
Dupdate_applicator.cc20 Cryptographer* cryptographer, in UpdateApplicator() argument
26 cryptographer_(cryptographer), in UpdateApplicator()
Dbuild_and_process_conflict_sets_command.cc62 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()
Dupdate_applicator.h38 Cryptographer* cryptographer,
Dsyncer_util.h60 Cryptographer* cryptographer);
Dsyncapi_unittest.cc723 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/
Ddirectory_manager.h81 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
Dnigori_util.cc77 browser_sync::Cryptographer* cryptographer) { in ProcessUnsyncedChangesForEncryption() argument
94 if (!cryptographer->Encrypt( in ProcessUnsyncedChangesForEncryption()
109 if (!cryptographer->Decrypt(entry_specifics.encrypted(), in ProcessUnsyncedChangesForEncryption()
Dnigori_util.h52 browser_sync::Cryptographer* cryptographer);
/external/dropbear/libtomcrypt/notes/
Dtech0004.txt67 This PRNG is extremely fast [4 cycles/byte on a P4] and was designed by a well known cryptographer