Home
last modified time | relevance | path

Searched refs:verified_boot_state (Results 1 – 9 of 9) sorted by relevance

/system/keymaster/tests/
Dattestation_record_test.cpp43 keymaster_verified_boot_t* verified_boot_state, in GetVerifiedBootParams() argument
47 *verified_boot_state = KM_VERIFIED_BOOT_VERIFIED; in GetVerifiedBootParams()
53 keymaster_verified_boot_t verified_boot_state, bool device_locked) { in VerifyRootOfTrust() argument
59 EXPECT_EQ(KM_VERIFIED_BOOT_VERIFIED, verified_boot_state); in VerifyRootOfTrust()
135 keymaster_verified_boot_t verified_boot_state; in TEST() local
138 &verified_boot_state, &device_locked)); in TEST()
139 context.VerifyRootOfTrust(verified_boot_key, verified_boot_state, device_locked); in TEST()
/system/core/fs_mgr/libfs_avb/
Dutil.cpp110 std::string verified_boot_state; in IsDeviceUnlocked() local
112 if (fs_mgr_get_boot_config("verifiedbootstate", &verified_boot_state)) { in IsDeviceUnlocked()
113 return verified_boot_state == "orange"; in IsDeviceUnlocked()
/system/keymaster/km_openssl/
Dattestation_record.cpp404 keymaster_verified_boot_t verified_boot_state; in build_attestation_record() local
407 &verified_boot_state, &device_locked); in build_attestation_record()
421 if (!ASN1_ENUMERATED_set(root_of_trust->verified_boot_state, verified_boot_state)) { in build_attestation_record()
789 keymaster_verified_boot_t* verified_boot_state, in parse_root_of_trust() argument
810 *verified_boot_state = static_cast<keymaster_verified_boot_t>( in parse_root_of_trust()
811 ASN1_ENUMERATED_get(root_of_trust->verified_boot_state)); in parse_root_of_trust()
/system/keymaster/include/keymaster/
Dattestation_record.h47 ASN1_ENUMERATED* verified_boot_state; member
54 ASN1_SIMPLE(KM_ROOT_OF_TRUST, verified_boot_state, ASN1_ENUMERATED),
290 keymaster_verified_boot_t* verified_boot_state,
/system/keymaster/include/keymaster/contexts/
Dpure_soft_keymaster_context.h101 keymaster_verified_boot_t* verified_boot_state,
Dsoft_keymaster_context.h113 keymaster_verified_boot_t* verified_boot_state,
/system/keymaster/contexts/
Dsoft_keymaster_context.cpp481 keymaster_verified_boot_t* verified_boot_state, bool* device_locked) const { in GetVerifiedBootParams() argument
486 *verified_boot_state = KM_VERIFIED_BOOT_UNVERIFIED; in GetVerifiedBootParams()
Dpure_soft_keymaster_context.cpp449 keymaster_verified_boot_t* verified_boot_state, bool* device_locked) const { in GetVerifiedBootParams() argument
454 *verified_boot_state = KM_VERIFIED_BOOT_UNVERIFIED; in GetVerifiedBootParams()
/system/core/fs_mgr/
Dfs_mgr.cpp746 std::string verified_boot_state; in fs_mgr_is_device_unlocked() local
747 if (fs_mgr_get_boot_config("verifiedbootstate", &verified_boot_state)) { in fs_mgr_is_device_unlocked()
748 return verified_boot_state == "orange"; in fs_mgr_is_device_unlocked()