Home
last modified time | relevance | path

Searched refs:verified_boot_state (Results 1 – 5 of 5) 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.cpp107 std::string verified_boot_state; in IsDeviceUnlocked() local
109 if (fs_mgr_get_boot_config("verifiedbootstate", &verified_boot_state)) { in IsDeviceUnlocked()
110 return verified_boot_state == "orange"; in IsDeviceUnlocked()
/system/keymaster/km_openssl/
Dattestation_record.cpp395 keymaster_verified_boot_t verified_boot_state; in build_attestation_record() local
398 &verified_boot_key, &verified_boot_state, &device_locked); in build_attestation_record()
406 if (!ASN1_ENUMERATED_set(tee_record->root_of_trust->verified_boot_state, in build_attestation_record()
407 verified_boot_state)) in build_attestation_record()
763 keymaster_verified_boot_t* verified_boot_state, in parse_root_of_trust() argument
784 *verified_boot_state = static_cast<keymaster_verified_boot_t>( in parse_root_of_trust()
785 ASN1_ENUMERATED_get(root_of_trust->verified_boot_state)); in parse_root_of_trust()
/system/keymaster/include/keymaster/
Dattestation_record.h45 ASN1_ENUMERATED* verified_boot_state; member
51 ASN1_SIMPLE(KM_ROOT_OF_TRUST, verified_boot_state, ASN1_ENUMERATED),
264 keymaster_verified_boot_t* verified_boot_state,
/system/core/fs_mgr/
Dfs_mgr.cpp612 std::string verified_boot_state; in fs_mgr_is_device_unlocked() local
613 if (fs_mgr_get_boot_config("verifiedbootstate", &verified_boot_state)) { in fs_mgr_is_device_unlocked()
614 return verified_boot_state == "orange"; in fs_mgr_is_device_unlocked()