/external/avb/libavb/ |
D | avb_util.c | 189 avb_memcpy(buf, str1, str1_len); in avb_str_concat() 190 avb_memcpy(buf + str1_len, str2, str2_len); in avb_str_concat() 222 avb_memcpy(ret, str, len); in avb_strdup() 294 avb_memcpy(ret, str, num_before); in avb_replace() 295 avb_memcpy(ret + num_before, replace, replace_len); in avb_replace() 305 avb_memcpy(new_str, ret, ret_len); in avb_replace() 306 avb_memcpy(new_str + ret_len, str, num_before); in avb_replace() 307 avb_memcpy(new_str + ret_len + num_before, replace, replace_len); in avb_replace() 330 avb_memcpy(new_str, ret, ret_len); in avb_replace() 331 avb_memcpy(new_str + ret_len, str_after_last_replace, num_remaining); in avb_replace() [all …]
|
D | avb_cmdline.c | 147 avb_memcpy(new_cmdline, slot_data->cmdline, offset - 1); in cmdline_append_option() 150 avb_memcpy(new_cmdline + offset, key, key_len); in cmdline_append_option() 152 avb_memcpy(new_cmdline + offset + key_len + 1, value, value_len); in cmdline_append_option() 196 avb_memcpy(combined, major_digits, num_major_digits); in cmdline_append_version() 198 avb_memcpy(combined + num_major_digits + 1, minor_digits, num_minor_digits); in cmdline_append_version()
|
D | avb_slot_verify.c | 337 avb_memcpy(part_name, desc_partition_name, hash_desc.partition_name_len); in load_and_verify_hash_partition() 1046 avb_memcpy(slot_data->cmdline, in load_and_verify_vbmeta() 1059 avb_memcpy(new_cmdline, slot_data->cmdline, orig_size); in load_and_verify_vbmeta() 1061 avb_memcpy(new_cmdline + orig_size + 1, in load_and_verify_vbmeta() 1115 avb_memcpy( in load_and_verify_vbmeta() 1622 avb_memcpy(out_digest, avb_sha256_final(&ctx), AVB_SHA256_DIGEST_SIZE); in avb_slot_verify_data_calculate_vbmeta_digest() 1634 avb_memcpy(out_digest, avb_sha512_final(&ctx), AVB_SHA512_DIGEST_SIZE); in avb_slot_verify_data_calculate_vbmeta_digest()
|
D | avb_kernel_cmdline_descriptor.c | 32 avb_memcpy(dest, src, sizeof(AvbKernelCmdlineDescriptor)); in avb_kernel_cmdline_descriptor_validate_and_byteswap()
|
D | avb_footer.c | 29 avb_memcpy(dest, src, sizeof(AvbFooter)); in avb_footer_validate_and_byteswap()
|
D | avb_chain_partition_descriptor.c | 32 avb_memcpy(dest, src, sizeof(AvbChainPartitionDescriptor)); in avb_chain_partition_descriptor_validate_and_byteswap()
|
D | avb_sysdeps.h | 79 void* avb_memcpy(void* dest, const void* src, size_t n);
|
D | avb_hash_descriptor.c | 32 avb_memcpy(dest, src, sizeof(AvbHashDescriptor)); in avb_hash_descriptor_validate_and_byteswap()
|
D | avb_sysdeps_posix.c | 37 void* avb_memcpy(void* dest, const void* src, size_t n) { in avb_memcpy() function
|
D | avb_crypto.c | 366 avb_memcpy(dest, src, sizeof(AvbRSAPublicKeyHeader)); in avb_rsa_public_key_header_validate_and_byteswap()
|
D | avb_hashtree_descriptor.c | 32 avb_memcpy(dest, src, sizeof(AvbHashtreeDescriptor)); in avb_hashtree_descriptor_validate_and_byteswap()
|
/external/u-boot/lib/libavb/ |
D | avb_util.c | 170 avb_memcpy(buf, str1, str1_len); in avb_str_concat() 171 avb_memcpy(buf + str1_len, str2, str2_len); in avb_str_concat() 203 avb_memcpy(ret, str, len); in avb_strdup() 275 avb_memcpy(ret, str, num_before); in avb_replace() 276 avb_memcpy(ret + num_before, replace, replace_len); in avb_replace() 286 avb_memcpy(new_str, ret, ret_len); in avb_replace() 287 avb_memcpy(new_str + ret_len, str, num_before); in avb_replace() 288 avb_memcpy(new_str + ret_len + num_before, replace, replace_len); in avb_replace() 311 avb_memcpy(new_str, ret, ret_len); in avb_replace() 312 avb_memcpy(new_str + ret_len, str_after_last_replace, num_remaining); in avb_replace() [all …]
|
D | avb_cmdline.c | 120 avb_memcpy(new_cmdline, slot_data->cmdline, offset - 1); in cmdline_append_option() 123 avb_memcpy(new_cmdline + offset, key, key_len); in cmdline_append_option() 125 avb_memcpy(new_cmdline + offset + key_len + 1, value, value_len); in cmdline_append_option() 169 avb_memcpy(combined, major_digits, num_major_digits); in cmdline_append_version() 171 avb_memcpy(combined + num_major_digits + 1, minor_digits, num_minor_digits); in cmdline_append_version()
|
D | avb_slot_verify.c | 217 avb_memcpy(part_name, desc_partition_name, hash_desc.partition_name_len); in load_and_verify_hash_partition() 933 avb_memcpy(slot_data->cmdline, in load_and_verify_vbmeta() 946 avb_memcpy(new_cmdline, slot_data->cmdline, orig_size); in load_and_verify_vbmeta() 948 avb_memcpy(new_cmdline + orig_size + 1, in load_and_verify_vbmeta() 1002 avb_memcpy( in load_and_verify_vbmeta() 1344 avb_memcpy(out_digest, avb_sha256_final(&ctx), AVB_SHA256_DIGEST_SIZE); in avb_slot_verify_data_calculate_vbmeta_digest() 1356 avb_memcpy(out_digest, avb_sha512_final(&ctx), AVB_SHA512_DIGEST_SIZE); in avb_slot_verify_data_calculate_vbmeta_digest()
|
D | avb_footer.c | 10 avb_memcpy(dest, src, sizeof(AvbFooter)); in avb_footer_validate_and_byteswap()
|
D | avb_kernel_cmdline_descriptor.c | 13 avb_memcpy(dest, src, sizeof(AvbKernelCmdlineDescriptor)); in avb_kernel_cmdline_descriptor_validate_and_byteswap()
|
D | avb_chain_partition_descriptor.c | 13 avb_memcpy(dest, src, sizeof(AvbChainPartitionDescriptor)); in avb_chain_partition_descriptor_validate_and_byteswap()
|
D | avb_sysdeps.h | 57 void* avb_memcpy(void* dest, const void* src, size_t n);
|
D | avb_hash_descriptor.c | 13 avb_memcpy(dest, src, sizeof(AvbHashDescriptor)); in avb_hash_descriptor_validate_and_byteswap()
|
D | avb_sysdeps_posix.c | 15 void* avb_memcpy(void* dest, const void* src, size_t n) { in avb_memcpy() function
|
D | avb_crypto.c | 347 avb_memcpy(dest, src, sizeof(AvbRSAPublicKeyHeader)); in avb_rsa_public_key_header_validate_and_byteswap()
|
/external/avb/examples/uefi/ |
D | uefi_avb_boot.c | 185 avb_memcpy(kernel_buf, boot->data + header->page_size, header->kernel_size); in uefi_avb_boot_kernel() 204 avb_memcpy(initramfs_buf, boot->data + offset, header->ramdisk_size); in uefi_avb_boot_kernel() 206 avb_memcpy(initramfs_buf, boot->data + offset, header->second_size); in uefi_avb_boot_kernel() 229 avb_memcpy(cmdline_utf8, header->cmdline, cmdline_first_len); in uefi_avb_boot_kernel() 233 avb_memcpy(cmdline_utf8 + offset, slot_data->cmdline, cmdline_second_len); in uefi_avb_boot_kernel() 237 avb_memcpy(cmdline_utf8 + offset + 1, cmdline_extra, cmdline_extra_len - 1); in uefi_avb_boot_kernel() 278 avb_memcpy(setup, image_setup, sizeof(struct SetupHeader)); in uefi_avb_boot_kernel()
|
D | uefi_avb_ops.c | 162 avb_memcpy((*entry_buf), &all_gpt_entries[n], sizeof(GPTEntry)); in find_partition_entry_by_name() 346 avb_memcpy((*next), init, walker_bytes); in walk_path() 348 avb_memcpy( in walk_path() 373 avb_memcpy(&gpth_tmp, gpth, sizeof(GPTHeader)); in validate_gpt() 427 avb_memcpy(disk_path, *io_path, path_bytes); in get_disk_block_io()
|
/external/avb/libavb_atx/ |
D | avb_atx_validate.c | 44 avb_memcpy(hash, tmp, AVB_SHA256_DIGEST_SIZE); in sha256() 55 avb_memcpy(hash, tmp, AVB_SHA512_DIGEST_SIZE); in sha512() 228 avb_memcpy(&metadata, public_key_metadata, sizeof(AvbAtxPublicKeyMetadata)); in avb_atx_validate_vbmeta_public_key() 311 avb_memcpy(out_unlock_challenge->challenge, in avb_atx_generate_unlock_challenge()
|
/external/avb/libavb_ab/ |
D | avb_ab_flow.c | 34 avb_memcpy(dest, src, sizeof(AvbABData)); in avb_ab_data_verify_and_byteswap() 57 avb_memcpy(dest, src, sizeof(AvbABData)); in avb_ab_data_update_crc_and_byteswap() 64 avb_memcpy(data->magic, AVB_AB_MAGIC, AVB_AB_MAGIC_LEN); in avb_ab_data_init()
|