Skip to content

SPAKE2+: Add psa_pake_set_context function for SPAKE2+ - #818

Open
sigvartmh wants to merge 1 commit into
Mbed-TLS:developmentfrom
sigvartmh:pr/spake2p-9344-set-context
Open

SPAKE2+: Add psa_pake_set_context function for SPAKE2+#818
sigvartmh wants to merge 1 commit into
Mbed-TLS:developmentfrom
sigvartmh:pr/spake2p-9344-set-context

Conversation

@sigvartmh

Copy link
Copy Markdown

Description

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

To implements Mbed-TLS issue Mbed-TLS/mbedtls#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.

@yiwu0b11 yiwu0b11 added needs-reviewer This PR needs someone to pick it up for review needs-ci Needs to pass CI tests size-s Estimated task size: small (~2d) needs-review Every commit must be reviewed by at least two team members priority-low Low priority - this may not receive review soon needs-work needs-backports Backports are missing or are pending review and approval. enhancement New feature or request needs-info An issue or PR which needs further info from the reporter / author labels Jun 23, 2026
@yiwu0b11 yiwu0b11 moved this to Implement SPAKE2+ in Backlog for Mbed TLS Jun 23, 2026
@yiwu0b11 yiwu0b11 removed needs-work needs-info An issue or PR which needs further info from the reporter / author labels Jun 26, 2026
@sigvartmh
sigvartmh force-pushed the pr/spake2p-9344-set-context branch from f35593e to 7753df0 Compare July 19, 2026 11:09
@sigvartmh sigvartmh mentioned this pull request Jul 19, 2026
7 tasks
psa_pake_set_context() was a stub returning PSA_ERROR_NOT_SUPPORTED.
This implements it so a SPAKE2+ operation can store the optional context
string supplied during the collect-inputs stage, and returns the correct errors
for misuse.

Signed-off-by: Kusumit Ghoderao <kusumitg@gmail.com>
Signed-off-by: Sigvart Hovland <sigvart.m@gmail.com>
@sigvartmh
sigvartmh force-pushed the pr/spake2p-9344-set-context branch from 7753df0 to cc09f3a Compare July 19, 2026 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request needs-backports Backports are missing or are pending review and approval. needs-ci Needs to pass CI tests needs-review Every commit must be reviewed by at least two team members needs-reviewer This PR needs someone to pick it up for review priority-low Low priority - this may not receive review soon size-s Estimated task size: small (~2d)

Projects

Status: Implement SPAKE2+
Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants