Home
last modified time | relevance | path

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

/external/u-boot/lib/libavb/
Davb_slot_verify.c464 AvbVBMetaImageHeader vbmeta_header; in load_and_verify_vbmeta() local
643 &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 …]
/external/avb/libavb/
Davb_slot_verify.c573 AvbVBMetaImageHeader vbmeta_header; in load_and_verify_vbmeta() local
756 &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 …]
/external/avb/
Davbtool494 def verify_vbmeta_signature(vbmeta_header, vbmeta_blob): argument
506 (_, alg) = lookup_algorithm_by_type(vbmeta_header.algorithm_type)
511 aux_offset = auth_offset + vbmeta_header.authentication_data_block_size
512 aux_size = vbmeta_header.auxiliary_data_block_size
514 pubkey_offset = aux_offset + vbmeta_header.public_key_offset
515 pubkey_size = vbmeta_header.public_key_size
518 digest_offset = auth_offset + vbmeta_header.hash_offset
519 digest_size = vbmeta_header.hash_size
522 sig_offset = auth_offset + vbmeta_header.signature_offset
523 sig_size = vbmeta_header.signature_size
[all …]