Skip to content

Fault injection protection - #50

Open
diondokter wants to merge 8 commits into
OpenDevicePartnership:mcxa-secure-bootfrom
diondokter:fault-injection-protection
Open

diondokter wants to merge 8 commits into
OpenDevicePartnership:mcxa-secure-bootfrom
diondokter:fault-injection-protection

Conversation

@diondokter

@diondokter diondokter commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Please review (and merge) #49 first.
This PR builds on top of it

This PR adds a protectec-if routine that protects against single instruction fault injection.

@diondokter
diondokter requested a review from a team as a code owner October 13, 2026 17:22
@diondokter
diondokter changed the base branch from main to mcxa-secure-boot October 13, 2026 17:22
@jerrysxie
jerrysxie requested a review from felipebalbi October 13, 2026 17:23
@jerrysxie jerrysxie added this to EC Oct 13, 2026
(cherry picked from commit 160db31)
(cherry picked from commit 5c37dcb)
(cherry picked from commit 6f054d6)
(cherry picked from commit ef4838c)
@diondokter
diondokter force-pushed the fault-injection-protection branch from 12ec658 to 6330714 Compare October 13, 2026 18:13
(cherry picked from commit 12ec658)
@diondokter
diondokter force-pushed the fault-injection-protection branch from 6330714 to 32d027f Compare October 13, 2026 18:14
}
}

pub fn test_implementations() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit, why is this pub?

@diondokter diondokter Oct 14, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

There's no infra to run tests on devices so I used it to test on a device. We could make it private yeah. But the real thing we ought do is adding on-device tests...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we file an issue for this?

@JamesHuard
JamesHuard enabled auto-merge (squash) October 15, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Committed

Development

Successfully merging this pull request may close these issues.

4 participants