/external/avb/libavb/ |
D | avb_util.c | 214 avb_memcpy(buf, str1, str1_len); in avb_str_concat() 215 avb_memcpy(buf + str1_len, str2, str2_len); in avb_str_concat() 247 avb_memcpy(ret, str, len); in avb_strdup() 319 avb_memcpy(ret, str, num_before); in avb_replace() 320 avb_memcpy(ret + 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, num_before); in avb_replace() 332 avb_memcpy(new_str + ret_len + num_before, replace, replace_len); in avb_replace() 355 avb_memcpy(new_str, ret, ret_len); in avb_replace() 356 avb_memcpy(new_str + ret_len, str_after_last_replace, num_remaining); in avb_replace() [all …]
|
D | avb_cmdline.c | 155 avb_memcpy(new_cmdline, slot_data->cmdline, offset - 1); in cmdline_append_option() 158 avb_memcpy(new_cmdline + offset, key, key_len); in cmdline_append_option() 160 avb_memcpy(new_cmdline + offset + key_len + 1, value, value_len); in cmdline_append_option() 180 avb_memcpy(combined, major_digits, num_major_digits); in cmdline_append_version() 182 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_hash_descriptor.c | 32 avb_memcpy(dest, src, sizeof(AvbHashDescriptor)); in avb_hash_descriptor_validate_and_byteswap()
|
D | avb_sysdeps.h | 87 void* avb_memcpy(void* dest, const void* src, size_t n);
|
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()
|
D | avb_slot_verify.c | 337 avb_memcpy(part_name, desc_partition_name, hash_desc.partition_name_len); in load_and_verify_hash_partition() 1094 avb_memcpy(slot_data->cmdline, in load_and_verify_vbmeta() 1107 avb_memcpy(new_cmdline, slot_data->cmdline, orig_size); in load_and_verify_vbmeta() 1109 avb_memcpy(new_cmdline + orig_size + 1, in load_and_verify_vbmeta() 1163 avb_memcpy( in load_and_verify_vbmeta() 1724 avb_memcpy(out_digest, avb_sha256_final(&ctx), AVB_SHA256_DIGEST_SIZE); in avb_slot_verify_data_calculate_vbmeta_digest() 1736 avb_memcpy(out_digest, avb_sha512_final(&ctx), AVB_SHA512_DIGEST_SIZE); in avb_slot_verify_data_calculate_vbmeta_digest()
|
D | avb_property_descriptor.c | 32 avb_memcpy(dest, src, sizeof(AvbPropertyDescriptor)); in avb_property_descriptor_validate_and_byteswap()
|
D | avb_vbmeta_image.c | 244 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/libavb_aftl/ |
D | avb_aftl_util.c | 46 avb_memcpy(hash, tmp, AVB_AFTL_HASH_SIZE); in avb_aftl_sha256() 69 if (leaf_size > 0) avb_memcpy(buffer + 1, leaf, leaf_size); in avb_aftl_rfc6962_hash_leaf() 102 if (left_child_size > 0) avb_memcpy(buffer + 1, left_child, left_child_size); in avb_aftl_rfc6962_hash_children() 105 avb_memcpy(buffer + 1 + left_child_size, right_child, right_child_size); in avb_aftl_rfc6962_hash_children() 145 if (retval) avb_memcpy(hash, tmp, AVB_AFTL_HASH_SIZE); in avb_aftl_chain_border_right() 191 if (retval) avb_memcpy(hash, tmp, AVB_AFTL_HASH_SIZE); in avb_aftl_chain_inner() 272 avb_memcpy( in avb_aftl_root_from_icp() 276 avb_memcpy(border_proof + (AVB_AFTL_HASH_SIZE * i), in avb_aftl_root_from_icp() 308 avb_memcpy(value, *data, value_size); \ 347 avb_memcpy(*value, *data, value_size); in read_mem() [all …]
|
/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 | 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()
|
/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
|
/external/avb/libavb/sha/ |
D | sha256_impl.c | 347 avb_memcpy(&ctx->block[ctx->len], data, rem_len); in avb_sha256_update() 364 avb_memcpy(ctx->block, &shifted_data[block_nb << 6], rem_len); in avb_sha256_update()
|
D | sha512_impl.c | 333 avb_memcpy(&ctx->block[ctx->len], data, rem_len); in avb_sha512_update() 350 avb_memcpy(ctx->block, &shifted_data[block_nb << 7], rem_len); in avb_sha512_update()
|