Searched refs:vbmeta_header (Results 1 – 3 of 3) sorted by relevance
464 AvbVBMetaImageHeader vbmeta_header; in load_and_verify_vbmeta() local643 &vbmeta_header); in load_and_verify_vbmeta()647 toplevel_vbmeta_flags = (AvbVBMetaImageFlags)vbmeta_header.flags; in load_and_verify_vbmeta()649 if (vbmeta_header.flags != 0) { in load_and_verify_vbmeta()678 if (vbmeta_header.public_key_metadata_size > 0) { in load_and_verify_vbmeta()680 vbmeta_header.authentication_data_block_size + in load_and_verify_vbmeta()681 vbmeta_header.public_key_metadata_offset; in load_and_verify_vbmeta()682 pk_metadata_len = vbmeta_header.public_key_metadata_size; in load_and_verify_vbmeta()723 if (vbmeta_header.rollback_index < stored_rollback_index) { in load_and_verify_vbmeta()755 vbmeta_header.authentication_data_block_size + in load_and_verify_vbmeta()[all …]
573 AvbVBMetaImageHeader vbmeta_header; in load_and_verify_vbmeta() local756 &vbmeta_header); in load_and_verify_vbmeta()760 toplevel_vbmeta_flags = (AvbVBMetaImageFlags)vbmeta_header.flags; in load_and_verify_vbmeta()762 if (vbmeta_header.flags != 0) { in load_and_verify_vbmeta()791 if (vbmeta_header.public_key_metadata_size > 0) { in load_and_verify_vbmeta()793 vbmeta_header.authentication_data_block_size + in load_and_verify_vbmeta()794 vbmeta_header.public_key_metadata_offset; in load_and_verify_vbmeta()795 pk_metadata_len = vbmeta_header.public_key_metadata_size; in load_and_verify_vbmeta()836 if (vbmeta_header.rollback_index < stored_rollback_index) { in load_and_verify_vbmeta()868 vbmeta_header.authentication_data_block_size + in load_and_verify_vbmeta()[all …]
494 def verify_vbmeta_signature(vbmeta_header, vbmeta_blob): argument506 (_, alg) = lookup_algorithm_by_type(vbmeta_header.algorithm_type)511 aux_offset = auth_offset + vbmeta_header.authentication_data_block_size512 aux_size = vbmeta_header.auxiliary_data_block_size514 pubkey_offset = aux_offset + vbmeta_header.public_key_offset515 pubkey_size = vbmeta_header.public_key_size518 digest_offset = auth_offset + vbmeta_header.hash_offset519 digest_size = vbmeta_header.hash_size522 sig_offset = auth_offset + vbmeta_header.signature_offset523 sig_size = vbmeta_header.signature_size[all …]