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

Pass NULL f_rng to mbedtls_pk_parse_key() #2818

Open
rw8896 opened this issue Aug 22, 2024 · 0 comments
Open

Pass NULL f_rng to mbedtls_pk_parse_key() #2818

rw8896 opened this issue Aug 22, 2024 · 0 comments
Assignees

Comments

@rw8896
Copy link
Contributor

rw8896 commented Aug 22, 2024

ret = mbedtls_pk_parse_key(&pk, pem_data, pem_size,
(const uint8_t *)password, password_len,
NULL, NULL);

mbedtls_pk_parse_key documented that "f_rng – RNG function, must not be NULL. Used for blinding", won't these functions return error?

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

No branches or pull requests

2 participants