Searched refs:CanDecrypt (Results 1 – 14 of 14) sorted by relevance
64 bool Cryptographer::CanDecrypt(const sync_pb::EncryptedData& data) const { in CanDecrypt() function in syncer::Cryptographer207 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()
39 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()
70 bool CanDecrypt(const sync_pb::EncryptedData& encrypted) const;
85 if (!cryptographer->CanDecrypt(left.encrypted())) { in AreSpecificsEqual()94 if (!cryptographer->CanDecrypt(right.encrypted())) { in AreSpecificsEqual()
594 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 …]
1060 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()
549 if (temp_cryptographer.CanDecrypt(encrypted)) { in SetDecryptionPassphrase()1540 if (!cryptographer->CanDecrypt(keybag)) in AttemptToInstallKeybag()1582 temp_cryptographer.CanDecrypt(keystore_decryptor_token)) { in DecryptPendingKeysWithKeystoreKey()
158 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()
254 !cryptographer->CanDecrypt(update.specifics().encrypted())) { in ProcessUpdate()263 cryptographer->CanDecrypt(prev_specifics.encrypted()))) { in ProcessUpdate()
211 !cryptographer->CanDecrypt(specifics.encrypted())) { in AttemptToUpdateEntry()221 if (!cryptographer->CanDecrypt(password.encrypted())) { in AttemptToUpdateEntry()
845 EXPECT_TRUE(cryptographer->CanDecrypt( in TEST_F()
35 if (cryptographer_.CanDecrypt(nigori.encryption_keybag())) in ApplyNigoriUpdate()
103 cryptographer->CanDecrypt(encrypted) && in SetEncryptableProtoValues()
606 const bool can_decrypt = crypto->CanDecrypt(specifics.encrypted()); in HandleActionUpdate()