public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* RNG algo question
@ 2016-09-16 21:33 Palmer, Thomas
  2016-09-17  7:19 ` Ard Biesheuvel
  0 siblings, 1 reply; 3+ messages in thread
From: Palmer, Thomas @ 2016-09-16 21:33 UTC (permalink / raw)
  To: edk2-devel@lists.01.org; +Cc: Gibbons, Pat


EDK2 community

Why is the RngGetRNG  sending requests for "gEfiRngAlgorithmRaw"  to "RdRandGenerateEntropy",  which does AES operations on RDRAND output, whereas the requests for "gEfiRngAlgorithmSp80090Ctr256Guid" get sent to RdRandGetBytes which simply reads the rdrand source without modification.

Shouldn't the processing be switched, so that "Raw" goes to RdRandGetBytes and "gEfiRngAlgorithmSp80090Ctr256Guid" goes to RdRandGenerateEntropy?  I did not see anything in the UEFI 2.5 spec indicating why this was the case.


Regards,

Thomas Palmer


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-17 16:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-16 21:33 RNG algo question Palmer, Thomas
2016-09-17  7:19 ` Ard Biesheuvel
2016-09-17 16:46   ` Long, Qin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox