Skip to content

Fix the PAC key size in MAX_CONTEXT_SIZE calculation - #1502

Merged
kstribrnAmzn merged 1 commit into
FreeRTOS:mainfrom
ithinuel:wilcha02/fix-max-context-size
Oct 15, 2026
Merged

kstribrnAmzn merged 1 commit into
FreeRTOS:mainfrom
ithinuel:wilcha02/fix-max-context-size

Conversation

@ithinuel

Copy link
Copy Markdown
Contributor

Description

The PAC key size is 16bytes long. MAX_CONTEXT_SIZE macro counts words not bytes. Hence, correcting the MAX_CONTEXT_SIZE to account for the PAC key size in words not bytes.

Test Steps

I built & ran some of the applications from the

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The PAC key size is 16bytes long. MAX_CONTEXT_SIZE macro counts words not bytes.
Hence, correcting the MAX_CONTEXT_SIZE to account for the PAC key size in words
not bytes.

Signed-off-by: Wilfried Chauveau <[email protected]>
@kstribrnAmzn
kstribrnAmzn force-pushed the wilcha02/fix-max-context-size branch from 6be858c to 2110584 Compare October 15, 2026 18:46
@sonarqubecloud

Copy link
Copy Markdown

@kstribrnAmzn
kstribrnAmzn merged commit 97f50c0 into FreeRTOS:main Oct 15, 2026
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants