Lines Matching refs:encrypted
21 sync_pb::EncryptedData encrypted;
22 encrypted.set_key_name("foo");
23 encrypted.set_blob("bar");
25 EXPECT_FALSE(cryptographer.CanDecrypt(encrypted));
35 sync_pb::EncryptedData encrypted;
36 encrypted.set_key_name("foo");
37 encrypted.set_blob("bar");
39 EXPECT_FALSE(cryptographer.CanDecrypt(encrypted));
54 sync_pb::EncryptedData encrypted;
55 EXPECT_TRUE(cryptographer.Encrypt(original, &encrypted));
58 EXPECT_TRUE(cryptographer.Decrypt(encrypted, &decrypted));
102 sync_pb::EncryptedData encrypted;
116 EXPECT_TRUE(cryptographer.Encrypt(original, &encrypted));
134 EXPECT_TRUE(cryptographer.Decrypt(encrypted, &decrypted));