/external/avb/libavb_atx/ |
D | avb_atx_validate.c | 66 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/ |
D | avb_vbmeta_image.c | 59 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 …]
|
D | avb_descriptor.c | 35 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()
|
D | avb_rsa.c | 57 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()
|
D | avb_chain_partition_descriptor.c | 39 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()
|
D | avb_property_descriptor.c | 39 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()
|
D | avb_kernel_cmdline_descriptor.c | 39 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()
|
D | avb_hash_descriptor.c | 39 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()
|
D | avb_hashtree_descriptor.c | 39 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()
|
D | avb_slot_verify.c | 213 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 …]
|
D | avb_footer.c | 41 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()
|
D | avb_util.c | 112 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()
|
D | avb_cmdline.c | 67 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()
|
D | avb_util.h | 107 #define avb_error(message) \ macro
|
/external/avb/examples/uefi/ |
D | uefi_avb_ops.c | 86 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 …]
|
D | uefi_avb_boot.c | 138 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/ |
D | avb_ops_user.cpp | 142 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 …]
|
D | avb_user_verity.c | 58 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()
|
D | avb_user_verification.c | 58 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/ |
D | avb_ab_flow.c | 30 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/ |
D | avb_atx_slot_verify.c | 96 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/ |
D | boot_control_avb.c | 44 avb_error("Unable to allocate AvbOps instance.\n"); in module_init()
|
/external/avb/test/ |
D | avb_ab_flow_unittest.cc | 1148 avb_error( in my_read_ab_metadata()
|