Home
last modified time | relevance | path

Searched refs:vbmeta_header (Results 1 – 3 of 3) sorted by relevance

/external/avb/libavb/
Davb_slot_verify.c582 AvbVBMetaImageHeader vbmeta_header; in load_and_verify_vbmeta() local
778 &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 …]
/external/avb/
Davbtool.py535 def verify_vbmeta_signature(vbmeta_header, vbmeta_blob): argument
551 (_, alg) = lookup_algorithm_by_type(vbmeta_header.algorithm_type)
556 aux_offset = auth_offset + vbmeta_header.authentication_data_block_size
557 aux_size = vbmeta_header.auxiliary_data_block_size
559 pubkey_offset = aux_offset + vbmeta_header.public_key_offset
560 pubkey_size = vbmeta_header.public_key_size
563 digest_offset = auth_offset + vbmeta_header.hash_offset
564 digest_size = vbmeta_header.hash_size
567 sig_offset = auth_offset + vbmeta_header.signature_offset
568 sig_size = vbmeta_header.signature_size
Davbtool535 def verify_vbmeta_signature(vbmeta_header, vbmeta_blob): argument
551 (_, alg) = lookup_algorithm_by_type(vbmeta_header.algorithm_type)
556 aux_offset = auth_offset + vbmeta_header.authentication_data_block_size
557 aux_size = vbmeta_header.auxiliary_data_block_size
559 pubkey_offset = aux_offset + vbmeta_header.public_key_offset
560 pubkey_size = vbmeta_header.public_key_size
563 digest_offset = auth_offset + vbmeta_header.hash_offset
564 digest_size = vbmeta_header.hash_size
567 sig_offset = auth_offset + vbmeta_header.signature_offset
568 sig_size = vbmeta_header.signature_size