arm64: add credited/trusted RNG support
Currently arm64 doesn't initialize the primary CRNG in a (potentially)
trusted manner as we only detect the presence of the RNG once secondary
CPUs are up.
Now that the core RNG code distinguishes the early initialization of the
primary CRNG, we can implement arch_get_random_seed_long_early() to
This patch does so.
Signed-off-by: Mark Rutland <firstname.lastname@example.org>
Cc: Catalin Marinas <email@example.com>
Cc: Mark Brown <firstname.lastname@example.org>
Cc: Theodore Ts'o <email@example.com>
Cc: Will Deacon <firstname.lastname@example.org>
Signed-off-by: Theodore Ts'o <email@example.com>
1 file changed