Home
last modified time | relevance | path

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

/hardware/interfaces/security/sharedsecret/aidl/vts/functional/
DSharedSecretAidlTest.cpp220 size_t param_to_tweak = rand() % params.size(); in TEST_F() local
221 uint8_t byte_to_tweak = rand() % sizeof(params[param_to_tweak].nonce); in TEST_F()
223 params[param_to_tweak].nonce[byte_to_tweak] ^= (1 << bit_to_tweak); in TEST_F()
227 if (i == param_to_tweak) { in TEST_F()
259 size_t param_to_tweak = rand() % params.size(); in TEST_F() local
260 auto& to_tweak = params[param_to_tweak].nonce; in TEST_F()
266 if (i == param_to_tweak) { in TEST_F()
304 auto param_to_tweak = rand() % params.size(); in TEST_F() local
305 auto& to_tweak = params[param_to_tweak].seed; in TEST_F()
314 if (i == param_to_tweak) { in TEST_F()
[all …]
/hardware/interfaces/keymaster/4.0/vts/functional/
DHmacKeySharingTest.cpp195 size_t param_to_tweak = rand() % params.size(); in TEST_P() local
196 uint8_t byte_to_tweak = rand() % sizeof(params[param_to_tweak].nonce); in TEST_P()
198 params[param_to_tweak].nonce[byte_to_tweak] ^= (1 << bit_to_tweak); in TEST_P()
202 if (i == param_to_tweak) { in TEST_P()
235 auto param_to_tweak = rand() % params.size(); in TEST_P() local
236 auto& to_tweak = params[param_to_tweak].seed; in TEST_P()
245 if (i == param_to_tweak) { in TEST_P()