Page MenuHomeFreeBSD

sys: Add an SMCCC Random Number Generator driver
AcceptedPublic

Authored by andrew on Mon, Oct 7, 4:54 PM.

Details

Reviewers
markm
Group Reviewers
arm64
csprng
Summary

The Arm True Random Number Generator Firmware Interface provides a way
to query the SMCCC firmware for up to 192 bits of entropy. Use it to
provide another source of randomness to the kernel.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 59818
Build 56703: arc lint + arc unit

Event Timeline

andrew requested review of this revision.Mon, Oct 7, 4:54 PM

Remove an old TODO comment

markm added a subscriber: markm.

Looks OK to me.

This revision is now accepted and ready to land.Mon, Oct 7, 5:15 PM
cem added inline comments.
sys/dev/psci/smccc_trng.c
113

If this source supports 192 bits per request, why truncate to 64?

118

Earlier we use arm_smccc_invoke. What’s the difference?