Only build mbedtls_rsa_deduce_private_exponent when key generation is enabled #673

Open
valeriosetti wants to merge 4 commits from valeriosetti/issue669 into development
valeriosetti commented 2026-01-22 04:43:44 -06:00 (Migrated from github.com)

Description

Resolves #669

PR checklist

  • changelog not required because: mbedtls_rsa_deduce_private_exponent in an internal function so adding a guard to it is not something visible to the user.
  • framework PR not required
  • mbedtls development PR not required because: no change there
  • mbedtls 3.6 PR not required because: no backport
  • tests provided: updated as requested in the issue
## Description Resolves #669 ## PR checklist - [ ] **changelog** not required because: `mbedtls_rsa_deduce_private_exponent` in an internal function so adding a guard to it is not something visible to the user. - [ ] **framework PR** not required - [ ] **mbedtls development PR** not required because: no change there - [ ] **mbedtls 3.6 PR** not required because: no backport - **tests** provided: updated as requested in the issue
bjwtaylor (Migrated from github.com) reviewed 2026-01-26 07:11:03 -06:00
bjwtaylor commented 2026-07-20 02:43:13 -05:00 (Migrated from github.com)

The CI looks broken, is this expected?

The CI looks broken, is this expected?
valeriosetti commented 2026-07-29 03:40:45 -05:00 (Migrated from github.com)

The CI looks broken, is this expected?

Nope, there was a problem with the last minute rebase that I did to resolve a conflict on the RSA test data before leaving for vacations. Now it should be fixed. Let's see what the CI thinks. Once it's happy I will ping you again.

> The CI looks broken, is this expected? Nope, there was a problem with the last minute rebase that I did to resolve a conflict on the RSA test data before leaving for vacations. Now it should be fixed. Let's see what the CI thinks. Once it's happy I will ping you again.
bjwtaylor (Migrated from github.com) approved these changes 2026-07-29 05:16:24 -05:00
This pull request is broken due to missing fork information.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'valeriosetti/issue669:valeriosetti/issue669'
git switch 'valeriosetti/issue669'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'development'
git merge --no-ff 'valeriosetti/issue669'
git switch 'valeriosetti/issue669'
git rebase 'development'
git switch 'development'
git merge --ff-only 'valeriosetti/issue669'
git switch 'valeriosetti/issue669'
git rebase 'development'
git switch 'development'
git merge --no-ff 'valeriosetti/issue669'
git switch 'development'
git merge --squash 'valeriosetti/issue669'
git switch 'development'
git merge --ff-only 'valeriosetti/issue669'
git switch 'development'
git merge 'valeriosetti/issue669'
git push origin 'development'
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-Mbed-TLS/TF-PSA-Crypto!673
No description provided.