Closed hoiho-amzn closed 2 years ago
Hello @hoiho-amzn,
P-R https://github.com/OP-TEE/optee_os/pull/5300 is under review and almost finalized. Once merged, platforms are required to only implement function hw_get_random_bytes()
. I think we should update the doc on that basis, once the P-R is merged.
Sounds good - thanks for pointing out!
This pull request has been marked as a stale pull request because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this pull request will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.
Keep alive, it would be nice doc is updated. @hoiho-amzn, now that https://github.com/OP-TEE/optee_os/pull/5300 is merged, do you want to update this P-R (#162) accordingly?
Ack - Will work on this after I am back from vacation later this week.
Done
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
@hoiho-amzn , I'll merge as soon as you've added @jforissier tag.
@hoiho-amzn, don't forget to add your Signed-off-by
tag in the commit message.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
.
All necessary tags added. Thanks!
For vendors porting their RNG drivers to OP-TEE, it is important that both
hw_get_random_byte()
andcrypto_rng_read()
should be overriden for optimal performance if the hardware entropy source supports getting multiple bytes at a time.