Lines Matching refs:footer
212 auto footer = std::make_unique<AvbFooter>(); in GetAvbFooter() local
231 footer.get())) { in GetAvbFooter()
236 return footer; in GetAvbFooter()
277 const AvbFooter& footer, in VerifyVbMeta() argument
279 if (footer.vbmeta_size > kVbMetaMaxSize) { in VerifyVbMeta()
287 off_t offset = apex.GetImageOffset().value() + footer.vbmeta_offset; in VerifyVbMeta()
288 std::unique_ptr<uint8_t[]> vbmeta_buf(new uint8_t[footer.vbmeta_size]); in VerifyVbMeta()
290 if (!ReadFullyAtOffset(fd, vbmeta_buf.get(), footer.vbmeta_size, offset)) { in VerifyVbMeta()
295 VerifyVbMetaSignature(apex, vbmeta_buf.get(), footer.vbmeta_size); in VerifyVbMeta()
369 Result<std::unique_ptr<AvbFooter>> footer = GetAvbFooter(*this, fd); in VerifyApexVerity() local
370 if (!footer.ok()) { in VerifyApexVerity()
371 return footer.error(); in VerifyApexVerity()
375 VerifyVbMeta(*this, fd, **footer, public_key); in VerifyApexVerity()
381 FindDescriptor(vbmeta_data->get(), (*footer)->vbmeta_size); in VerifyApexVerity()