SPAKE2+: Add psa_pake_set_context function for SPAKE2+ #818

Open
sigvartmh wants to merge 10 commits from sigvartmh/pr/spake2p-9344-set-context into development
sigvartmh commented 2026-06-21 05:09:04 -05:00 (Migrated from github.com)

Description

Please write a few sentences describing the overall goals of the pull request's commits.

To implements Mbed-TLS issue https://github.com/Mbed-TLS/mbedtls/issues/9344 psa_pake_set_context() to be used to that a SPAKE2+ operation can store the optional context string supplied during collect-input stage.

PR checklist

Please remove the segment/s on either side of the | symbol as appropriate, and add any relevant link/s to the end of the line.
If the provided content is part of the present PR remove the # symbol.

  • changelog provided | not required because:
  • framework PR provided Mbed-TLS/mbedtls-framework# | not required
  • TF-PSA-Crypto development PR provided # | not required because:
  • tests provided | not required because:

Notes for the submitter

Please refer to the contributing guidelines, especially the
checklist for PR contributors.

Help make review efficient:

  • Multiple simple commits
    • please structure your PR into a series of small commits, each of which does one thing
  • Avoid force-push
    • please do not force-push to update your PR - just add new commit(s)
  • See our Guidelines for Contributors for more details about the review process.
## Description Please write a few sentences describing the overall goals of the pull request's commits. To implements Mbed-TLS issue https://github.com/Mbed-TLS/mbedtls/issues/9344 psa_pake_set_context() to be used to that a SPAKE2+ operation can store the optional context string supplied during collect-input stage. ## PR checklist Please remove the segment/s on either side of the | symbol as appropriate, and add any relevant link/s to the end of the line. If the provided content is part of the present PR remove the # symbol. - [X] **changelog** provided | not required because: - [X] **framework PR** provided Mbed-TLS/mbedtls-framework# | not required - [X] **TF-PSA-Crypto development PR** provided # | not required because: - [X] **tests** provided | not required because: ## Notes for the submitter Please refer to the [contributing guidelines](https://github.com/Mbed-TLS/TF-PSA-Crypto/blob/development/CONTRIBUTING.md), especially the checklist for PR contributors. Help make review efficient: * Multiple simple commits - please structure your PR into a series of small commits, each of which does one thing * Avoid force-push - please do not force-push to update your PR - just add new commit(s) * See our [Guidelines for Contributors](https://mbed-tls.readthedocs.io/en/latest/reviews/review-for-contributors/) for more details about the review process.
This pull request has changes conflicting with the target branch.
  • include/psa/crypto_extra.h
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'sigvartmh/pr/spake2p-9344-set-context:sigvartmh/pr/spake2p-9344-set-context'
git switch 'sigvartmh/pr/spake2p-9344-set-context'

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 'sigvartmh/pr/spake2p-9344-set-context'
git switch 'sigvartmh/pr/spake2p-9344-set-context'
git rebase 'development'
git switch 'development'
git merge --ff-only 'sigvartmh/pr/spake2p-9344-set-context'
git switch 'sigvartmh/pr/spake2p-9344-set-context'
git rebase 'development'
git switch 'development'
git merge --no-ff 'sigvartmh/pr/spake2p-9344-set-context'
git switch 'development'
git merge --squash 'sigvartmh/pr/spake2p-9344-set-context'
git switch 'development'
git merge --ff-only 'sigvartmh/pr/spake2p-9344-set-context'
git switch 'development'
git merge 'sigvartmh/pr/spake2p-9344-set-context'
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!818
No description provided.