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

Deprecate mbedtls_cipher_setup_psa() #5261

Closed
3 tasks done
mpg opened this issue Dec 2, 2021 · 0 comments · Fixed by #5813
Closed
3 tasks done

Deprecate mbedtls_cipher_setup_psa() #5261

mpg opened this issue Dec 2, 2021 · 0 comments · Fixed by #5813
Assignees
Labels
enhancement size-s Estimated task size: small (~2d)

Comments

@mpg
Copy link
Contributor

mpg commented Dec 2, 2021

After #5204 there is no longer any part of the library that calls this function. Since it was mainly created for internal use, let's deprecate it and encourage users to actually migrate to the PSA API instead (see #5208 too).

  • Mark the function as deprecated using MBEDTLS_DEPRECATED (see platform_util.h)
  • Document the deprecation using \deprecated
  • Add a New deprecations ChangeLog entry that recommends use psa_aead_xxx() / psa_cipher_xxx() directly instead.

Note: updating docs/use-psa-crypto.md is out of scope, as it's already done in #5757

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement size-s Estimated task size: small (~2d)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants