Searched refs:vbmeta_header (Results 1 – 3 of 3) sorted by relevance
582 AvbVBMetaImageHeader vbmeta_header; in load_and_verify_vbmeta() local778 &vbmeta_header); in load_and_verify_vbmeta()782 toplevel_vbmeta_flags = (AvbVBMetaImageFlags)vbmeta_header.flags; in load_and_verify_vbmeta()784 if (vbmeta_header.flags != 0) { in load_and_verify_vbmeta()795 rollback_index_location_to_use = vbmeta_header.rollback_index_location; in load_and_verify_vbmeta()818 if (vbmeta_header.public_key_metadata_size > 0) { in load_and_verify_vbmeta()820 vbmeta_header.authentication_data_block_size + in load_and_verify_vbmeta()821 vbmeta_header.public_key_metadata_offset; in load_and_verify_vbmeta()822 pk_metadata_len = vbmeta_header.public_key_metadata_size; in load_and_verify_vbmeta()881 if (vbmeta_header.rollback_index < stored_rollback_index) { in load_and_verify_vbmeta()[all …]
535 def verify_vbmeta_signature(vbmeta_header, vbmeta_blob): argument551 (_, alg) = lookup_algorithm_by_type(vbmeta_header.algorithm_type)556 aux_offset = auth_offset + vbmeta_header.authentication_data_block_size557 aux_size = vbmeta_header.auxiliary_data_block_size559 pubkey_offset = aux_offset + vbmeta_header.public_key_offset560 pubkey_size = vbmeta_header.public_key_size563 digest_offset = auth_offset + vbmeta_header.hash_offset564 digest_size = vbmeta_header.hash_size567 sig_offset = auth_offset + vbmeta_header.signature_offset568 sig_size = vbmeta_header.signature_size