Home
last modified time | relevance | path

Searched refs:entropy (Results 1 – 5 of 5) sorted by relevance

/optee_os-3.20.0/core/drivers/
A Dversal_trng.c202 uint8_t entropy[MAX_PRE_DF_LEN]; /* input entropy */ member
567 static TEE_Result trng_check_seed(uint8_t *entropy, uint32_t len) in trng_check_seed() argument
569 uint32_t *p = (void *)entropy; in trng_check_seed()
657 uint8_t entropy[TRNG_SEED_LEN] = { 0 }; in trng_reseed_internal_nodf() local
667 if (trng_collect_random(trng, entropy, TRNG_SEED_LEN)) in trng_reseed_internal_nodf()
670 if (trng_check_seed(entropy, TRNG_SEED_LEN)) in trng_reseed_internal_nodf()
673 seed = entropy; in trng_reseed_internal_nodf()
703 if (trng_collect_random(trng, trng->dfin.entropy, trng->len)) in trng_reseed_internal_df()
706 if (trng_check_seed(trng->dfin.entropy, trng->len)) in trng_reseed_internal_df()
710 memcpy(trng->dfin.entropy, eseed, trng->len); in trng_reseed_internal_df()
[all …]
/optee_os-3.20.0/core/arch/arm/plat-synquacer/
A Drng_pta.c125 static void pool_add_entropy(uint8_t *entropy, uint32_t size) in pool_add_entropy() argument
137 memcpy((entropy_pool + entropy_size), entropy, copy_size); in pool_add_entropy()
/optee_os-3.20.0/lib/libmbedtls/
A Dsub.mk32 SRCS_CRYPTO += entropy.c
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DChangeLog469 nonce from entropy. Applications were affected if they called
475 entropy from the nonce.
1032 entropy function to obtain entropy for a nonce if the entropy size is less
1043 bytes (size of the entropy accumulator).
2263 * Fix the entropy.c module to not call mbedtls_sha256_starts() or
2366 config-no-entropy.h to reduce the RAM footprint.
2550 * Added hardware entropy selftest to verify that the hardware entropy source
2558 library features that do not require an entropy source.
3417 * Ability to force the entropy module to use SHA-256 as its basis
4125 entropy sources
[all …]
/optee_os-3.20.0/
A DCHANGELOG.md874 * Use CNTPCT (when available) to add entropy to the software PRNG

Completed in 15 milliseconds