[PATCH 0/2] arm64: qcom: sm8550: enable RNG

From: Neil Armstrong
Date: Tue Aug 22 2023 - 10:13:01 EST


Enable RNG on SM8550.

Output of rngtest :

rngtest 6.15
Copyright (c) 2004 by Henrique de Moraes Holschuh
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

rngtest: starting FIPS tests...
rngtest: bits received from input: 188260032
rngtest: FIPS 140-2 successes: 9405
rngtest: FIPS 140-2 failures: 8
rngtest: FIPS 140-2(2001-10-10) Monobit: 1
rngtest: FIPS 140-2(2001-10-10) Poker: 1
rngtest: FIPS 140-2(2001-10-10) Runs: 2
rngtest: FIPS 140-2(2001-10-10) Long run: 4
rngtest: FIPS 140-2(2001-10-10) Continuous run: 0
rngtest: input channel speed: (min=7.518; avg=50.591; max=19073.486)Mibits/s
rngtest: FIPS tests speed: (min=21.146; avg=27.867; max=160.281)Mibits/s
rngtest: Program run time: 10003649 microseconds
...

Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
---
Neil Armstrong (2):
dt-bindings: crypto: qcom,prng: document SM8550
arm64: dts: qcom: sm8550: Add PRNG

Documentation/devicetree/bindings/crypto/qcom,prng.yaml | 8 ++++++--
arch/arm64/boot/dts/qcom/sm8550.dtsi | 5 +++++
2 files changed, 11 insertions(+), 2 deletions(-)
---
base-commit: 28c736b0e92e11bfe2b9997688213dc43cb22182
change-id: 20230822-topic-sm8550-rng-c83142783e20

Best regards,
--
Neil Armstrong <neil.armstrong@xxxxxxxxxx>