Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make use of arc4random_buf() #1640

Closed
wants to merge 1 commit into from
Closed

Make use of arc4random_buf() #1640

wants to merge 1 commit into from

Conversation

brad0
Copy link
Contributor

@brad0 brad0 commented Feb 3, 2024

Make use of arc4random_buf() if it exists. Supported on
FreeBSD/NetBSD/OpenBSD/Solaris/Linux/Android.

Make use of arc4random_buf() if it exists. Supported on
FreeBSD/NetBSD/OpenBSD/Solaris/Linux/Android.
@brad0
Copy link
Contributor Author

brad0 commented Feb 13, 2024

Ping.

@swlars
Copy link
Contributor

swlars commented Feb 14, 2024

Thank you for the pull request! Considering the readentropy() function is only used to randomize the payload in iperf3 streams to avoid compression, I'm not sure what benefit using arc4random_buf() would bring. Could you explain the advantages?

@swlars
Copy link
Contributor

swlars commented Mar 18, 2024

Thank you for the pull request. If you'd like to discuss the benefits of this change, we can revisit it in the future.

@swlars swlars closed this Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants