Home
last modified time | relevance | path

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

/hardware/interfaces/security/sharedsecret/aidl/vts/functional/
DSharedSecretAidlTest.cpp260 auto& to_tweak = params[param_to_tweak].nonce; in TEST_F() local
261 ASSERT_TRUE(to_tweak.size() == 32); in TEST_F()
262 to_tweak.resize(31); in TEST_F()
305 auto& to_tweak = params[param_to_tweak].seed; in TEST_F() local
306 ASSERT_TRUE(to_tweak.size() == 32 || to_tweak.size() == 0); in TEST_F()
307 if (!to_tweak.size()) { in TEST_F()
308 to_tweak.resize(32); // Contents don't matter; a little randomization is nice. in TEST_F()
310 to_tweak[0]++; in TEST_F()
346 auto& to_tweak = params[param_to_tweak].seed; in TEST_F() local
347 ASSERT_TRUE(to_tweak.size() == 32 || to_tweak.size() == 0); in TEST_F()
[all …]
/hardware/interfaces/keymaster/4.0/vts/functional/
DHmacKeySharingTest.cpp236 auto& to_tweak = params[param_to_tweak].seed; in TEST_P() local
237 ASSERT_TRUE(to_tweak.size() == 32 || to_tweak.size() == 0); in TEST_P()
238 if (!to_tweak.size()) { in TEST_P()
239 to_tweak.resize(32); // Contents don't matter; a little randomization is nice. in TEST_P()
241 to_tweak[0]++; in TEST_P()