Lines Matching refs:apex
46 namespace apex { namespace
214 StatusOr<std::unique_ptr<AvbFooter>> getAvbFooter(const ApexFile& apex, in getAvbFooter() argument
220 off_t offset = apex.GetImageSize() + apex.GetImageOffset() - AVB_FOOTER_SIZE; in getAvbFooter()
252 StatusOr<std::string> getPublicKeyName(const ApexFile& apex, in getPublicKeyName() argument
260 << apex.GetPath()); in getPublicKeyName()
263 if (keyName != apex.GetManifest().name()) { in getPublicKeyName()
266 << apex.GetManifest().name() << "'" in getPublicKeyName()
272 Status verifyVbMetaSignature(const ApexFile& apex, const uint8_t* data, in verifyVbMetaSignature() argument
286 << "Error verifying " << apex.GetPath() << ": " in verifyVbMetaSignature()
290 << "Error verifying " << apex.GetPath() << ": " in verifyVbMetaSignature()
294 << "Error verifying " << apex.GetPath() << ": " in verifyVbMetaSignature()
300 StatusOr<std::string> key_name = getPublicKeyName(apex, data, length); in verifyVbMetaSignature()
316 LOG(WARNING) << "Verifying " << apex.GetPath() << " with the bundled key"; in verifyVbMetaSignature()
317 st = verifyPublicKey(pk, pk_len, apex.GetBundledPublicKey()); in verifyVbMetaSignature()
323 LOG(VERBOSE) << apex.GetPath() << ": public key matches."; in verifyVbMetaSignature()
328 << "Error verifying " << apex.GetPath() << ": " in verifyVbMetaSignature()
332 StatusOr<std::unique_ptr<uint8_t[]>> verifyVbMeta(const ApexFile& apex, in verifyVbMeta() argument
340 off_t offset = apex.GetImageOffset() + footer.vbmeta_offset; in verifyVbMeta()
348 Status st = verifyVbMetaSignature(apex, vbmeta_buf.get(), footer.vbmeta_size); in verifyVbMeta()