Searched refs:CanDecrypt (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/sync/internal_api/
H A Dsyncapi_internal.cc85 if (!cryptographer->CanDecrypt(left.encrypted())) {
94 if (!cryptographer->CanDecrypt(right.encrypted())) {
H A Dsync_encryption_handler_impl_unittest.cc594 EXPECT_TRUE(GetCryptographer()->CanDecrypt(
596 EXPECT_TRUE(GetCryptographer()->CanDecrypt(nigori.encryption_keybag()));
1083 EXPECT_TRUE(GetCryptographer()->CanDecrypt(keystore_encrypted));
1163 EXPECT_TRUE(GetCryptographer()->CanDecrypt(keystore_encrypted));
1241 EXPECT_TRUE(GetCryptographer()->CanDecrypt(keystore_encrypted));
1488 EXPECT_TRUE(GetCryptographer()->CanDecrypt(keystore_encrypted));
1570 EXPECT_TRUE(GetCryptographer()->CanDecrypt(old_encrypted));
1578 EXPECT_TRUE(GetCryptographer()->CanDecrypt(keystore_encrypted));
1677 EXPECT_TRUE(GetCryptographer()->CanDecrypt(old_encrypted));
1685 EXPECT_TRUE(GetCryptographer()->CanDecrypt(keystore_encrypte
[all...]
H A Dsync_manager_impl_unittest.cc1060 EXPECT_TRUE(cryptographer->CanDecrypt(nigori.encryption_keybag()));
1105 EXPECT_TRUE(cryptographer->CanDecrypt(nigori.encryption_keybag()));
1248 EXPECT_TRUE(cryptographer->CanDecrypt(nigori.encryption_keybag()));
1283 EXPECT_FALSE(verifier.CanDecrypt(encrypted));
1333 EXPECT_FALSE(verifier.CanDecrypt(encrypted));
1387 EXPECT_TRUE(other_cryptographer.CanDecrypt(encrypted));
1447 EXPECT_TRUE(cryptographer->CanDecrypt(encrypted));
1467 EXPECT_TRUE(cryptographer->CanDecrypt(encrypted));
1472 EXPECT_TRUE(temp_cryptographer.CanDecrypt(encrypted));
1525 EXPECT_TRUE(other_cryptographer.CanDecrypt(encrypte
[all...]
H A Dsync_encryption_handler_impl.cc549 if (temp_cryptographer.CanDecrypt(encrypted)) {
1540 if (!cryptographer->CanDecrypt(keybag))
1582 temp_cryptographer.CanDecrypt(keystore_decryptor_token)) {
/external/chromium_org/sync/util/
H A Dcryptographer.cc64 bool Cryptographer::CanDecrypt(const sync_pb::EncryptedData& data) const { function in class:syncer::Cryptographer
131 return std::string(); // Caller should have called CanDecrypt(encrypt).
207 if (pending_keys_.get() && CanDecrypt(*pending_keys_)) {
221 DCHECK(CanDecrypt(encrypted));
235 DCHECK(!CanDecrypt(encrypted));
330 if (!CanDecrypt(encrypted_bag))
H A Dcryptographer_unittest.cc39 EXPECT_FALSE(cryptographer_.CanDecrypt(encrypted));
59 EXPECT_FALSE(cryptographer_.CanDecrypt(encrypted));
169 EXPECT_FALSE(cryptographer.CanDecrypt(nigori));
H A Dcryptographer.h47 // CanDecrypt should be used to verify whether the Cryptographer can decrypt
70 bool CanDecrypt(const sync_pb::EncryptedData& encrypted) const;
132 // responsible for checking that CanDecrypt(encrypted) == true.
137 // DecryptPendingKeys. This should only be used if CanDecrypt(encrypted) ==
/external/chromium_org/sync/engine/
H A Dmodel_type_sync_worker_impl.cc158 cryptographer_->CanDecrypt(specifics.encrypted())) {
168 !cryptographer_->CanDecrypt(specifics.encrypted()))) {
413 if (cryptographer_->CanDecrypt(saved_pending.specifics.encrypted())) {
443 DCHECK(cryptographer->CanDecrypt(in.encrypted()));
H A Dprocess_updates_util.cc254 !cryptographer->CanDecrypt(update.specifics().encrypted())) {
263 cryptographer->CanDecrypt(prev_specifics.encrypted()))) {
H A Dsyncer_util.cc211 !cryptographer->CanDecrypt(specifics.encrypted())) {
221 if (!cryptographer->CanDecrypt(password.encrypted())) {
H A Dapply_control_data_updates_unittest.cc845 EXPECT_TRUE(cryptographer->CanDecrypt(
/external/chromium_org/sync/test/
H A Dfake_sync_encryption_handler.cc35 if (cryptographer_.CanDecrypt(nigori.encryption_keybag()))
/external/chromium_org/sync/syncable/
H A Dentry_kernel.cc103 cryptographer->CanDecrypt(encrypted) &&
/external/chromium_org/components/sync_driver/
H A Dgeneric_change_processor.cc606 const bool can_decrypt = crypto->CanDecrypt(specifics.encrypted());

Completed in 183 milliseconds