• Home
  • Raw
  • Download

Lines Matching refs:vbmeta_blob

494 def verify_vbmeta_signature(vbmeta_header, vbmeta_blob):  argument
509 header_blob = vbmeta_blob[0:256]
513 aux_blob = vbmeta_blob[aux_offset:aux_offset + aux_size]
516 pubkey_blob = vbmeta_blob[pubkey_offset:pubkey_offset + pubkey_size]
520 digest_blob = vbmeta_blob[digest_offset:digest_offset + digest_size]
524 sig_blob = vbmeta_blob[sig_offset:sig_offset + sig_size]
2039 vbmeta_blob = image.read(footer.vbmeta_size)
2040 output.write(vbmeta_blob)
2043 padded_size = round_to_multiple(len(vbmeta_blob), padding_size)
2044 padding_needed = padded_size - len(vbmeta_blob)
2263 vbmeta_blob = image.read(header.SIZE + header.authentication_data_block_size +
2267 if not verify_vbmeta_signature(header, vbmeta_blob):
2276 key_blob_in_vbmeta = vbmeta_blob[key_offset:key_offset + header.public_key_size]
2326 vbmeta_blob = image.read(size)
2329 hasher.update(vbmeta_blob)
2607 vbmeta_blob = self._generate_vbmeta_blob(
2617 output.write(vbmeta_blob)
2620 padded_size = round_to_multiple(len(vbmeta_blob), padding_size)
2621 padding_needed = padded_size - len(vbmeta_blob)
2920 vbmeta_blob = self._load_vbmeta_blob(vbmeta_image_handler)
2934 padding_needed = (round_to_multiple(len(vbmeta_blob), image.block_size) -
2935 len(vbmeta_blob))
2936 vbmeta_blob_with_padding = vbmeta_blob + '\0'*padding_needed
2953 footer.vbmeta_size = len(vbmeta_blob)
3105 vbmeta_blob = self._generate_vbmeta_blob(
3115 output_vbmeta_image.write(vbmeta_blob)
3133 round_to_multiple(len(vbmeta_blob), image.block_size) -
3134 len(vbmeta_blob))
3135 vbmeta_blob_with_padding = vbmeta_blob + '\0' * padding_needed
3151 footer.vbmeta_size = len(vbmeta_blob)
3379 vbmeta_blob = self._generate_vbmeta_blob(
3386 padding_needed = (round_to_multiple(len(vbmeta_blob), image.block_size) -
3387 len(vbmeta_blob))
3388 vbmeta_blob_with_padding = vbmeta_blob + '\0'*padding_needed
3392 output_vbmeta_image.write(vbmeta_blob)
3410 footer.vbmeta_size = len(vbmeta_blob)