This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] random_device, specify optimal entropy properties for all OS's using arc4random()
ClosedPublic

Authored by brad on Mar 25 2022, 10:01 PM.

Details

Summary

After noticing D116045, fix the function to take into consideration other OS's using arc4random().

Diff Detail

Event Timeline

brad created this revision.Mar 25 2022, 10:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2022, 10:01 PM
Herald added a subscriber: krytarowski. · View Herald Transcript
brad requested review of this revision.Mar 25 2022, 10:01 PM
Herald added 1 blocking reviewer(s): Restricted Project. · View Herald TranscriptMar 25 2022, 10:01 PM
ldionne accepted this revision.Mar 28 2022, 11:48 AM

Thanks for noticing! We should also cherry-pick this to release/14.x, let me know if you want me to do it.

This revision is now accepted and ready to land.Mar 28 2022, 11:48 AM
brad added a comment.Mar 28 2022, 7:48 PM

Thanks for noticing! We should also cherry-pick this to release/14.x, let me know if you want me to do it.

Done. 54605.

Thanks for noticing! We should also cherry-pick this to release/14.x, let me know if you want me to do it.

Done. 54605.

Thank you!