diff options
Diffstat (limited to 'core/tee/tee_cryp_utl.c')
-rw-r--r-- | core/tee/tee_cryp_utl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/tee/tee_cryp_utl.c b/core/tee/tee_cryp_utl.c index fa01161..b63e790 100644 --- a/core/tee/tee_cryp_utl.c +++ b/core/tee/tee_cryp_utl.c @@ -392,6 +392,13 @@ __weak void plat_prng_add_jitter_entropy(void) tee_prng_add_entropy((uint8_t *)¤t, sizeof(current)); } +__weak void plat_prng_add_jitter_entropy_norpc(void) +{ +#ifndef CFG_SECURE_TIME_SOURCE_REE + plat_prng_add_jitter_entropy(); +#endif +} + static TEE_Result tee_cryp_init(void) { if (crypto_ops.init) |