Searched refs:seed (Results 1 – 11 of 11) sorted by relevance
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | HmacKeySharingTest.cpp | 126 ASSERT_EQ(result1.params.seed, result2.params.seed) in TEST_P() 236 auto& to_tweak = params[param_to_tweak].seed; in TEST_P()
|
/hardware/qcom/msm8998/json-c/ |
D | linkhash.c | 405 int seed; in lh_char_hash() local 407 while ((seed = json_c_get_random_seed()) == -1); in lh_char_hash() 409 __sync_val_compare_and_swap(&random_seed, -1, seed); in lh_char_hash() 411 InterlockedCompareExchange(&random_seed, seed, -1); in lh_char_hash() 414 random_seed = seed; /* potentially racy */ in lh_char_hash()
|
/hardware/interfaces/power/stats/1.0/vts/functional/ |
D | VtsHalPowerStatsV1_0TargetTest.cpp | 141 unsigned seed = std::chrono::system_clock::now().time_since_epoch().count(); in getRandomIds() local 142 auto gen = std::default_random_engine(seed); in getRandomIds() 456 std::time_t seed = std::time(nullptr); in TEST_P() local 457 std::srand(seed); in TEST_P() 553 std::time_t seed = std::time(nullptr); in TEST_P() local 554 std::srand(seed); in TEST_P()
|
/hardware/interfaces/keymaster/4.0/support/ |
D | keymaster_utils.cpp | 41 return std::tie(a.seed, a.nonce) < std::tie(b.seed, b.nonce); in operator <()
|
/hardware/interfaces/gatekeeper/1.0/vts/functional/ |
D | VtsHalGatekeeperV1_0TargetTest.cpp | 132 void generatePassword(hidl_vec<uint8_t> &password, uint8_t seed) { in generatePassword() argument 134 memset(password.data(), seed, password.size()); in generatePassword()
|
/hardware/interfaces/keymaster/4.1/support/ |
D | Keymaster.cpp | 65 os << "(seed: " << params.seed << ", nonce: " << params.nonce << ')'; in operator <<()
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | CompilationCachingTests.cpp | 1219 generator.seed(kSeed); in SetUp() 1354 const auto& [namedDevice, operandType, seed] = info.param; in printCompilationCachingSecurityTest() 1356 return gtestCompliantName(getName(namedDevice) + "_" + type + "_" + std::to_string(seed)); in printCompilationCachingSecurityTest()
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | CompilationCachingTests.cpp | 1228 generator.seed(kSeed); in SetUp() 1363 const auto& [namedDevice, operandType, seed] = info.param; in printCompilationCachingSecurityTest() 1365 return gtestCompliantName(getName(namedDevice) + "_" + type + "_" + std::to_string(seed)); in printCompilationCachingSecurityTest()
|
/hardware/interfaces/keymaster/4.0/ |
D | IKeymasterDevice.hal | 230 * documentation in types.hal, the seed must contain the same value in every invocation 278 * HmacSharingParameters is the concatenation of its two fields, i.e. seed || nonce. 303 * 8. T generates a random seed S. 309 * When S receives the getHmacSharingParameters call, it returns the stored S as the seed 310 * and a nonce. When T receives the same call, it returns an empty seed and a nonce. When 311 * T receives the computeSharedHmac call, it uses the seed provided by S to compute K. S, 377 * @param data Bytes to be mixed into the CRNG seed. The caller must not provide more than 2
|
D | types.hal | 1264 vec<uint8_t> seed;
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 208 uint16 crc_16_l_step_nv12 (uint16 seed, const void *buf_ptr, in crc_16_l_step_nv12() argument 211 uint16 crc_16 = ~seed; in crc_16_l_step_nv12()
|