Home
last modified time | relevance | path

Searched refs:encrypted_parameter (Results 1 – 2 of 2) sorted by relevance

/system/tpm/trunks/
Dpassword_authorization_delegate_test.cc89 std::string encrypted_parameter(plaintext_parameter); in TEST() local
90 ASSERT_EQ(plaintext_parameter.compare(encrypted_parameter), 0); in TEST()
91 delegate.EncryptCommandParameter(&encrypted_parameter); in TEST()
92 delegate.DecryptResponseParameter(&encrypted_parameter); in TEST()
93 EXPECT_EQ(plaintext_parameter.compare(encrypted_parameter), 0); in TEST()
Dhmac_authorization_delegate_test.cc63 std::string encrypted_parameter(plaintext_parameter); in TEST() local
65 EXPECT_FALSE(delegate.EncryptCommandParameter(&encrypted_parameter)); in TEST()
66 EXPECT_FALSE(delegate.DecryptResponseParameter(&encrypted_parameter)); in TEST()
74 EXPECT_TRUE(delegate.EncryptCommandParameter(&encrypted_parameter)); in TEST()
75 EXPECT_EQ(0, plaintext_parameter.compare(encrypted_parameter)); in TEST()
76 EXPECT_TRUE(delegate.DecryptResponseParameter(&encrypted_parameter)); in TEST()
77 EXPECT_EQ(0, plaintext_parameter.compare(encrypted_parameter)); in TEST()
81 EXPECT_TRUE(delegate.EncryptCommandParameter(&encrypted_parameter)); in TEST()
82 EXPECT_NE(0, plaintext_parameter.compare(encrypted_parameter)); in TEST()
88 EXPECT_TRUE(delegate.DecryptResponseParameter(&encrypted_parameter)); in TEST()
[all …]