Home
last modified time | relevance | path

Searched refs:avb_memcpy (Results 1 – 21 of 21) sorted by relevance

/external/avb/libavb/
Davb_util.c189 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 …]
Davb_slot_verify.c828 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()
Davb_kernel_cmdline_descriptor.c32 avb_memcpy(dest, src, sizeof(AvbKernelCmdlineDescriptor)); in avb_kernel_cmdline_descriptor_validate_and_byteswap()
Davb_footer.c29 avb_memcpy(dest, src, sizeof(AvbFooter)); in avb_footer_validate_and_byteswap()
Davb_chain_partition_descriptor.c32 avb_memcpy(dest, src, sizeof(AvbChainPartitionDescriptor)); in avb_chain_partition_descriptor_validate_and_byteswap()
Davb_sysdeps.h79 void* avb_memcpy(void* dest, const void* src, size_t n);
Davb_hash_descriptor.c32 avb_memcpy(dest, src, sizeof(AvbHashDescriptor)); in avb_hash_descriptor_validate_and_byteswap()
Davb_sysdeps_posix.c37 void* avb_memcpy(void* dest, const void* src, size_t n) { in avb_memcpy() function
Davb_crypto.c367 avb_memcpy(dest, src, sizeof(AvbRSAPublicKeyHeader)); in avb_rsa_public_key_header_validate_and_byteswap()
Davb_hashtree_descriptor.c32 avb_memcpy(dest, src, sizeof(AvbHashtreeDescriptor)); in avb_hashtree_descriptor_validate_and_byteswap()
Davb_sha256.c331 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()
Davb_sha512.c329 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()
Davb_property_descriptor.c32 avb_memcpy(dest, src, sizeof(AvbPropertyDescriptor)); in avb_property_descriptor_validate_and_byteswap()
Davb_vbmeta_image.c243 avb_memcpy(dest, src, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_header_to_host_byte_order()
Davb_rsa.c269 avb_memcpy(buf, sig, sig_num_bytes); in avb_rsa_verify()
/external/avb/examples/uefi/
Duefi_avb_boot.c185 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()
Duefi_avb_ops.c162 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()
Duefi_avb_sysdeps.c41 void* avb_memcpy(void* dest, const void* src, size_t n) { in avb_memcpy() function
/external/avb/libavb_atx/
Davb_atx_validate.c40 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/
Davb_ab_flow.c34 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/
Davb_sysdeps_posix_testing.cc41 void* avb_memcpy(void* dest, const void* src, size_t n) { in avb_memcpy() function