-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Remove mbedtls_md_process and underlying functions #4657
Comments
There are associated |
Indeed we shouldn't remove the |
[edit: this message is about 2.2x] If we can do that in a way that people using |
For ECP non-public alt functions, the declarations are in |
|
Treating as SHOULD because this would be part of the ALT interface removal. |
|
Context
The function
mbedtls_md_process
and the underlyingmbedtls_internal_<hash>_process
functions were first released in Mbed TLS 1.3 as part of a partial countermeasure for timing-based Lucky 13 attacks in TLS. This countermeasure has since then improved and the functions in question are no longer used.These functions are documented as “internal use” and their semantics is not fully clear. As of Mbed TLS 2.26, alternative implementations are still supposed to implement them, but it's useless since Mbed TLS won't call them and applications aren't supposed to call them.
Proposal
Remove
mbedtls_md_process
and the underlying functions from the public API.Work to do
mbedtls_md_process
entirely.mbedtls_internal_<hash>_process
functions from the public API and declare them asstatic
(since they're a building block of the publicmbedtls_<hash>_update
functions).The text was updated successfully, but these errors were encountered: