Searched refs:message_size (Results 1 – 1 of 1) sorted by relevance
/system/core/trusty/keymaster/ |
D | trusty_keymaster_device_test.cpp | 455 size_t message_size = 1024 /* key size */ / 8; in TEST_F() local 456 UniquePtr<uint8_t[]> message(new uint8_t[message_size]); in TEST_F() 457 memset(message.get(), 'a', message_size); in TEST_F() 460 ASSERT_EQ(KM_ERROR_OK, device.sign_data(&sig_params, key, size, message.get(), message_size, in TEST_F() 463 EXPECT_EQ(KM_ERROR_OK, device.verify_data(&sig_params, key, size, message.get(), message_size, in TEST_F()
|