Home
last modified time | relevance | path

Searched refs:rsp (Results 1 – 3 of 3) sorted by relevance

/system/keymaster/
Dgoogle_keymaster_test.cpp200 GenerateKeyResponse rsp; in TEST_F() local
202 device.GenerateKey(req, &rsp); in TEST_F()
204 ASSERT_EQ(KM_ERROR_OK, rsp.error); in TEST_F()
205 EXPECT_EQ(0U, rsp.enforced.size()); in TEST_F()
206 EXPECT_EQ(12U, rsp.enforced.SerializedSize()); in TEST_F()
207 EXPECT_GT(rsp.unenforced.SerializedSize(), 12U); in TEST_F()
210 EXPECT_TRUE(contains(rsp.unenforced, TAG_PURPOSE, KM_PURPOSE_SIGN)); in TEST_F()
211 EXPECT_TRUE(contains(rsp.unenforced, TAG_PURPOSE, KM_PURPOSE_VERIFY)); in TEST_F()
213 EXPECT_TRUE(contains(rsp.unenforced, TAG_ALGORITHM, KM_ALGORITHM_RSA)); in TEST_F()
215 EXPECT_TRUE(contains(rsp.unenforced, TAG_USER_ID, 7)); in TEST_F()
[all …]
Dgoogle_keymaster_messages_test.cpp85 SupportedAlgorithmsResponse rsp; in TEST() local
87 rsp.error = KM_ERROR_OK; in TEST()
88 rsp.algorithms = dup_array(algorithms); in TEST()
89 rsp.algorithms_length = array_length(algorithms); in TEST()
91 UniquePtr<SupportedAlgorithmsResponse> deserialized(round_trip(rsp, 20)); in TEST()
97 SupportedResponse<keymaster_digest_t> rsp; in TEST() local
99 rsp.error = KM_ERROR_OK; in TEST()
100 rsp.SetResults(digests); in TEST()
102 UniquePtr<SupportedResponse<keymaster_digest_t>> deserialized(round_trip(rsp, 20)); in TEST()
123 GenerateKeyResponse rsp; in TEST() local
[all …]
/system/core/debuggerd/x86_64/
Dmachine.cpp50 r.rip, r.rbp, r.rsp, r.eflags); in dump_registers()