-
Notifications
You must be signed in to change notification settings - Fork 792
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sival, keymgr] Fix keymgr sealing/attestation test in unmasked envs
The `chip_sw_keymgr_derive_{sealing,attestation}` test would fail on FPGAs with masking disabled due to faulty logic that checks whether derived keymgr outputs differ between states by not taking into account that the second output share is always 0 when masking is disabled. This commit resolves this issue by flagging two outputs as different if and only if they differ in at least one share instead of requiring both shares to be different which was the cause of the failure. Signed-off-by: Andrea Caforio <[email protected]>
- Loading branch information
1 parent
11d86df
commit 096be43
Showing
1 changed file
with
11 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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