Skip to content

Fenrir Fix: Added cheap bounds checking to FREESCALE des - #11360

Open
aidankeefe2022 wants to merge 1 commit into
wolfSSL:masterfrom
aidankeefe2022:fenrir-12717
Open

Fenrir Fix: Added cheap bounds checking to FREESCALE des#11360
aidankeefe2022 wants to merge 1 commit into
wolfSSL:masterfrom
aidankeefe2022:fenrir-12717

Conversation

@aidankeefe2022

@aidankeefe2022 aidankeefe2022 commented Sep 2, 2026

Copy link
Copy Markdown
Member

Check that the bottom 3 bits of any input size are 0.

Description

Bounds are already checked at internal call sights but this is a public api and an easy OOB error to hit.

Fenrir Fix: https://fenrir.wolfssl.com/finding/12171

IMO test not needed due to simplicity of change.

Check that the bottm 3 bits of any input size are 0.

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fenrir Automated Review — PR #11360

Scan targets checked: wolfcrypt-bugs, wolfcrypt-src

Fenrir result: Approved ✅

No new issues found in the changed files.

Advisory only — this automated result does not count as a GitHub approval.

@aidankeefe2022

Copy link
Copy Markdown
Member Author

retest this please

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