Backport 1.1: Don't copy buffers for low-risk PSA operations#796
Open
gilles-peskine-arm wants to merge 4 commits into
Open
Backport 1.1: Don't copy buffers for low-risk PSA operations#796gilles-peskine-arm wants to merge 4 commits into
gilles-peskine-arm wants to merge 4 commits into
Conversation
``` framework/scripts/generate_psa_wrappers.py ``` Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
5 tasks
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
``` framework/scripts/generate_psa_wrappers.py ``` Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
897c354 to
1c36631
Compare
PSA hash, MAC and XOF functions no longer use intermediate buffers on the heap for their inputs and outputs, even when MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS is disabled. Fixes Mbed-TLS#795. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
1c36631 to
73ce9aa
Compare
bjwtaylor
approved these changes
Jun 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix #795
Needs preceding PR: framework prerequisite
PR checklist