Home
last modified time | relevance | path

Searched refs:vbmeta_digest (Results 1 – 18 of 18) sorted by relevance

/system/core/init/
Dproperty_service_test.cpp100 std::string vbmeta_digest = GetProperty("ro.boot.vbmeta.digest", ""); in TEST() local
101 ASSERT_GE(vbmeta_digest.size(), 8u); in TEST()
104 std::string expected_build_id = legacy_build_id + "." + vbmeta_digest.substr(0, 8); in TEST()
Dproperty_service.cpp936 std::string vbmeta_digest = GetProperty(VBMETA_DIGEST_PROP, ""); in property_initialize_build_id() local
937 if (vbmeta_digest.size() < DIGEST_SIZE_USED) { in property_initialize_build_id()
938 LOG(ERROR) << "vbmeta digest size too small " << vbmeta_digest; in property_initialize_build_id()
943 build_id = legacy_build_id + "." + vbmeta_digest.substr(0, DIGEST_SIZE_USED); in property_initialize_build_id()
/system/update_engine/aosp/
Dhardware_android.cc104 uint8_t vbmeta_digest[AVB_SHA256_DIGEST_SIZE]; in CalculateVbmetaDigestForInactiveSlot() local
106 avb_slot_data, AVB_DIGEST_TYPE_SHA256, vbmeta_digest); in CalculateVbmetaDigestForInactiveSlot()
109 base::HexEncode(vbmeta_digest, AVB_SHA256_DIGEST_SIZE); in CalculateVbmetaDigestForInactiveSlot()
/system/keymaster/contexts/
Dpure_soft_keymaster_context.cpp100 const std::vector<uint8_t>& vbmeta_digest) { in SetVerifiedBootInfo() argument
107 if (vbmeta_digest_.has_value() && vbmeta_digest != vbmeta_digest_.value()) { in SetVerifiedBootInfo()
112 vbmeta_digest_ = vbmeta_digest; in SetVerifiedBootInfo()
115 vbmeta_digest); in SetVerifiedBootInfo()
Dpure_soft_remote_provisioning_context.cpp244 const std::vector<uint8_t>& vbmeta_digest) { in SetVerifiedBootInfo() argument
247 vbmeta_digest_ = vbmeta_digest; in SetVerifiedBootInfo()
/system/keymaster/include/keymaster/contexts/
Dpure_soft_remote_provisioning_context.h56 const std::vector<uint8_t>& vbmeta_digest);
Dpure_soft_keymaster_context.h99 const std::vector<uint8_t>& vbmeta_digest) override;
/system/libsysprop/srcs/android/sysprop/
DOtaProperties.sysprop61 prop_name: "ota.other.vbmeta_digest",
/system/keymint/ta/src/
Drkp.rs73 let vbmeta_digest = cbor::value::Value::Bytes(try_to_vec(&boot_info.verified_boot_hash)?); in rpc_device_info_cbor() localVariable
104 "vbmeta_digest" => vbmeta_digest, in rpc_device_info_cbor()
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h1252 bootloader_state(bootloader_state_param), vbmeta_digest(std::move(vbmeta_digest_param)) {} in ConfigureVerifiedBootInfoRequest()
1256 + boot_state.size() + bootloader_state.size() + vbmeta_digest.size(); in SerializedSize()
1261 return append_collection_to_buf(buf, end, vbmeta_digest); in Serialize()
1266 copy_collection_from_buf(buf_ptr, end, &vbmeta_digest); in Deserialize()
1271 std::vector<uint8_t> vbmeta_digest; member
/system/keymaster/tests/
Dandroid_keymaster_messages_test.cpp767 EXPECT_EQ(deserialized->vbmeta_digest, req.vbmeta_digest); in TEST()
/system/keymint/wire/src/
Dlegacy.rs409 pub vbmeta_digest: Vec<u8>, field
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp904 request.vbmeta_digest); in ConfigureVerifiedBootInfo()
/system/sepolicy/prebuilts/api/31.0/private/
Dproperty_contexts293 ota.other.vbmeta_digest u:object_r:ota_prop:s0 exact string
/system/sepolicy/prebuilts/api/32.0/private/
Dproperty_contexts294 ota.other.vbmeta_digest u:object_r:ota_prop:s0 exact string
/system/sepolicy/prebuilts/api/33.0/private/
Dproperty_contexts324 ota.other.vbmeta_digest u:object_r:ota_prop:s0 exact string
/system/sepolicy/private/
Dproperty_contexts345 ota.other.vbmeta_digest u:object_r:ota_prop:s0 exact string
/system/sepolicy/prebuilts/api/34.0/private/
Dproperty_contexts345 ota.other.vbmeta_digest u:object_r:ota_prop:s0 exact string