Home
last modified time | relevance | path

Searched refs:other_cryptographer (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/sync/internal_api/
Dsync_encryption_handler_impl_unittest.cc197 Cryptographer other_cryptographer(GetCryptographer()->encryptor()); in BuildMigratedNigori() local
204 other_cryptographer.AddKey(keystore_params); in BuildMigratedNigori()
207 other_cryptographer.AddKey(params); in BuildMigratedNigori()
208 EXPECT_TRUE(other_cryptographer.is_ready()); in BuildMigratedNigori()
211 other_cryptographer.GetKeys(nigori.mutable_encryption_keybag()); in BuildMigratedNigori()
218 other_cryptographer, in BuildMigratedNigori()
304 Cryptographer other_cryptographer(GetCryptographer()->encryptor()); in InitUnmigratedNigori() local
306 other_cryptographer.AddKey(default_key); in InitUnmigratedNigori()
307 EXPECT_TRUE(other_cryptographer.is_ready()); in InitUnmigratedNigori()
314 other_cryptographer.GetKeys(nigori.mutable_encryption_keybag()); in InitUnmigratedNigori()
[all …]
Dsync_manager_impl_unittest.cc1351 Cryptographer other_cryptographer(&encryptor_); in TEST_F() local
1357 other_cryptographer.Bootstrap(bootstrap_token); in TEST_F()
1362 other_cryptographer.AddKey(params); in TEST_F()
1366 other_cryptographer.GetKeys(nigori.mutable_encryption_keybag()); in TEST_F()
1387 EXPECT_TRUE(other_cryptographer.CanDecrypt(encrypted)); in TEST_F()
1399 Cryptographer other_cryptographer(&encryptor_); in TEST_F() local
1405 other_cryptographer.Bootstrap(bootstrap_token); in TEST_F()
1410 other_cryptographer.AddKey(params); in TEST_F()
1414 other_cryptographer.GetKeys(nigori.mutable_encryption_keybag()); in TEST_F()
1421 other_cryptographer.AddKey(new_params); in TEST_F()
[all …]
/external/chromium_org/sync/engine/
Dapply_control_data_updates_unittest.cc79 Cryptographer other_cryptographer(cryptographer->encryptor()); in TEST_F() local
81 other_cryptographer.AddKey(params); in TEST_F()
85 other_cryptographer.GetKeys(nigori->mutable_encryption_keybag()); in TEST_F()
263 Cryptographer other_cryptographer(cryptographer->encryptor()); in TEST_F() local
265 other_cryptographer.AddKey(params); in TEST_F()
268 other_cryptographer.GetKeys(nigori->mutable_encryption_keybag()); in TEST_F()
322 Cryptographer other_cryptographer(cryptographer->encryptor()); in TEST_F() local
323 other_cryptographer.AddKey(other_params); in TEST_F()
329 other_cryptographer.GetKeys(server_nigori->mutable_encryption_keybag()); in TEST_F()
369 EXPECT_TRUE(other_cryptographer.CanDecryptUsingDefaultKey( in TEST_F()
[all …]
Ddirectory_update_handler_unittest.cc1070 Cryptographer other_cryptographer(cryptographer->encryptor()); in TEST_F() local
1072 other_cryptographer.AddKey(params); in TEST_F()
1078 other_cryptographer.Encrypt(data, in TEST_F()
Dsyncer_unittest.cc717 Cryptographer other_cryptographer(&encryptor_); in TEST_F() local
718 other_cryptographer.AddKey(other_params); in TEST_F()
721 other_cryptographer.GetKeys(nigori->mutable_encryption_keybag()); in TEST_F()
868 Cryptographer other_cryptographer(&encryptor_); in TEST_F() local
869 other_cryptographer.AddKey(key_params); in TEST_F()
872 other_cryptographer.Encrypt(bookmark, in TEST_F()
876 other_cryptographer.Encrypt(modified_bookmark, in TEST_F()
881 other_cryptographer.Encrypt(pref, in TEST_F()
884 other_cryptographer.Encrypt(modified_pref, in TEST_F()
892 other_cryptographer.GetKeys(nigori->mutable_encryption_keybag()); in TEST_F()
/external/chromium_org/sync/util/
Dcryptographer_unittest.cc194 Cryptographer other_cryptographer(&encryptor_); in TEST_F() local
195 other_cryptographer.Bootstrap(token); in TEST_F()
196 EXPECT_TRUE(other_cryptographer.is_ready()); in TEST_F()
200 EXPECT_TRUE(other_cryptographer.EncryptString(secret, &encrypted)); in TEST_F()