mailing list of musl libc
 help / color / mirror / code / Atom feed
* AES_CTR_DRBG / random numbers
@ 2017-11-27 16:39 Darcy Parker
  2017-11-27 17:13 ` Markus Wichmann
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Darcy Parker @ 2017-11-27 16:39 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 1000 bytes --]

Hi,

Have musl developers considered  AES_CTR_DRBG like glibc project has?

I learned about it from
https://aws.amazon.com/blogs/opensource/better-random-number-generation-for-openssl-libc-and-linux-mainline/.
My understanding of it is limited, but enough to be concerned about claimed
risk of how fork() may copy memory used by an initialized random number
generator.  It looks like s2n and linux have or will adopt AES_CTR_DRBG.
My concern is other software that may depend on libc's rand() rather than
implement their own secure pseudo random number generator.

I appreciate musl for its reputation of correctness and performance.  And
although I saw glibc is moving to it, a quick set of searches with Google
didn't uncover discussion about AES_CTR_DRBG being implemented in musl.

Is musl's pseudo random number generator methods vulnerable in the same way
glibc is?  My hope is that it is not vulnerable, but if it is, I'd like to
know musl developers are already on top of this.

Thanks
Darcy

[-- Attachment #2: Type: text/html, Size: 3042 bytes --]

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

end of thread, other threads:[~2017-11-27 23:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-27 16:39 AES_CTR_DRBG / random numbers Darcy Parker
2017-11-27 17:13 ` Markus Wichmann
2017-11-27 17:25   ` Darcy Parker
2017-11-27 17:44     ` Markus Wichmann
2017-11-27 19:51 ` Szabolcs Nagy
2017-11-27 23:34 ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).