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 PSA_CRYPTO_MEMORY_DEBUG/BACKTRACE config options #74

Open
4 tasks
ronald-cron-arm opened this issue Oct 2, 2023 · 0 comments
Open
4 tasks

Add PSA_CRYPTO_MEMORY_DEBUG/BACKTRACE config options #74

ronald-cron-arm opened this issue Oct 2, 2023 · 0 comments
Labels
enhancement New feature or request size-xs Estimated task size: extra small (a few hours at most)

Comments

@ronald-cron-arm
Copy link
Contributor

  • Add PSA_CRYPTO_MEMORY_DEBUG/BACKTRACE config options and their documentations in the section "General configuration options." of crypto_config.h just next to the PSA_CRYPTO_MEMORY_BUFFER_ALLOC one . Similar to MBEDTLS_MEMORY_DEBUG/BACKTRACE in mbedtls. Disabled by default.
  • Add their translations to MBEDTLS_MEMORY_DEBUG/BACKTRACE in config_adjust_mbedtls_from_psa_crypto.h.
  • Add test_memory_buffer_allocator_backtrace and test_memory_buffer_allocator all.sh test components similar to the mbedtls one.
  • Check that the test components do what they intend to do and give evidence of this in this issue or the associated PR for the benefit of reviewers.
@ronald-cron-arm ronald-cron-arm added enhancement New feature or request size-xs Estimated task size: extra small (a few hours at most) labels Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size-xs Estimated task size: extra small (a few hours at most)
Projects
Status: PSA repo Q4 - all.sh components
Development

No branches or pull requests

1 participant