Is getrandom secure?

60 views
Skip to first unread message

Kevin Wang

unread,
Feb 10, 2022, 3:38:09 AM2/10/22
to Gramine Users
Dear All,

I've noticed that gramine emulates the getrandom syscall and /dev/random with RDRAND instraction. Does it mean that workloads can rely on getrandom to get true random number and no one in the middle can manipulate the result?

----
Kevin Wang
Regards

Michał Kowalczyk

unread,
Feb 10, 2022, 9:07:47 PM2/10/22
to Kevin Wang, Gramine Users
RDRAND is not a true random generator, but it's suitable for cryptographical purposes.
--
You received this message because you are subscribed to the Google Groups "Gramine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gramine-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gramine-users/e5e2c14a-dc80-48d4-90c1-186e059460b5n%40googlegroups.com.


Reply all
Reply to author
Forward
0 new messages