Searched refs:expected_size (Results 1 – 9 of 9) sorted by relevance
/u-boot/lib/libavb/ |
A D | avb_hash_descriptor.c | 11 uint64_t expected_size; in avb_hash_descriptor_validate_and_byteswap() local 31 expected_size = sizeof(AvbHashDescriptor) - sizeof(AvbDescriptor); in avb_hash_descriptor_validate_and_byteswap() 32 if (!avb_safe_add_to(&expected_size, dest->partition_name_len) || in avb_hash_descriptor_validate_and_byteswap() 33 !avb_safe_add_to(&expected_size, dest->salt_len) || in avb_hash_descriptor_validate_and_byteswap() 34 !avb_safe_add_to(&expected_size, dest->digest_len)) { in avb_hash_descriptor_validate_and_byteswap() 38 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_hash_descriptor_validate_and_byteswap()
|
A D | avb_chain_partition_descriptor.c | 11 uint64_t expected_size; in avb_chain_partition_descriptor_validate_and_byteswap() local 34 expected_size = sizeof(AvbChainPartitionDescriptor) - sizeof(AvbDescriptor); in avb_chain_partition_descriptor_validate_and_byteswap() 35 if (!avb_safe_add_to(&expected_size, dest->partition_name_len) || in avb_chain_partition_descriptor_validate_and_byteswap() 36 !avb_safe_add_to(&expected_size, dest->public_key_len)) { in avb_chain_partition_descriptor_validate_and_byteswap() 40 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_chain_partition_descriptor_validate_and_byteswap()
|
A D | avb_hashtree_descriptor.c | 11 uint64_t expected_size; in avb_hashtree_descriptor_validate_and_byteswap() local 39 expected_size = sizeof(AvbHashtreeDescriptor) - sizeof(AvbDescriptor); in avb_hashtree_descriptor_validate_and_byteswap() 40 if (!avb_safe_add_to(&expected_size, dest->partition_name_len) || in avb_hashtree_descriptor_validate_and_byteswap() 41 !avb_safe_add_to(&expected_size, dest->salt_len) || in avb_hashtree_descriptor_validate_and_byteswap() 42 !avb_safe_add_to(&expected_size, dest->root_digest_len)) { in avb_hashtree_descriptor_validate_and_byteswap() 46 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_hashtree_descriptor_validate_and_byteswap()
|
A D | avb_kernel_cmdline_descriptor.c | 11 uint64_t expected_size; in avb_kernel_cmdline_descriptor_validate_and_byteswap() local 28 expected_size = sizeof(AvbKernelCmdlineDescriptor) - sizeof(AvbDescriptor); in avb_kernel_cmdline_descriptor_validate_and_byteswap() 29 if (!avb_safe_add_to(&expected_size, dest->kernel_cmdline_length)) { in avb_kernel_cmdline_descriptor_validate_and_byteswap() 33 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_kernel_cmdline_descriptor_validate_and_byteswap()
|
A D | avb_property_descriptor.c | 11 uint64_t expected_size; in avb_property_descriptor_validate_and_byteswap() local 28 expected_size = sizeof(AvbPropertyDescriptor) - sizeof(AvbDescriptor) + 2; in avb_property_descriptor_validate_and_byteswap() 29 if (!avb_safe_add_to(&expected_size, dest->key_num_bytes) || in avb_property_descriptor_validate_and_byteswap() 30 !avb_safe_add_to(&expected_size, dest->value_num_bytes)) { in avb_property_descriptor_validate_and_byteswap() 34 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_property_descriptor_validate_and_byteswap()
|
/u-boot/board/AndesTech/adp-ae3xx/ |
A D | adp-ae3xx.c | 40 unsigned long expected_size = PHYS_SDRAM_0_SIZE + PHYS_SDRAM_1_SIZE; in dram_init() local 42 actual_size = get_ram_size((void *)sdram_base, expected_size); in dram_init() 44 if (expected_size != actual_size) { in dram_init() 46 actual_size >> 20, expected_size >> 20); in dram_init()
|
/u-boot/board/AndesTech/adp-ag101p/ |
A D | adp-ag101p.c | 44 unsigned long expected_size = PHYS_SDRAM_0_SIZE + PHYS_SDRAM_1_SIZE; in dram_init() local 47 actual_size = get_ram_size((void *)sdram_base, expected_size); in dram_init() 51 if (expected_size != actual_size) { in dram_init() 53 actual_size >> 20, expected_size >> 20); in dram_init()
|
/u-boot/include/ |
A D | gzip.h | 57 void gzwrite_progress_init(u64 expected_size);
|
/u-boot/tools/ |
A D | image-host.c | 273 int expected_size) in fit_image_read_data() argument 295 if (sbuf.st_size != expected_size) { in fit_image_read_data() 297 filename, (long long)sbuf.st_size, expected_size); in fit_image_read_data()
|
Completed in 10 milliseconds