Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/libavb/
H A Davb_vbmeta_image.c40 avb_error("Magic is incorrect.\n"); in avb_vbmeta_image_verify()
46 avb_error("Length is smaller than header.\n"); in avb_vbmeta_image_verify()
71 avb_error("Block size is not a multiple of 64.\n"); in avb_vbmeta_image_verify()
90 avb_error("Boot image location and length mismatch.\n"); in avb_vbmeta_image_verify()
98 avb_error("Hash is not entirely in its block.\n"); in avb_vbmeta_image_verify()
104 avb_error("Signature is not entirely in its block.\n"); in avb_vbmeta_image_verify()
138 avb_error("Invalid or unknown algorithm.\n"); in avb_vbmeta_image_verify()
144 avb_error("Embedded hash has wrong size.\n"); in avb_vbmeta_image_verify()
180 avb_error("Unknown algorithm.\n"); in avb_vbmeta_image_verify()
187 avb_error("Hash does not match!\n"); in avb_vbmeta_image_verify()
[all …]
H A Davb_descriptor.c16 avb_error("Descriptor size is not divisible by 8.\n"); in avb_descriptor_validate_and_byteswap()
34 avb_error("image_data is NULL\n."); in avb_descriptor_foreach()
39 avb_error("foreach_func is NULL\n."); in avb_descriptor_foreach()
44 avb_error("Length is smaller than header.\n"); in avb_descriptor_foreach()
50 avb_error("Magic is incorrect.\n"); in avb_descriptor_foreach()
67 avb_error("Descriptors not inside passed-in data.\n"); in avb_descriptor_foreach()
78 avb_error("Invalid descriptor length.\n"); in avb_descriptor_foreach()
83 avb_error("Invalid data in descriptors array.\n"); in avb_descriptor_foreach()
H A Davb_chain_partition_descriptor.c20 avb_error("Invalid tag for chain partition descriptor.\n"); in avb_chain_partition_descriptor_validate_and_byteswap()
29 avb_error("Invalid rollback index location value.\n"); in avb_chain_partition_descriptor_validate_and_byteswap()
37 avb_error("Overflow while adding up sizes.\n"); in avb_chain_partition_descriptor_validate_and_byteswap()
41 avb_error("Descriptor payload size overflow.\n"); in avb_chain_partition_descriptor_validate_and_byteswap()
H A Davb_rsa.c33 avb_error("Invalid key.\n"); in iavb_parse_key_data()
39 avb_error("Unexpected key length.\n"); in iavb_parse_key_data()
45 avb_error("Key does not match expected length.\n"); in iavb_parse_key_data()
220 avb_error("Invalid input.\n"); in avb_rsa_verify()
226 avb_error("Error parsing key.\n"); in avb_rsa_verify()
231 avb_error("Signature length does not match key length.\n"); in avb_rsa_verify()
236 avb_error("Padding length does not match hash and signature lengths.\n"); in avb_rsa_verify()
242 avb_error("Error allocating memory.\n"); in avb_rsa_verify()
255 avb_error("Padding check failed.\n"); in avb_rsa_verify()
261 avb_error("Hash check failed.\n"); in avb_rsa_verify()
H A Davb_kernel_cmdline_descriptor.c20 avb_error("Invalid tag for kernel cmdline descriptor.\n"); in avb_kernel_cmdline_descriptor_validate_and_byteswap()
30 avb_error("Overflow while adding up sizes.\n"); in avb_kernel_cmdline_descriptor_validate_and_byteswap()
34 avb_error("Descriptor payload size overflow.\n"); in avb_kernel_cmdline_descriptor_validate_and_byteswap()
H A Davb_property_descriptor.c20 avb_error("Invalid tag for property descriptor.\n"); in avb_property_descriptor_validate_and_byteswap()
31 avb_error("Overflow while adding up sizes.\n"); in avb_property_descriptor_validate_and_byteswap()
35 avb_error("Descriptor payload size overflow.\n"); in avb_property_descriptor_validate_and_byteswap()
67 avb_error("No terminating NUL byte in key.\n"); in property_lookup_desc_foreach()
152 avb_error("Invalid digit.\n"); in avb_property_lookup_uint64()
H A Davb_hash_descriptor.c20 avb_error("Invalid tag for hash descriptor.\n"); in avb_hash_descriptor_validate_and_byteswap()
35 avb_error("Overflow while adding up sizes.\n"); in avb_hash_descriptor_validate_and_byteswap()
39 avb_error("Descriptor payload size overflow.\n"); in avb_hash_descriptor_validate_and_byteswap()
H A Davb_hashtree_descriptor.c20 avb_error("Invalid tag for hashtree descriptor.\n"); in avb_hashtree_descriptor_validate_and_byteswap()
43 avb_error("Overflow while adding up sizes.\n"); in avb_hashtree_descriptor_validate_and_byteswap()
47 avb_error("Descriptor payload size overflow.\n"); in avb_hashtree_descriptor_validate_and_byteswap()
H A Davb_footer.c22 avb_error("Footer magic is incorrect.\n"); in avb_footer_validate_and_byteswap()
30 avb_error("No support for footer version.\n"); in avb_footer_validate_and_byteswap()
H A Davb_slot_verify.c194 avb_error("Partition name is not valid UTF-8.\n"); in load_and_verify_hash_partition()
213 avb_error("Partition name does not fit.\n"); in load_and_verify_hash_partition()
224 avb_error("Cannot use A/B with a persistent digest.\n"); in load_and_verify_hash_partition()
235 avb_error("Partition name and suffix does not fit.\n"); in load_and_verify_hash_partition()
369 avb_error("get_size_of_partition() not implemented.\n"); in load_requested_partitions()
386 avb_error("Partition name and suffix does not fit.\n"); in load_requested_partitions()
485 avb_error("Partition name is not valid UTF-8.\n"); in load_and_verify_vbmeta()
497 avb_error("Partition name and suffix does not fit.\n"); in load_and_verify_vbmeta()
981 avb_error("Partition name is not valid UTF-8.\n"); in load_and_verify_vbmeta()
998 avb_error("Partition name does not fit.\n"); in load_and_verify_vbmeta()
[all …]
H A Davb_util.c93 avb_error("Overflow when adding values.\n"); in avb_safe_add_to()
161 avb_error("Overflow when adding string sizes.\n"); in avb_str_concat()
166 avb_error("Insufficient buffer space.\n"); in avb_str_concat()
180 avb_error("Failed to allocate memory.\n"); in avb_malloc()
H A Davb_cmdline.c48 avb_error("Partition name and suffix does not fit.\n"); in avb_sub_cmdline()
57 avb_error("Error getting unique GUID for partition.\n"); in avb_sub_cmdline()
233 avb_error("Error getting device state.\n"); in avb_append_options()
H A Davb_util.h88 #define avb_error(message) \ macro