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

Add rand_priv_bytes #2126

Merged
merged 2 commits into from
Dec 14, 2023
Merged

Add rand_priv_bytes #2126

merged 2 commits into from
Dec 14, 2023

Conversation

overvenus
Copy link
Contributor

rand_priv_bytes has the same semantics as rand_bytes, and it is intended to be used for generating values that should remain private.

See https://www.openssl.org/docs/manmaster/man3/RAND_priv_bytes.html

`rand_priv_bytes` has the same semantics as `rand_bytes`, and it is
intended to be used for generating values that should remain private.

Signed-off-by: Neil Shen <overvenus@gmail.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
@sfackler
Copy link
Owner

The concept of RAND_priv_bytes seems truly bizarre to me, but no reason not to expose it I suppose.

@sfackler sfackler merged commit 994939b into sfackler:master Dec 14, 2023
53 checks passed
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.

None yet

2 participants