Home
last modified time | relevance | path

Searched refs:hvb_memcpy (Results 1 – 10 of 10) sorted by relevance

/base/startup/hvb/libhvb/src/cmdline/
Dhvb_cmdline.c46 hvb_memcpy(cmdline->buf + cmdline->cur_pos, key, key_len); in cmdline_append_option()
52 hvb_memcpy(cmdline->buf + cmdline->cur_pos, value, value_len); in cmdline_append_option()
69 hvb_memcpy(combined, major_digits, num_major_digits); in hvb_append_version_cmdline()
71 hvb_memcpy(combined + num_major_digits + 1, minor_digits, num_minor_digits); in hvb_append_version_cmdline()
/base/startup/hvb/libhvb/src/crypto/
Dhvb_hash_sha256.c191 hvb_memcpy(sha256_pad, left_msg, (uint32_t)left_len); in hash_sha256_pad_update()
224 hvb_memcpy(out, iv, IV_BYTE_SIZE_SHA256); in hash_sha256_output_iv()
240 hvb_memcpy(iv, sha256_iv_init, sizeof(sha256_iv_init)); in hash_sha256_single()
279 (void)hvb_memcpy(hash_ctx->iv, sha256_iv_init, sizeof(sha256_iv_init)); in hash_ctx_init()
308 hvb_memcpy(hash_ctx->blk_buf + hash_ctx->buf_len, msg, left_len); in hash_calc_update()
326 hvb_memcpy(hash_ctx->blk_buf + hash_ctx->buf_len, msg, msg_len); in hash_calc_update()
Dhvb_rsa_verify.c63 hvb_memcpy(&m_tmp[PSS_MTMP_PADDING_LEN], pdigest, digestlen); in emsa_pss_calc_m()
66 hvb_memcpy(&m_tmp[PSS_MTMP_PADDING_LEN + digestlen], salt, saltlen); in emsa_pss_calc_m()
155 hvb_memcpy(pc, seed, seed_len); in rsa_gen_mask_mgf_v1()
173 hvb_memcpy(mask, pt, mask_len); in rsa_gen_mask_mgf_v1()
Dhvb_rsa.c55 hvb_memcpy(p_dst->p_uint, p_src->p_uint, p_src->valid_word_len * WORD_BYTE_SIZE); in lin_copy()
/base/startup/hvb/libhvb/src/rvt/
Dhvb_rvt.c62 hvb_memcpy(header, rvt->addr, sizeof(*header)); in hvb_rvt_head_parser()
106 hvb_memcpy(desc, pubk->addr, sizeof(*desc)); in hvb_rvt_pubk_desc_parser()
/base/startup/hvb/libhvb/include/
Dhvb_sysdeps.h31 void *hvb_memcpy(void *dest, const void *src, size_t n);
/base/startup/hvb/libhvb/src/cert/
Dhvb_cert.c203 hvb_memcpy(&cert->signature_info, buf.addr, cp_size); in _hvb_cert_signature_parser()
210 hvb_memcpy(&sign_info->pubk, &buf, sizeof(buf)); in _hvb_cert_signature_parser()
217 hvb_memcpy(&sign_info->sign, &buf, sizeof(buf)); in _hvb_cert_signature_parser()
236 hvb_memcpy(cert, buf.addr, buf.size); in hvb_cert_parser()
/base/startup/hvb/libhvb/src/deps/
Dhvb_sysdeps.c29 void *hvb_memcpy(void *dest, const void *src, size_t n) in hvb_memcpy() function
/base/startup/hvb/libhvb/src/utils/
Dhvb_util.c122 hvb_memcpy(new_str, str, len); in hvb_strdup()
/base/startup/hvb/libhvb/src/footer/
Dhvb_footer.c29 hvb_memcpy((uint8_t *)footer, footer_buf->addr, sizeof(*footer)); in _footer_parser()