Home
last modified time | relevance | path

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

/optee_os/core/arch/arm/plat-synquacer/
H A Drng_pta.c123 static unsigned int entropy_lock = SPINLOCK_UNLOCK; variable
232 exceptions = cpu_spin_lock_xsave(&entropy_lock); in rng_collect_entropy()
253 cpu_spin_unlock_xrestore(&entropy_lock, exceptions); in rng_collect_entropy()
282 exceptions = cpu_spin_lock_xsave(&entropy_lock); in rng_get_entropy()
310 cpu_spin_unlock_xrestore(&entropy_lock, exceptions); in rng_get_entropy()