Software APIs
Protected Member Functions | Protected Attributes
anonymous_namespace{ownership_unlock_unittest.cc}::OwnershipUnlockTest Class Reference

Protected Member Functions

void SetUp () override
 

Protected Attributes

boot_data_t bootdata_
 
boot_svc_msg_t message_
 
rom_test::MockHmac hmac_
 
rom_test::MockRnd rnd_
 
rom_test::MockBootSvcHeader hdr_
 
rom_test::MockLifecycle lifecycle_
 
rom_test::MockOwnershipKey ownership_key_
 
- Protected Attributes inherited from rom_test::RomTest
std::unique_ptr< testing::InSequence > seq_
 

Detailed Description

Definition at line 35 of file ownership_unlock_unittest.cc.

Field Documentation

◆ bootdata_

boot_data_t anonymous_namespace{ownership_unlock_unittest.cc}::OwnershipUnlockTest::bootdata_
protected
Initial value:
= {
.nonce = {1, 2},
.ownership_state = kOwnershipStateLockedOwner,
}

Definition at line 37 of file ownership_unlock_unittest.cc.

◆ message_

boot_svc_msg_t anonymous_namespace{ownership_unlock_unittest.cc}::OwnershipUnlockTest::message_
protected
Initial value:
= {
.ownership_unlock_req =
{
.header =
{
.type = kBootSvcOwnershipUnlockReqType,
},
.din = {0, 0},
.nonce = {1, 2},
},
}

Definition at line 41 of file ownership_unlock_unittest.cc.