Home
last modified time | relevance | path

Searched refs:rnd (Results 1 – 6 of 6) sorted by relevance

/system/core/fastboot/fuzzy_fastboot/
Dtest_utils.cpp37 std::default_random_engine rnd(rand_seed);
41 return rnd() % 128; in rand_legal()
49 return rnd() % 256; in rand_char()
54 return uni(rnd); in random_int()
/system/bt/stack/crypto_toolbox/
Daes.h70 uint_8t rnd; member
Daes.cc557 ctx->rnd = 0;
562 ctx->rnd = (hi >> 4) - 1;
600 if (ctx->rnd) {
604 for (r = 1; r < ctx->rnd; ++r)
647 if (ctx->rnd) {
649 copy_and_key(s1, in, ctx->ksch + ctx->rnd * N_BLOCK);
652 for (r = ctx->rnd; --r;)
/system/bt/gd/crypto_toolbox/
Daes.h70 uint_8t rnd; member
Daes.cc505 ctx->rnd = 0;
510 ctx->rnd = (hi >> 4) - 1;
547 if (ctx->rnd) {
551 for (r = 1; r < ctx->rnd; ++r)
592 if (ctx->rnd) {
594 copy_and_key(s1, in, ctx->ksch + ctx->rnd * N_BLOCK);
597 for (r = ctx->rnd; --r;)
/system/netd/server/
DXfrmController.cpp369 std::mt19937 rnd = std::mt19937(std::random_device()()); in RandomSpi() local
370 mNext = std::uniform_int_distribution<>(1, INT_MAX)(rnd); in RandomSpi()