Home
last modified time | relevance | path

Searched refs:seed_size (Results 1 – 25 of 29) sorted by relevance

12

/external/mesa3d/src/util/
Drand_xor.c69 size_t seed_size = sizeof(uint64_t) * 2; in s_rand_xorshift128plus() local
72 ssize_t ret = getrandom(seed, seed_size, GRND_NONBLOCK); in s_rand_xorshift128plus()
73 if (ret == seed_size) in s_rand_xorshift128plus()
79 if (read(fd, seed, seed_size) == seed_size) { in s_rand_xorshift128plus()
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_entropy.function130 int seed_size;
133 seed_size = seed_length_a;
137 seed_size = seed_length_b;
139 ASSERT_ALLOC( seed, seed_size );
141 for( i = 0; i < seed_size; ++i )
Dtest_suite_psa_crypto_init.function285 size_t seed_size = seed_size_arg;
287 ASSERT_ALLOC( seed, seed_size );
288 TEST_ASSERT( mbedtls_nv_seed_write( seed, seed_size ) >= 0 );
/external/mbedtls/tests/suites/
Dtest_suite_psa_crypto_entropy.function130 int seed_size;
133 seed_size = seed_length_a;
137 seed_size = seed_length_b;
139 ASSERT_ALLOC( seed, seed_size );
141 for( i = 0; i < seed_size; ++i )
Dtest_suite_psa_crypto_init.function269 size_t seed_size = seed_size_arg;
271 ASSERT_ALLOC( seed, seed_size );
272 TEST_ASSERT( mbedtls_nv_seed_write( seed, seed_size ) >= 0 );
/external/oss-fuzz/projects/libsodium/
Dfake_random.h53 setup_fake_random(const unsigned char * seed, const size_t seed_size) { in setup_fake_random() argument
55 SEED_SIZE = seed_size; in setup_fake_random()
/external/cronet/third_party/abseil-cpp/absl/random/internal/
Dseed_material.h35 constexpr size_t SeedBitsToBlocks(size_t seed_size) { in SeedBitsToBlocks() argument
36 return (seed_size + 31) / 32; in SeedBitsToBlocks()
/external/webrtc/third_party/abseil-cpp/absl/random/internal/
Dseed_material.h35 constexpr size_t SeedBitsToBlocks(size_t seed_size) { in SeedBitsToBlocks() argument
36 return (seed_size + 31) / 32; in SeedBitsToBlocks()
/external/openscreen/third_party/abseil/src/absl/random/internal/
Dseed_material.h35 constexpr size_t SeedBitsToBlocks(size_t seed_size) { in SeedBitsToBlocks() argument
36 return (seed_size + 31) / 32; in SeedBitsToBlocks()
/external/angle/third_party/abseil-cpp/absl/random/internal/
Dseed_material.h35 constexpr size_t SeedBitsToBlocks(size_t seed_size) { in SeedBitsToBlocks() argument
36 return (seed_size + 31) / 32; in SeedBitsToBlocks()
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Dseed_material.h35 constexpr size_t SeedBitsToBlocks(size_t seed_size) { in SeedBitsToBlocks() argument
36 return (seed_size + 31) / 32; in SeedBitsToBlocks()
/external/abseil-cpp/absl/random/internal/
Dseed_material.h35 constexpr size_t SeedBitsToBlocks(size_t seed_size) { in SeedBitsToBlocks() argument
36 return (seed_size + 31) / 32; in SeedBitsToBlocks()
/external/tensorflow/third_party/absl/abseil-cpp/absl/random/internal/
Dseed_material.h35 constexpr size_t SeedBitsToBlocks(size_t seed_size) { in SeedBitsToBlocks() argument
36 return (seed_size + 31) / 32; in SeedBitsToBlocks()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Dseed_material.h35 constexpr size_t SeedBitsToBlocks(size_t seed_size) { in SeedBitsToBlocks() argument
36 return (seed_size + 31) / 32; in SeedBitsToBlocks()
/external/tensorflow/tensorflow/lite/kernels/
Dlsh_projection.cc122 const size_t seed_size = sizeof(float); in RunningSignBit() local
130 memcpy(key.get(), &seed, seed_size); in RunningSignBit()
131 memcpy(key.get() + seed_size, input_ptr, input_item_bytes); in RunningSignBit()
/external/open-dice/src/
Dboringssl_ecdsa_utils.c87 size_t seed_size, uint8_t *private_key, in derivePrivateKey() argument
95 if (1 != hmac3(k, v, 0x00, seed, (unsigned int)seed_size, k)) { in derivePrivateKey()
101 if (1 != hmac3(k, v, 0x01, seed, (unsigned int)seed_size, k)) { in derivePrivateKey()
/external/tensorflow/tensorflow/python/ops/
Dstateful_random_ops.py118 seed_size = seed.shape[0]
119 if seed_size is None:
120 seed_size = array_ops.shape(seed)[0]
121 padding_size = math_ops.maximum(state_size - seed_size, 0)
/external/mbedtls/library/
Dlmots.h264 size_t seed_size );
Dpsa_crypto_storage.h392 size_t seed_size );
Dpsa_crypto_storage.c460 size_t seed_size ) in mbedtls_psa_storage_inject_entropy() argument
469 status = psa_its_set( PSA_CRYPTO_ITS_RANDOM_SEED_UID, seed_size, seed, 0 ); in mbedtls_psa_storage_inject_entropy()
Dlmots.c602 size_t seed_size ) in mbedtls_lmots_generate_private_key() argument
664 status = psa_hash_update( &op, seed, seed_size ); in mbedtls_lmots_generate_private_key()
/external/openthread/third_party/mbedtls/repo/library/
Dpsa_crypto_storage.h392 size_t seed_size );
Dpsa_crypto_storage.c462 size_t seed_size ) in mbedtls_psa_storage_inject_entropy() argument
471 status = psa_its_set( PSA_CRYPTO_ITS_RANDOM_SEED_UID, seed_size, seed, 0 ); in mbedtls_psa_storage_inject_entropy()
/external/mbedtls/include/mbedtls/
Dlms.h380 size_t seed_size );
/external/openthread/third_party/mbedtls/repo/include/psa/
Dcrypto_extra.h329 size_t seed_size);

12