Home
last modified time | relevance | path

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

/u-boot/lib/libavb/
A Davb_util.c172 avb_memcpy(buf, str1, str1_len); in avb_str_concat()
173 avb_memcpy(buf + str1_len, str2, str2_len); in avb_str_concat()
205 avb_memcpy(ret, str, len); in avb_strdup()
277 avb_memcpy(ret, str, num_before); in avb_replace()
278 avb_memcpy(ret + num_before, replace, replace_len); in avb_replace()
288 avb_memcpy(new_str, ret, ret_len); in avb_replace()
289 avb_memcpy(new_str + ret_len, str, num_before); in avb_replace()
290 avb_memcpy(new_str + ret_len + num_before, replace, replace_len); in avb_replace()
313 avb_memcpy(new_str, ret, ret_len); in avb_replace()
314 avb_memcpy(new_str + ret_len, str_after_last_replace, num_remaining); in avb_replace()
[all …]
A Davb_cmdline.c138 avb_memcpy(new_cmdline, slot_data->cmdline, offset - 1); in cmdline_append_option()
141 avb_memcpy(new_cmdline + offset, key, key_len); in cmdline_append_option()
143 avb_memcpy(new_cmdline + offset + key_len + 1, value, value_len); in cmdline_append_option()
187 avb_memcpy(combined, major_digits, num_major_digits); in cmdline_append_version()
189 avb_memcpy(combined + num_major_digits + 1, minor_digits, num_minor_digits); in cmdline_append_version()
A Davb_footer.c10 avb_memcpy(dest, src, sizeof(AvbFooter)); in avb_footer_validate_and_byteswap()
A Davb_kernel_cmdline_descriptor.c13 avb_memcpy(dest, src, sizeof(AvbKernelCmdlineDescriptor)); in avb_kernel_cmdline_descriptor_validate_and_byteswap()
A Davb_chain_partition_descriptor.c13 avb_memcpy(dest, src, sizeof(AvbChainPartitionDescriptor)); in avb_chain_partition_descriptor_validate_and_byteswap()
A Davb_hash_descriptor.c13 avb_memcpy(dest, src, sizeof(AvbHashDescriptor)); in avb_hash_descriptor_validate_and_byteswap()
A Davb_sysdeps.h65 void* avb_memcpy(void* dest, const void* src, size_t n);
A Davb_sysdeps_posix.c17 void* avb_memcpy(void* dest, const void* src, size_t n) { in avb_memcpy() function
A Davb_crypto.c347 avb_memcpy(dest, src, sizeof(AvbRSAPublicKeyHeader)); in avb_rsa_public_key_header_validate_and_byteswap()
A Davb_hashtree_descriptor.c13 avb_memcpy(dest, src, sizeof(AvbHashtreeDescriptor)); in avb_hashtree_descriptor_validate_and_byteswap()
A Davb_slot_verify.c320 avb_memcpy(part_name, desc_partition_name, hash_desc.partition_name_len); in load_and_verify_hash_partition()
1074 avb_memcpy(slot_data->cmdline, in load_and_verify_vbmeta()
1087 avb_memcpy(new_cmdline, slot_data->cmdline, orig_size); in load_and_verify_vbmeta()
1089 avb_memcpy(new_cmdline + orig_size + 1, in load_and_verify_vbmeta()
1143 avb_memcpy( in load_and_verify_vbmeta()
1704 avb_memcpy(out_digest, avb_sha256_final(&ctx), AVB_SHA256_DIGEST_SIZE); in avb_slot_verify_data_calculate_vbmeta_digest()
1716 avb_memcpy(out_digest, avb_sha512_final(&ctx), AVB_SHA512_DIGEST_SIZE); in avb_slot_verify_data_calculate_vbmeta_digest()
A Davb_property_descriptor.c13 avb_memcpy(dest, src, sizeof(AvbPropertyDescriptor)); in avb_property_descriptor_validate_and_byteswap()
A Davb_sha256.c316 avb_memcpy(&ctx->block[ctx->len], data, rem_len); in avb_sha256_update()
333 avb_memcpy(ctx->block, &shifted_data[block_nb << 6], rem_len); in avb_sha256_update()
A Davb_sha512.c302 avb_memcpy(&ctx->block[ctx->len], data, rem_len); in avb_sha512_update()
319 avb_memcpy(ctx->block, &shifted_data[block_nb << 7], rem_len); in avb_sha512_update()
A Davb_vbmeta_image.c225 avb_memcpy(dest, src, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_header_to_host_byte_order()
A Davb_rsa.c246 avb_memcpy(buf, sig, sig_num_bytes); in avb_rsa_verify()

Completed in 22 milliseconds