Home
last modified time | relevance | path

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

/third_party/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()
/third_party/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 );
/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()
/third_party/skia/third_party/externals/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()
/third_party/mbedtls/library/
Dpsa_crypto_storage.h392 size_t seed_size );
Dpsa_crypto_storage.c464 size_t seed_size ) in mbedtls_psa_storage_inject_entropy() argument
473 status = psa_its_set( PSA_CRYPTO_ITS_RANDOM_SEED_UID, seed_size, seed, 0 ); in mbedtls_psa_storage_inject_entropy()
Dpsa_crypto.c5656 size_t seed_size ) in mbedtls_psa_inject_entropy() argument
5661 if( ( ( seed_size < MBEDTLS_ENTROPY_MIN_PLATFORM ) || in mbedtls_psa_inject_entropy()
5662 ( seed_size < MBEDTLS_ENTROPY_BLOCK_SIZE ) ) || in mbedtls_psa_inject_entropy()
5663 ( seed_size > MBEDTLS_ENTROPY_MAX_SEED_SIZE ) ) in mbedtls_psa_inject_entropy()
5666 return( mbedtls_psa_storage_inject_entropy( seed, seed_size ) ); in mbedtls_psa_inject_entropy()
/third_party/mbedtls/include/psa/
Dcrypto_extra.h332 size_t seed_size);