Home
last modified time | relevance | path

Searched refs:avb_error (Results 1 – 23 of 23) sorted by relevance

/external/avb/libavb_atx/
Davb_atx_validate.c66 avb_error("Unsupported permanent attributes version.\n"); in verify_permanent_attributes()
71 avb_error("Invalid permanent attributes.\n"); in verify_permanent_attributes()
86 avb_error("Unsupported certificate format.\n"); in verify_certificate()
101 avb_error("Invalid certificate signature.\n"); in verify_certificate()
105 avb_error("Key rollback detected.\n"); in verify_certificate()
111 avb_error("Invalid certificate usage.\n"); in verify_certificate()
126 avb_error("Invalid PIK certificate.\n"); in verify_pik_certificate()
144 avb_error("Invalid PSK certificate.\n"); in verify_psk_certificate()
151 avb_error("Product ID mismatch.\n"); in verify_psk_certificate()
178 avb_error("Failed to read permanent attributes.\n"); in avb_atx_validate_vbmeta_public_key()
[all …]
/external/avb/libavb/
Davb_vbmeta_image.c59 avb_error("Magic is incorrect.\n"); in avb_vbmeta_image_verify()
65 avb_error("Length is smaller than header.\n"); in avb_vbmeta_image_verify()
76 avb_error("Mismatch between image version and libavb version.\n"); in avb_vbmeta_image_verify()
83 avb_error("Release string does not end with a NUL byte.\n"); in avb_vbmeta_image_verify()
90 avb_error("Block size is not a multiple of 64.\n"); in avb_vbmeta_image_verify()
98 avb_error("Overflow while computing size of boot image.\n"); in avb_vbmeta_image_verify()
102 avb_error("Block sizes add up to more than given length.\n"); in avb_vbmeta_image_verify()
109 avb_error("Boot image location and length mismatch.\n"); in avb_vbmeta_image_verify()
117 avb_error("Hash is not entirely in its block.\n"); in avb_vbmeta_image_verify()
123 avb_error("Signature is not entirely in its block.\n"); in avb_vbmeta_image_verify()
[all …]
Davb_descriptor.c35 avb_error("Descriptor size is not divisible by 8.\n"); in avb_descriptor_validate_and_byteswap()
53 avb_error("image_data is NULL\n."); in avb_descriptor_foreach()
58 avb_error("foreach_func is NULL\n."); in avb_descriptor_foreach()
63 avb_error("Length is smaller than header.\n"); in avb_descriptor_foreach()
69 avb_error("Magic is incorrect.\n"); in avb_descriptor_foreach()
86 avb_error("Descriptors not inside passed-in data.\n"); in avb_descriptor_foreach()
97 avb_error("Invalid descriptor length.\n"); in avb_descriptor_foreach()
102 avb_error("Invalid data in descriptors array.\n"); in avb_descriptor_foreach()
Davb_rsa.c57 avb_error("Invalid key.\n"); in iavb_parse_key_data()
63 avb_error("Unexpected key length.\n"); in iavb_parse_key_data()
69 avb_error("Key does not match expected length.\n"); in iavb_parse_key_data()
244 avb_error("Invalid input.\n"); in avb_rsa_verify()
250 avb_error("Error parsing key.\n"); in avb_rsa_verify()
255 avb_error("Signature length does not match key length.\n"); in avb_rsa_verify()
260 avb_error("Padding length does not match hash and signature lengths.\n"); in avb_rsa_verify()
266 avb_error("Error allocating memory.\n"); in avb_rsa_verify()
279 avb_error("Padding check failed.\n"); in avb_rsa_verify()
285 avb_error("Hash check failed.\n"); in avb_rsa_verify()
Davb_chain_partition_descriptor.c39 avb_error("Invalid tag for chain partition descriptor.\n"); in avb_chain_partition_descriptor_validate_and_byteswap()
48 avb_error("Invalid rollback index location value.\n"); in avb_chain_partition_descriptor_validate_and_byteswap()
56 avb_error("Overflow while adding up sizes.\n"); in avb_chain_partition_descriptor_validate_and_byteswap()
60 avb_error("Descriptor payload size overflow.\n"); in avb_chain_partition_descriptor_validate_and_byteswap()
Davb_property_descriptor.c39 avb_error("Invalid tag for property descriptor.\n"); in avb_property_descriptor_validate_and_byteswap()
50 avb_error("Overflow while adding up sizes.\n"); in avb_property_descriptor_validate_and_byteswap()
54 avb_error("Descriptor payload size overflow.\n"); in avb_property_descriptor_validate_and_byteswap()
86 avb_error("No terminating NUL byte in key.\n"); in property_lookup_desc_foreach()
171 avb_error("Invalid digit.\n"); in avb_property_lookup_uint64()
Davb_kernel_cmdline_descriptor.c39 avb_error("Invalid tag for kernel cmdline descriptor.\n"); in avb_kernel_cmdline_descriptor_validate_and_byteswap()
49 avb_error("Overflow while adding up sizes.\n"); in avb_kernel_cmdline_descriptor_validate_and_byteswap()
53 avb_error("Descriptor payload size overflow.\n"); in avb_kernel_cmdline_descriptor_validate_and_byteswap()
Davb_hash_descriptor.c39 avb_error("Invalid tag for hash descriptor.\n"); in avb_hash_descriptor_validate_and_byteswap()
54 avb_error("Overflow while adding up sizes.\n"); in avb_hash_descriptor_validate_and_byteswap()
58 avb_error("Descriptor payload size overflow.\n"); in avb_hash_descriptor_validate_and_byteswap()
Davb_hashtree_descriptor.c39 avb_error("Invalid tag for hashtree descriptor.\n"); in avb_hashtree_descriptor_validate_and_byteswap()
62 avb_error("Overflow while adding up sizes.\n"); in avb_hashtree_descriptor_validate_and_byteswap()
66 avb_error("Descriptor payload size overflow.\n"); in avb_hashtree_descriptor_validate_and_byteswap()
Davb_slot_verify.c213 avb_error("Partition name is not valid UTF-8.\n"); in load_and_verify_hash_partition()
232 avb_error("Partition name does not fit.\n"); in load_and_verify_hash_partition()
243 avb_error("Cannot use A/B with a persistent digest.\n"); in load_and_verify_hash_partition()
254 avb_error("Partition name and suffix does not fit.\n"); in load_and_verify_hash_partition()
388 avb_error("get_size_of_partition() not implemented.\n"); in load_requested_partitions()
405 avb_error("Partition name and suffix does not fit.\n"); in load_requested_partitions()
504 avb_error("Partition name is not valid UTF-8.\n"); in load_and_verify_vbmeta()
516 avb_error("Partition name and suffix does not fit.\n"); in load_and_verify_vbmeta()
1000 avb_error("Partition name is not valid UTF-8.\n"); in load_and_verify_vbmeta()
1012 avb_error("Cannot use A/B with a persistent root digest.\n"); in load_and_verify_vbmeta()
[all …]
Davb_footer.c41 avb_error("Footer magic is incorrect.\n"); in avb_footer_validate_and_byteswap()
49 avb_error("No support for footer version.\n"); in avb_footer_validate_and_byteswap()
Davb_util.c112 avb_error("Overflow when adding values.\n"); in avb_safe_add_to()
180 avb_error("Overflow when adding string sizes.\n"); in avb_str_concat()
185 avb_error("Insufficient buffer space.\n"); in avb_str_concat()
199 avb_error("Failed to allocate memory.\n"); in avb_malloc()
Davb_cmdline.c67 avb_error("Partition name and suffix does not fit.\n"); in avb_sub_cmdline()
76 avb_error("Error getting unique GUID for partition.\n"); in avb_sub_cmdline()
252 avb_error("Error getting device state.\n"); in avb_append_options()
Davb_util.h107 #define avb_error(message) \ macro
/external/avb/examples/uefi/
Duefi_avb_ops.c86 avb_error("Could not allocate for GPT header\n"); in find_partition_entry_by_name()
92 avb_error("Could not allocate for partition entry\n"); in find_partition_entry_by_name()
105 avb_error("Could not ReadBlocks for gpt header\n"); in find_partition_entry_by_name()
116 avb_error("Could not allocate for ucs2 partition name\n"); in find_partition_entry_by_name()
127 avb_error("Could not convert partition name to UCS-2\n"); in find_partition_entry_by_name()
148 avb_error("Could not ReadBlocks for GPT header\n"); in find_partition_entry_by_name()
203 avb_error("Offset outside range.\n"); in read_from_partition()
228 avb_error("Could not read from Disk.\n"); in read_from_partition()
262 avb_error("Offset outside range.\n"); in write_to_partition()
273 avb_error("Cannot write beyond partition boundary.\n"); in write_to_partition()
[all …]
Duefi_avb_boot.c138 avb_error("No boot partition.\n"); in uefi_avb_boot_kernel()
155 avb_error("Wrong boot image header magic.\n"); in uefi_avb_boot_kernel()
164 avb_error("Overflow while adding sizes of kernel and initramfs.\n"); in uefi_avb_boot_kernel()
169 avb_error("Invalid kernel/initramfs sizes.\n"); in uefi_avb_boot_kernel()
181 avb_error("Could not allocate kernel buffer.\n"); in uefi_avb_boot_kernel()
197 avb_error("Could not allocate initrd buffer.\n"); in uefi_avb_boot_kernel()
224 avb_error("Could not allocate kernel cmdline.\n"); in uefi_avb_boot_kernel()
247 avb_error("Wrong kernel header magic.\n"); in uefi_avb_boot_kernel()
253 avb_error("Wrong version.\n"); in uefi_avb_boot_kernel()
259 avb_error("Kernel is not relocatable.\n"); in uefi_avb_boot_kernel()
[all …]
/external/avb/libavb_user/
Davb_ops_user.cpp142 avb_error("Error seeking to offset.\n"); in read_from_partition()
147 avb_error("Error seeking to offset.\n"); in read_from_partition()
157 avb_error("Error reading data.\n"); in read_from_partition()
170 avb_error("Error closing file descriptor.\n"); in read_from_partition()
195 avb_error("Error seeking to offset.\n"); in write_to_partition()
200 avb_error("Error seeking to offset.\n"); in write_to_partition()
208 avb_error("Error writing data.\n"); in write_to_partition()
218 avb_error("Error closing file descriptor.\n"); in write_to_partition()
286 avb_error("Error closing file descriptor.\n"); in get_size_of_partition()
307 avb_error("Error allocating memory for AvbOps.\n"); in avb_ops_user_new()
[all …]
Davb_user_verity.c58 avb_error("Partition name and suffix does not fit.\n"); in load_top_level_vbmeta_header()
79 avb_error("Partition name and suffix does not fit.\n"); in load_top_level_vbmeta_header()
Davb_user_verification.c58 avb_error("Partition name and suffix does not fit.\n"); in load_top_level_vbmeta_header()
79 avb_error("Partition name and suffix does not fit.\n"); in load_top_level_vbmeta_header()
/external/avb/libavb_ab/
Davb_ab_flow.c30 avb_error("Magic is incorrect.\n"); in avb_ab_data_verify_and_byteswap()
41 avb_error("No support for given major version.\n"); in avb_ab_data_verify_and_byteswap()
48 avb_error("CRC32 does not match.\n"); in avb_ab_data_verify_and_byteswap()
99 avb_error("Error reading A/B metadata.\n"); in avb_ab_data_read()
104 avb_error( in avb_ab_data_read()
128 avb_error("Error writing A/B metadata.\n"); in avb_ab_data_write()
178 avb_error("I/O error while loading A/B metadata.\n"); in load_metadata()
312 avb_error("No bootable slots found.\n"); in avb_ab_flow()
343 avb_error("Error getting rollback index for slot.\n"); in avb_ab_flow()
353 avb_error("Error setting stored rollback index.\n"); in avb_ab_flow()
[all …]
/external/avb/examples/things/
Davb_atx_slot_verify.c96 avb_error("Error getting rollback index for slot.\n"); in update_rollback_index()
106 avb_error("Rollback index value cannot increase beyond the threshold.\n"); in update_rollback_index()
112 avb_error("Rollback index value cannot decrease.\n"); in update_rollback_index()
119 avb_error("Error setting stored rollback index.\n"); in update_rollback_index()
/external/avb/boot_control/
Dboot_control_avb.c44 avb_error("Unable to allocate AvbOps instance.\n"); in module_init()
/external/avb/test/
Davb_ab_flow_unittest.cc1148 avb_error( in my_read_ab_metadata()