Skip to content

[BUG] After Product-Debug Unlock, KAT Test(SHA ACC) error occurred #3050

@daeyoungkim-87

Description

@daeyoungkim-87

Hello. caliptra team

RTL : Caliptra SS 2.1.1
SW : Caliptra ROM 2.1 RC1

During Caliptra ROM boot initialization in Lifecycle PROD state, after completing ECDSA and MLDSA authentication to enter Debug-mode, the KAT test outputs the error "DRIVER_SHA2_512_384ACC_UNEXPECTED_ACQUIRED_LOCK_STATE" during ROM boot.

It appears there is an issue where the SHA ACC's Lock value is not released from 0 after executing line 149 in common/src/debug_unlock.rs.
When the sha_acc lock is manually modified to 1 in the code, it operates normally.

acc_op.digest_384(

Please review this. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions