OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:encrypted2
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/sync/util/
cryptographer_unittest.cc
94
sync_pb::EncryptedData
encrypted2
, encrypted3;
local
95
encrypted2
.CopyFrom(encrypted);
97
EXPECT_TRUE(cryptographer_.Encrypt(original, &
encrypted2
));
105
EXPECT_TRUE(cryptographer_.Decrypt(
encrypted2
, &decrypted));
106
//
encrypted2
should match encrypted, encrypted3 should not (due to salting).
107
EXPECT_EQ(encrypted.SerializeAsString(),
encrypted2
.SerializeAsString());
124
sync_pb::EncryptedData
encrypted2
;
local
125
EXPECT_TRUE(cryptographer_.Encrypt(original, &
encrypted2
));
136
EXPECT_EQ(encrypted1.key_name(),
encrypted2
.key_name());
nigori_unittest.cc
60
std::string
encrypted2
;
local
61
EXPECT_TRUE(nigori.Encrypt(plaintext, &
encrypted2
));
63
EXPECT_NE(encrypted1,
encrypted2
);
Completed in 1126 milliseconds