Skip to content

Conversation

@valeriosetti
Copy link
Contributor

Description

Resolves #530
Depends on Mbed-TLS/mbedtls#10517

PR checklist

  • changelog not required because: mbedtls_pk_debug was an internal function so its removal does not need any notification
  • framework PR not required
  • mbedtls development PR provided Remove use of pk_debug() mbedtls#10517
  • mbedtls 3.6 PR not required because: not backported
  • tests provided: unnecessary tests have been removed.

- remove all implementation of "debug_func" from "pk_wrap.c"
- remove "debug_func" ops from "mbedtls_pk_info_t"
- remove private function "mbedtls_pk_debug"
- remove enum "mbedtls_pk_debug_type", struct "mbedtls_pk_debug_item" and
  MBEDTLS_PK_DEBUG_MAX_ITEMS

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
The function has been removed from the repo, so its testing can be removed
too.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
@valeriosetti valeriosetti added needs-reviewer This PR needs someone to pick it up for review priority-high High priority - will be reviewed soon size-xs Estimated task size: extra small (a few hours at most) needs-preceding-pr Requires another PR to be merged first needs-ci Needs to pass CI tests labels Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci Needs to pass CI tests needs-preceding-pr Requires another PR to be merged first needs-reviewer This PR needs someone to pick it up for review priority-high High priority - will be reviewed soon size-xs Estimated task size: extra small (a few hours at most)

Projects

Development

Successfully merging this pull request may close these issues.

PK: remove pk_debug() and related stuff

1 participant