/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_slot_verify.c | 828 avb_memcpy(slot_data->cmdline, in load_and_verify_vbmeta() 841 avb_memcpy(new_cmdline, slot_data->cmdline, orig_size); in load_and_verify_vbmeta() 843 avb_memcpy(new_cmdline + orig_size + 1, in load_and_verify_vbmeta() 980 avb_memcpy(new_cmdline, slot_data->cmdline, offset - 1); in cmdline_append_option() 983 avb_memcpy(new_cmdline + offset, key, key_len); in cmdline_append_option() 985 avb_memcpy(new_cmdline + offset + key_len + 1, value, value_len); in cmdline_append_option() 1030 avb_memcpy(combined, major_digits, num_major_digits); in cmdline_append_version() 1032 avb_memcpy(combined + num_major_digits + 1, minor_digits, num_minor_digits); in cmdline_append_version()
|
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 | 367 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()
|
D | avb_sha256.c | 331 avb_memcpy(&ctx->block[ctx->len], data, rem_len); in avb_sha256_update() 348 avb_memcpy(ctx->block, &shifted_data[block_nb << 6], rem_len); in avb_sha256_update()
|
D | avb_sha512.c | 329 avb_memcpy(&ctx->block[ctx->len], data, rem_len); in avb_sha512_update() 346 avb_memcpy(ctx->block, &shifted_data[block_nb << 7], rem_len); in avb_sha512_update()
|
D | avb_property_descriptor.c | 32 avb_memcpy(dest, src, sizeof(AvbPropertyDescriptor)); in avb_property_descriptor_validate_and_byteswap()
|
D | avb_vbmeta_image.c | 243 avb_memcpy(dest, src, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_header_to_host_byte_order()
|
D | avb_rsa.c | 269 avb_memcpy(buf, sig, sig_num_bytes); in avb_rsa_verify()
|
/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()
|
D | uefi_avb_sysdeps.c | 41 void* avb_memcpy(void* dest, const void* src, size_t n) { in avb_memcpy() function
|
/external/avb/libavb_atx/ |
D | avb_atx_validate.c | 40 avb_memcpy(hash, tmp, AVB_SHA256_DIGEST_SIZE); in sha256() 51 avb_memcpy(hash, tmp, AVB_SHA512_DIGEST_SIZE); in sha512() 197 avb_memcpy(&metadata, public_key_metadata, sizeof(AvbAtxPublicKeyMetadata)); in avb_atx_validate_vbmeta_public_key()
|
/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()
|
/external/avb/test/ |
D | avb_sysdeps_posix_testing.cc | 41 void* avb_memcpy(void* dest, const void* src, size_t n) { in avb_memcpy() function
|