Software APIs
Protected Member Functions | Protected Attributes
anonymous_namespace{ownership_activate_unittest.cc}::OwnershipActivateTest Class Reference

Protected Member Functions

void MakePage1StructValid ()
 
void MakePage1Valid (bool valid)
 

Protected Attributes

boot_data_t bootdata_
 
boot_svc_msg_t message_
 
rom_test::MockHmac hmac_
 
rom_test::MockRnd rnd_
 
rom_test::MockFlashCtrl flash_ctrl_
 
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 33 of file ownership_activate_unittest.cc.

Field Documentation

◆ bootdata_

boot_data_t anonymous_namespace{ownership_activate_unittest.cc}::OwnershipActivateTest::bootdata_
protected
Initial value:
= {
.nonce = kDefaultNonce,
.ownership_state = kOwnershipStateLockedOwner,
}

Definition at line 84 of file ownership_activate_unittest.cc.

◆ message_

boot_svc_msg_t anonymous_namespace{ownership_activate_unittest.cc}::OwnershipActivateTest::message_
protected
Initial value:
= {
.ownership_activate_req =
{
.header =
{
.type = kBootSvcOwnershipActivateReqType,
},
.nonce = kDefaultNonce,
},
}

Definition at line 88 of file ownership_activate_unittest.cc.