Searched refs:other_cryptographer (Results 1 – 6 of 6) sorted by relevance
197 Cryptographer other_cryptographer(GetCryptographer()->encryptor()); in BuildMigratedNigori() local204 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() local306 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 …]
1351 Cryptographer other_cryptographer(&encryptor_); in TEST_F() local1357 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() local1405 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 …]
79 Cryptographer other_cryptographer(cryptographer->encryptor()); in TEST_F() local81 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() local265 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() local323 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 …]
1070 Cryptographer other_cryptographer(cryptographer->encryptor()); in TEST_F() local1072 other_cryptographer.AddKey(params); in TEST_F()1078 other_cryptographer.Encrypt(data, in TEST_F()
717 Cryptographer other_cryptographer(&encryptor_); in TEST_F() local718 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() local869 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()
194 Cryptographer other_cryptographer(&encryptor_); in TEST_F() local195 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()