Home
last modified time | relevance | path

Searched refs:verityData (Results 1 – 2 of 2) sorted by relevance

/system/apex/apexd/
Dapex_file.cpp315 ApexVerityData verityData; in VerifyApexVerity() local
344 verityData.desc = std::move(*verifiedDescriptor); in VerifyApexVerity()
349 verityData.hash_algorithm = in VerifyApexVerity()
351 verityData.salt = getSalt(*verityData.desc, trailingData); in VerifyApexVerity()
352 verityData.root_digest = getDigest(*verityData.desc, trailingData); in VerifyApexVerity()
354 return verityData; in VerifyApexVerity()
Dapexd.cpp408 auto verityData = apex.VerifyApexVerity(); in MountPackageImpl() local
409 if (!verityData.ok()) { in MountPackageImpl()
411 << ": " << verityData.error(); in MountPackageImpl()
427 if (verityData->desc->tree_size == 0) { in MountPackageImpl()
428 if (auto st = PrepareHashTree(apex, *verityData, hashtree_file); in MountPackageImpl()
441 createVerityTable(*verityData, loopbackDevice.name, hash_device, in MountPackageImpl()
462 readVerityDevice(blockDevice, (*verityData).desc->image_size); in MountPackageImpl()