Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/lib/avb/libavb/
H A 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 …]
H A Davb_cmdline.c155 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()
204 avb_memcpy(combined, major_digits, num_major_digits); in cmdline_append_version()
206 avb_memcpy(combined + num_major_digits + 1, minor_digits, num_minor_digits); in cmdline_append_version()
H A Davb_slot_verify.c341 avb_memcpy(part_name, desc_partition_name, hash_desc.partition_name_len); in load_and_verify_hash_partition()
1101 avb_memcpy(slot_data->cmdline, in load_and_verify_vbmeta()
1114 avb_memcpy(new_cmdline, slot_data->cmdline, orig_size); in load_and_verify_vbmeta()
1116 avb_memcpy(new_cmdline + orig_size + 1, in load_and_verify_vbmeta()
1170 avb_memcpy( in load_and_verify_vbmeta()
1736 avb_memcpy(out_digest, avb_sha256_final(&ctx), AVB_SHA256_DIGEST_SIZE); in avb_slot_verify_data_calculate_vbmeta_digest()
1753 avb_memcpy(out_digest, avb_sha512_final(&ctx), AVB_SHA512_DIGEST_SIZE); in avb_slot_verify_data_calculate_vbmeta_digest()
H A Davb_footer.c29 avb_memcpy(dest, src, sizeof(AvbFooter)); in avb_footer_validate_and_byteswap()
H A Davb_kernel_cmdline_descriptor.c32 avb_memcpy(dest, src, sizeof(AvbKernelCmdlineDescriptor)); in avb_kernel_cmdline_descriptor_validate_and_byteswap()
H A Davb_chain_partition_descriptor.c32 avb_memcpy(dest, src, sizeof(AvbChainPartitionDescriptor)); in avb_chain_partition_descriptor_validate_and_byteswap()
H A Davb_hash_descriptor.c32 avb_memcpy(dest, src, sizeof(AvbHashDescriptor)); in avb_hash_descriptor_validate_and_byteswap()
H A Davb_sysdeps_posix.c43 void* avb_memcpy(void* dest, const void* src, size_t n) { in avb_memcpy() function
H A Davb_sysdeps_posix.su
H A Davb_crypto.c366 avb_memcpy(dest, src, sizeof(AvbRSAPublicKeyHeader)); in avb_rsa_public_key_header_validate_and_byteswap()
H A Davb_hashtree_descriptor.c32 avb_memcpy(dest, src, sizeof(AvbHashtreeDescriptor)); in avb_hashtree_descriptor_validate_and_byteswap()
H A Davb_sha512.c352 avb_memcpy(&ctx->block[ctx->len], data, rem_len); in avb_sha512_update()
369 avb_memcpy(ctx->block, &shifted_data[block_nb << 7], rem_len); in avb_sha512_update()
H A Davb_sha256.c369 avb_memcpy(&ctx->block[ctx->len], data, rem_len); in avb_sha256_update()
386 avb_memcpy(ctx->block, &shifted_data[block_nb << 6], rem_len); in avb_sha256_update()
H A Davb_property_descriptor.c32 avb_memcpy(dest, src, sizeof(AvbPropertyDescriptor)); in avb_property_descriptor_validate_and_byteswap()
H A Davb_vbmeta_image.c249 avb_memcpy(dest, src, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_header_to_host_byte_order()
H A Davb_rsa.c269 avb_memcpy(buf, sig, sig_num_bytes); in avb_rsa_verify()
/OK3568_Linux_fs/u-boot/lib/avb/libavb_atx/
H A Davb_atx_validate.c53 avb_memcpy(hash, tmp, AVB_SHA256_DIGEST_SIZE); in sha256()
66 avb_memcpy(hash, tmp, AVB_SHA512_DIGEST_SIZE); in sha512()
297 avb_memcpy(&metadata, public_key_metadata, sizeof(AvbAtxPublicKeyMetadata)); in avb_atx_validate_vbmeta_public_key()
380 avb_memcpy(out_unlock_challenge->challenge, in avb_atx_generate_unlock_challenge()
/OK3568_Linux_fs/u-boot/lib/avb/libavb_ab/
H A 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()
/OK3568_Linux_fs/u-boot/include/android_avb/
H A Davb_sysdeps.h95 void* avb_memcpy(void* dest, const void* src, size_t n);
/OK3568_Linux_fs/u-boot/
H A DSystem.map
H A Du-boot.sym
H A Du-boot.map