Home
last modified time | relevance | path

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

/external/chromium_org/sync/util/
Dcryptographer.cc64 bool Cryptographer::CanDecrypt(const sync_pb::EncryptedData& data) const { in CanDecrypt() function in syncer::Cryptographer
207 if (pending_keys_.get() && CanDecrypt(*pending_keys_)) { in AddKeyImpl()
221 DCHECK(CanDecrypt(encrypted)); in InstallKeys()
235 DCHECK(!CanDecrypt(encrypted)); in SetPendingKeys()
330 if (!CanDecrypt(encrypted_bag)) in KeybagIsStale()
Dcryptographer_unittest.cc39 EXPECT_FALSE(cryptographer_.CanDecrypt(encrypted)); in TEST_F()
59 EXPECT_FALSE(cryptographer_.CanDecrypt(encrypted)); in TEST_F()
169 EXPECT_FALSE(cryptographer.CanDecrypt(nigori)); in TEST_F()
Dcryptographer.h70 bool CanDecrypt(const sync_pb::EncryptedData& encrypted) const;
/external/chromium_org/sync/internal_api/
Dsyncapi_internal.cc85 if (!cryptographer->CanDecrypt(left.encrypted())) { in AreSpecificsEqual()
94 if (!cryptographer->CanDecrypt(right.encrypted())) { in AreSpecificsEqual()
Dsync_encryption_handler_impl_unittest.cc594 EXPECT_TRUE(GetCryptographer()->CanDecrypt( in TEST_F()
596 EXPECT_TRUE(GetCryptographer()->CanDecrypt(nigori.encryption_keybag())); in TEST_F()
1083 EXPECT_TRUE(GetCryptographer()->CanDecrypt(keystore_encrypted)); in TEST_F()
1163 EXPECT_TRUE(GetCryptographer()->CanDecrypt(keystore_encrypted)); in TEST_F()
1241 EXPECT_TRUE(GetCryptographer()->CanDecrypt(keystore_encrypted)); in TEST_F()
1488 EXPECT_TRUE(GetCryptographer()->CanDecrypt(keystore_encrypted)); in TEST_F()
1570 EXPECT_TRUE(GetCryptographer()->CanDecrypt(old_encrypted)); in TEST_F()
1578 EXPECT_TRUE(GetCryptographer()->CanDecrypt(keystore_encrypted)); in TEST_F()
1677 EXPECT_TRUE(GetCryptographer()->CanDecrypt(old_encrypted)); in TEST_F()
1685 EXPECT_TRUE(GetCryptographer()->CanDecrypt(keystore_encrypted)); in TEST_F()
[all …]
Dsync_manager_impl_unittest.cc1060 EXPECT_TRUE(cryptographer->CanDecrypt(nigori.encryption_keybag())); in TEST_F()
1105 EXPECT_TRUE(cryptographer->CanDecrypt(nigori.encryption_keybag())); in TEST_F()
1248 EXPECT_TRUE(cryptographer->CanDecrypt(nigori.encryption_keybag())); in TEST_F()
1283 EXPECT_FALSE(verifier.CanDecrypt(encrypted)); in TEST_F()
1333 EXPECT_FALSE(verifier.CanDecrypt(encrypted)); in TEST_F()
1387 EXPECT_TRUE(other_cryptographer.CanDecrypt(encrypted)); in TEST_F()
1447 EXPECT_TRUE(cryptographer->CanDecrypt(encrypted)); in TEST_F()
1467 EXPECT_TRUE(cryptographer->CanDecrypt(encrypted)); in TEST_F()
1472 EXPECT_TRUE(temp_cryptographer.CanDecrypt(encrypted)); in TEST_F()
1525 EXPECT_TRUE(other_cryptographer.CanDecrypt(encrypted)); in TEST_F()
Dsync_encryption_handler_impl.cc549 if (temp_cryptographer.CanDecrypt(encrypted)) { in SetDecryptionPassphrase()
1540 if (!cryptographer->CanDecrypt(keybag)) in AttemptToInstallKeybag()
1582 temp_cryptographer.CanDecrypt(keystore_decryptor_token)) { in DecryptPendingKeysWithKeystoreKey()
/external/chromium_org/sync/engine/
Dmodel_type_sync_worker_impl.cc158 cryptographer_->CanDecrypt(specifics.encrypted())) { in ProcessGetUpdatesResponse()
168 !cryptographer_->CanDecrypt(specifics.encrypted()))) { in ProcessGetUpdatesResponse()
413 if (cryptographer_->CanDecrypt(saved_pending.specifics.encrypted())) { in OnCryptographerUpdated()
443 DCHECK(cryptographer->CanDecrypt(in.encrypted())); in DecryptSpecifics()
Dprocess_updates_util.cc254 !cryptographer->CanDecrypt(update.specifics().encrypted())) { in ProcessUpdate()
263 cryptographer->CanDecrypt(prev_specifics.encrypted()))) { in ProcessUpdate()
Dsyncer_util.cc211 !cryptographer->CanDecrypt(specifics.encrypted())) { in AttemptToUpdateEntry()
221 if (!cryptographer->CanDecrypt(password.encrypted())) { in AttemptToUpdateEntry()
Dapply_control_data_updates_unittest.cc845 EXPECT_TRUE(cryptographer->CanDecrypt( in TEST_F()
/external/chromium_org/sync/test/
Dfake_sync_encryption_handler.cc35 if (cryptographer_.CanDecrypt(nigori.encryption_keybag())) in ApplyNigoriUpdate()
/external/chromium_org/sync/syncable/
Dentry_kernel.cc103 cryptographer->CanDecrypt(encrypted) && in SetEncryptableProtoValues()
/external/chromium_org/components/sync_driver/
Dgeneric_change_processor.cc606 const bool can_decrypt = crypto->CanDecrypt(specifics.encrypted()); in HandleActionUpdate()