Searched refs:avb_assert (Results 1 – 13 of 13) sorted by relevance
86 avb_assert(*out_image_buf == NULL); in load_full_partition()87 avb_assert(!*out_image_preloaded); in load_full_partition()422 avb_assert(expected_digest_len <= sizeof(expected_digest_buf)); in load_and_verify_hash_partition()593 avb_assert(slot_data != NULL); in load_and_verify_vbmeta()659 avb_assert(footer_num_read == AVB_FOOTER_SIZE); in load_and_verify_vbmeta()733 avb_assert(vbmeta_num_read <= vbmeta_size); in load_and_verify_vbmeta()742 avb_assert(pk_data != NULL && pk_len > 0); in load_and_verify_vbmeta()801 avb_assert(!is_main_vbmeta); in load_and_verify_vbmeta()837 avb_assert(is_main_vbmeta); in load_and_verify_vbmeta()894 avb_assert(slot_data->num_vbmeta_images == 0); in load_and_verify_vbmeta()[all …]
46 #define avb_assert(expr) \ macro53 #define avb_assert(expr)74 avb_assert((((uintptr_t)addr) & (AVB_ALIGNMENT_SIZE - 1)) == 0)
414 avb_assert(part_name_len < AVB_PART_NAME_MAX_SIZE); in avb_add_root_digest_substitution()415 avb_assert(digest_size <= AVB_SHA512_DIGEST_SIZE); in avb_add_root_digest_substitution()
192 avb_assert(data.descriptor_number == num_descriptors); in avb_descriptor_get_all()
125 avb_assert(value != NULL); in avb_safe_add_to()409 avb_assert(dest == ret + total_length); in avb_strdupv()
45 avb_assert(vbmeta_size <= AVB_AFTL_MAX_AFTL_IMAGE_SIZE); in avb_aftl_find_aftl_image()142 avb_assert(slot_verify_data != NULL); in aftl_slot_verify()143 avb_assert(key_bytes != NULL); in aftl_slot_verify()144 avb_assert(key_size == AVB_AFTL_PUB_KEY_SIZE); in aftl_slot_verify()
40 avb_assert(vbmeta != NULL && icp_entry != NULL); in avb_aftl_verify_vbmeta_hash()62 avb_assert(icp_entry != NULL); in avb_aftl_verify_icp_root_hash()95 avb_assert(key != NULL && icp_entry != NULL); in avb_aftl_verify_entry_signature()
57 avb_assert(leaf != NULL && hash != NULL); in avb_aftl_rfc6962_hash_leaf()58 avb_assert(leaf_size != AVB_AFTL_UINT64_MAX); in avb_aftl_rfc6962_hash_leaf()86 avb_assert(left_child != NULL && right_child != NULL && hash != NULL); in avb_aftl_rfc6962_hash_children()89 avb_assert(left_child_size < AVB_AFTL_UINT64_MAX - right_child_size); in avb_aftl_rfc6962_hash_children()124 avb_assert(seed_size == AVB_AFTL_HASH_SIZE); in avb_aftl_chain_border_right()125 avb_assert(seed != NULL && proof != NULL && hash != NULL); in avb_aftl_chain_border_right()163 avb_assert(seed_size == AVB_AFTL_HASH_SIZE); in avb_aftl_chain_inner()164 avb_assert(seed != NULL && proof != NULL && hash != NULL); in avb_aftl_chain_inner()244 avb_assert(proof_entry_count != 0); in avb_aftl_root_from_icp()245 avb_assert(leaf_hash_size != 0); in avb_aftl_root_from_icp()[all …]
187 avb_assert(partition_name != NULL); in read_from_partition()188 avb_assert(buf != NULL); in read_from_partition()189 avb_assert(out_num_read != NULL); in read_from_partition()248 avb_assert(partition_name != NULL); in write_to_partition()249 avb_assert(buf != NULL); in write_to_partition()306 avb_assert(partition_name != NULL); in get_size_of_partition()569 avb_assert(partition != NULL); in get_unique_guid_for_partition()570 avb_assert(guid_buf != NULL); in get_unique_guid_for_partition()
242 avb_assert(offset == cmdline_utf8_len); in uefi_avb_boot_kernel()
362 avb_assert(slot_data[slot_index_to_boot] != NULL); in avb_ab_flow()366 avb_assert(flags & AVB_SLOT_VERIFY_FLAGS_ALLOW_VERIFICATION_ERROR); in avb_ab_flow()415 avb_assert(slot_number < 2); in avb_ab_mark_slot_active()447 avb_assert(slot_number < 2); in avb_ab_mark_slot_unbootable()470 avb_assert(slot_number < 2); in avb_ab_mark_slot_successful()
104 avb_assert(slot < 2); in module_isSlotBootable()124 avb_assert(slot < 2); in module_isSlotMarkedSuccessful()
89 avb_assert(ptr != nullptr); in avb_malloc_()