Home
last modified time | relevance | path

Searched refs:random_data (Results 1 – 13 of 13) sorted by relevance

/external/epid-sdk/epid/common-testhelper/
Dprng-testhelper.h59 static int __STDCALL Generate(unsigned int* random_data, int num_bits, in Generate() argument
64 unsigned char* random_bytes = reinterpret_cast<unsigned char*>(random_data); in Generate()
65 if (!random_data) { in Generate()
96 static int __STDCALL Generate(unsigned int* random_data, int num_bits, in Generate() argument
99 if (!random_data) { in Generate()
107 random_data[i] = myprng->bytes_[i % myprng->bytes_.size()]; in Generate()
/external/epid-sdk/epid/member/tpm2/src/
Dgetrandom.c26 EpidStatus Tpm2GetRandom(Tpm2Ctx* ctx, int const num_bits, void* random_data) { in Tpm2GetRandom() argument
29 if (!ctx || !random_data) { in Tpm2GetRandom()
37 rand_ret = ctx->rnd_func(random_data, num_bits, ctx->rnd_param); in Tpm2GetRandom()
/external/epid-sdk/epid/member/tpm2/ibm_tss/
Dgetrandom.c31 EpidStatus Tpm2GetRandom(Tpm2Ctx* ctx, int const num_bits, void* random_data) { in Tpm2GetRandom() argument
35 BYTE* buf = (BYTE*)random_data; in Tpm2GetRandom()
37 if (!ctx || !random_data) { in Tpm2GetRandom()
/external/epid-sdk/epid/common/math/unittests/
Decdsa_sign-test.cc129 static int __STDCALL constant_32byte_endianswap_prng(unsigned int* random_data, in constant_32byte_endianswap_prng() argument
134 ((uint8_t*)random_data)[i] = ((uint8_t*)user_data)[31 - i]; in constant_32byte_endianswap_prng()
139 static int __STDCALL contextless_kEphPrivkey0_prng(unsigned int* random_data, in contextless_kEphPrivkey0_prng() argument
144 random_data, num_bits, in contextless_kEphPrivkey0_prng()
/external/epid-sdk/epid/member/tiny/math/unittests/
Donetimepad.h81 static int __STDCALL Generate(unsigned int* random_data, int num_bits, in Generate() argument
85 uint8_t* random_bytes = reinterpret_cast<uint8_t*>(random_data); in Generate()
87 if ((!random_data) || (num_bits <= 0)) { in Generate()
/external/epid-sdk/epid/member/tpm2/
Dgetrandom.h53 EpidStatus Tpm2GetRandom(Tpm2Ctx* ctx, int const num_bits, void* random_data);
/external/mesa3d/src/glx/
Dglxhash.c97 #define HASH_RANDOM_DECL struct random_data rd; int32_t rv; char rs[256]
/external/openssh/
Dpkcs11.h996 unsigned char *random_data,
/external/linux-kselftest/tools/testing/selftests/vm/
Duserfaultfd.c289 struct random_data rand; in locking_thread()
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc1258 struct random_data buf; in TEST()
/external/toolchain-utils/dejagnu/gdb_baseline/
Dx86_64-cros-linux-gnu6479 PASS: gdb.base/remote.exp: get integer valueof "sizeof (random_data)" (49152)
6480 PASS: gdb.base/remote.exp: x/8ub random_data
6481 PASS: gdb.base/remote.exp: x/8ub random_data + 400 - 4
6482 PASS: gdb.base/remote.exp: x/8ub random_data + 16384 - 4
6485 PASS: gdb.base/remote.exp: x/17ub random_data
Di686-pc-linux-gnu6244 PASS: gdb.base/remote.exp: get integer valueof "sizeof (random_data)" (49152)
6245 PASS: gdb.base/remote.exp: x/8ub random_data
6246 PASS: gdb.base/remote.exp: x/8ub random_data + 400 - 4
6247 PASS: gdb.base/remote.exp: x/8ub random_data + 16384 - 4
6250 PASS: gdb.base/remote.exp: x/17ub random_data
Darmv7a-cros-linux-gnueabi6098 PASS: gdb.base/remote.exp: get integer valueof "sizeof (random_data)" (49152)
6099 PASS: gdb.base/remote.exp: x/8ub random_data
6100 PASS: gdb.base/remote.exp: x/8ub random_data + 400 - 4
6101 PASS: gdb.base/remote.exp: x/8ub random_data + 16384 - 4
6104 PASS: gdb.base/remote.exp: x/17ub random_data