Home
last modified time | relevance | path

Searched refs:hvb_malloc (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/startup/hvb/libhvb/src/utils/
H A Dhvb_util.c24 hex = hvb_malloc(len * 2 + 1); in hvb_bin2hex()
91 void *hvb_malloc(uint64_t size) in hvb_malloc() function
104 void *ret = hvb_malloc(size); in hvb_calloc()
120 char *new_str = hvb_malloc(len + 1); in hvb_strdup()
/ohos5.0/base/startup/hvb/libhvb/src/crypto/
H A Dhvb_rsa_verify.c57 m_tmp = (uint8_t *)hvb_malloc(m_tmp_len); in emsa_pss_calc_m()
80 hash_tmp = (uint8_t *)hvb_malloc(digestlen); in emsa_pss_hash_cmp()
138 pt = (uint8_t *)hvb_malloc(mask_len + hash_len); in rsa_gen_mask_mgf_v1()
143 pc = (uint8_t *)hvb_malloc(seed_len + sizeof(uint32_t)); in rsa_gen_mask_mgf_v1()
242 db = (uint8_t *)hvb_malloc(db_len); /* db is dbmask */ in emsa_pss_verify()
396 em_data = hvb_malloc(klen); in hvb_rsa_verify_pss()
H A Dhvb_rsa.c88 p_data = hvb_malloc(word_len * WORD_BYTE_SIZE); in lin_calloc()
107 p_res = hvb_malloc(sizeof(struct long_int_num)); in lin_create()
/ohos5.0/base/startup/hvb/libhvb/include/
H A Dhvb_util.h51 void *hvb_malloc(uint64_t size);
/ohos5.0/base/startup/hvb/libhvb/src/footer/
H A Dhvb_footer.c131 cert_buf.addr = hvb_malloc(cert_buf.size); in footer_init_desc()
/ohos5.0/base/startup/hvb/test/
H A Dhvb_main.c206 hvb_ops = (struct hvb_ops *)hvb_malloc(sizeof(struct hvb_ops)); in hvb_ops_user()
/ohos5.0/base/startup/hvb/libhvb/src/cert/
H A Dhvb_cert.c119 image_buf.addr = hvb_malloc(image_buf.size); in hash_image_init_desc()
448 hash = hvb_malloc(hash_len); in hvb_verify_cert()