/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/ |
D | upg_check_boot_bin.c | 163 hi_u8 *exp_e = hi_malloc(HI_MOD_ID_UPG, RSA_4096_LENGTH); in upg_check_boot_sub_key() 198 hi_cipher_kdf_ctrl *ctrl = hi_malloc(HI_MOD_ID_UPG, sizeof(hi_cipher_kdf_ctrl)); in upg_boot_decrypt() 199 hi_cipher_aes_ctrl *aes_ctrl = hi_malloc(HI_MOD_ID_UPG, sizeof(hi_cipher_aes_ctrl)); in upg_boot_decrypt() 287 hi_u8 *boot = hi_malloc(HI_MOD_ID_UPG, boot_len); in upg_check_encrpt_boot_code() 325 hi_u8 *signature = hi_malloc(HI_MOD_ID_UPG, head->sign_length); in upg_check_unencrpt_boot_code() 418 hi_u8 *cal_hash = hi_malloc(HI_MOD_ID_UPG, SHA_256_LENGTH); in upg_check_non_secure_boot_bin() 419 hi_u8 *file_hash = hi_malloc(HI_MOD_ID_UPG, SHA_256_LENGTH); in upg_check_non_secure_boot_bin() 493 hi_u8 *pubk = hi_malloc(HI_MOD_ID_UPG, pubk_len); in upg_check_secure_boot_bin() 494 hi_u8 *subk = hi_malloc(HI_MOD_ID_UPG, subk_len); in upg_check_secure_boot_bin() 495 hi_u8 *pubk2 = hi_malloc(HI_MOD_ID_UPG, puk2_len); in upg_check_secure_boot_bin() [all …]
|
D | kernel_crypto.c | 152 …hi_flash_crypto_content *content_tmp = (hi_flash_crypto_content *)hi_malloc(HI_MOD_ID_CRYPTO, cont… in crypto_decrypt_hash() 197 …hi_flash_crypto_content *data_tmp = (hi_flash_crypto_content *)hi_malloc(HI_MOD_ID_CRYPTO, content… in crypto_encrypt_hash() 287 …hi_flash_crypto_content *content_tmp = (hi_flash_crypto_content *)hi_malloc(HI_MOD_ID_CRYPTO, cont… in crypto_save_work_key() 417 hi_flash_crypto_content *key_content = (hi_flash_crypto_content *)hi_malloc(HI_MOD_ID_CRYPTO, in crypto_decrypt() 467 hi_u8 *fw_cyp_data = hi_malloc(HI_MOD_ID_CRYPTO, para->encrypt_size); in crypto_encrypt_data() 525 hi_flash_crypto_content *new_content = (hi_flash_crypto_content *)hi_malloc(HI_MOD_ID_CRYPTO, in encrypt_upg_data() 567 hi_upg_head *upg_head = (hi_upg_head *)hi_malloc(HI_MOD_ID_CRYPTO, sizeof(hi_upg_head)); in crypto_init_param() 588 para->raw_buf = (hi_u8 *)hi_malloc(0, para->encrypt_size); in crypto_init_param()
|
D | upg_common.c | 184 hi_pvoid buf = hi_malloc(HI_MOD_ID_UPG, section_head.section1_len); in upg_refresh_nv() 251 head = hi_malloc(HI_MOD_ID_UPG, sizeof(hi_upg_common_head)); in upg_get_code_file_ver() 533 hi_upg_head *upg_head = hi_malloc(HI_MOD_ID_UPG, sizeof(hi_upg_head)); in upg_check_head() 913 hi_u8 *buf = hi_malloc(HI_MOD_ID_UPG, UPG_FLASH_BLOCK_SIZE); in upg_refresh_boot() 954 comk = hi_malloc(HI_MOD_ID_UPG, sizeof(sub_key_common)); in upg_get_boot_encrypt_flag() 983 comk = hi_malloc(HI_MOD_ID_UPG, sizeof(sub_key_common)); in upg_get_aes_info() 1013 ctrl = hi_malloc(HI_MOD_ID_UPG, sizeof(hi_cipher_kdf_ctrl)); in upg_set_kdf_key() 1042 aes_ctrl = hi_malloc(HI_MOD_ID_UPG, sizeof(hi_cipher_aes_ctrl)); in upg_boot_key_decrypt() 1126 raw_data = hi_malloc(HI_MOD_ID_UPG, data_len); in upg_get_decrpt_rsa_key() 1176 raw_data = hi_malloc(HI_MOD_ID_UPG, data_len); in upg_get_decrpt_ecc_key() [all …]
|
D | upg_check_secure.c | 208 para->raw_buf = (hi_u8 *)hi_malloc(0, CRYPTO_KERNEL_LENGTH); in upg_crypto_set_secure_verify_param() 261 hi_u8 *code_sign = hi_malloc(HI_MOD_ID_UPG, sizeof(hi_upg_sign)); in upg_check_upg_file_code() 273 key2 = hi_malloc(HI_MOD_ID_UPG, key_length); in upg_check_upg_file_code() 314 key = hi_malloc(HI_MOD_ID_UPG, key_length); in upg_check_upg_file_head()
|
D | upg_check_file.c | 341 hi_upg_head *upg_head = (hi_upg_head *)hi_malloc(HI_MOD_ID_UPG, sizeof(hi_upg_head)); in upg_verify_file() 361 section_head = (hi_upg_section_head *)hi_malloc(HI_MOD_ID_UPG, sizeof(hi_upg_section_head)); in upg_verify_file()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/common/ |
D | mac_resource.c | 74 hash_info = hi_malloc(HI_MOD_ID_WIFI_DRV, sizeof(mac_res_user_hash_stru) * user_num); in mac_res_init() 75 hash_idx = hi_malloc(HI_MOD_ID_WIFI_DRV, sizeof(hi_u32) * user_num); in mac_res_init() 76 hash_cnt = hi_malloc(HI_MOD_ID_WIFI_DRV, sizeof(hi_u8) * user_num); in mac_res_init()
|
D | mac_user.c | 51 g_puc_mac_user_res = hi_malloc(HI_MOD_ID_WIFI_DRV, user_size); in mac_user_res_init()
|
D | mac_vap.c | 128 g_puc_mac_vap_res = hi_malloc(HI_MOD_ID_WIFI_DRV, vap_size); in mac_vap_res_init()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/ |
D | app_demo_i2s.c | 63 g_audio_test.play_buf = (hi_u8 *) hi_malloc(HI_MOD_ID_DRV, AUDIO_PLAY_BUF_SIZE); in audio_play() 174 g_audio_test.record_buf = (hi_u8 *) hi_malloc(HI_MOD_ID_DRV, AUDIO_RECORD_BUF_SIZE); in audio_record_play()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
D | hi_mem.h | 80 hi_pvoid hi_malloc(hi_u32 mod_id, hi_u32 size);
|
D | hi_hook_fuc.h | 71 typedef hi_pvoid (*fuc_type_name(hi_malloc))(hi_u32 mod_id, typedef 173 fuc_type_name(hi_malloc) hi_malloc_hook;
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/ |
D | at_parse.c | 39 output = (hi_char *)hi_malloc(HI_MOD_ID_SAL_DFX, len); in at_param_shift() 83 value_in = (hi_char *)hi_malloc(HI_MOD_ID_SAL_DFX, value_in_len); in cmd_parse_para_get()
|
D | hi_at.c | 160 buf = hi_malloc(HI_MOD_ID_APP_AT, buf_len); in at_get_buf() 171 buf = hi_malloc(HI_MOD_ID_APP_AT, buf_len); in at_get_buf() 353 g_at_data = hi_malloc(HI_MOD_ID_APP_AT, AT_DATA_MAX_LEN); in at_data_recving()
|
D | hidumper_adapter_impl.c | 112 ptask_info = (TSK_INFO_S*)hi_malloc(HI_MOD_ID_SAL_DFX, sizeof(TSK_INFO_S)); in DumpTaskInfo()
|
D | at_general.c | 155 ptask_info = (TSK_INFO_S*)hi_malloc(HI_MOD_ID_SAL_DFX, sizeof(TSK_INFO_S)); in at_task_show() 253 hi_upg_head *upg_head = (hi_upg_head *)hi_malloc(HI_MOD_ID_SAL_DFX, sizeof(hi_upg_head)); in factory_check_file() 639 hi_syserr_info* info = hi_malloc(HI_MOD_ID_SAL_DFX, sizeof(hi_syserr_info)); in at_get_dump()
|
D | at.c | 157 out_cmd_line = (hi_char *)hi_malloc(HI_MOD_ID_SAL_DFX, at_cmd_line_len); in at_cmd_process()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/wifiiot_app/src/ |
D | blackbox_adapter_impl.c | 353 pData = hi_malloc(HI_MOD_ID_SAL_DFX, stackSize); in SaveCallBack() 516 buf = hi_malloc(HI_MOD_ID_SAL_DFX, FAULT_LOG_SIZE); in SystemModuleDump() 555 errInfo = hi_malloc(HI_MOD_ID_SAL_DFX, sizeof(*errInfo)); in SystemModuleGetLastLogInfo() 592 errInfo = hi_malloc(HI_MOD_ID_SAL_DFX, sizeof(*errInfo)); in SystemModuleSaveLastLog()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/uart/ |
D | uart_drv.c | 45 udd->rx_transfer = (uart_circ_buf *) hi_malloc(HI_MOD_ID_UART, sizeof(uart_circ_buf)); in uart_init_circ_buf() 51 udd->rx_transfer->data = (char *) hi_malloc(HI_MOD_ID_UART, rx_buf_size); in uart_init_circ_buf() 57 udd->tx_transfer = (uart_circ_buf *) hi_malloc(HI_MOD_ID_UART, sizeof(uart_circ_buf)); in uart_init_circ_buf() 63 udd->tx_transfer->data = (char *) hi_malloc(HI_MOD_ID_UART, tx_buf_size); in uart_init_circ_buf()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
D | oal_mem.h | 39 #define hi_malloc(_id, _size) oal_memalloc((_size) + OAL_MEM_MAX_WORD_ALIGNMENT_BUFFER) macro
|
D | oal_mem.c | 406 g_ctrl_blk.puc_base_addr = (hi_u8 *)hi_malloc(HI_MOD_ID_WIFI_DRV, g_ctrl_blk.max_size); in oal_mem_init_ctrl_blk() 561 puc_base_addr = (hi_u8 *)hi_malloc(HI_MOD_ID_WIFI_DRV, total_bytes); in oal_mem_init_pool()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/frw/ |
D | frw_event.c | 164 …(frw_event_queue_stru *)hi_malloc(HI_MOD_ID_WIFI_DRV, us_total_cnt * sizeof(frw_event_queue_stru)); in frw_event_init_event_queue()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/spi/ |
D | hi_spi.c | 533 g_spi_ctrl[id] = (spi_ctrl *)hi_malloc(HI_MOD_ID_DRV_SPI, sizeof(spi_ctrl)); in hi_spi_init()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/ |
D | hi_wifi_driver_api.c | 667 hi_u8 *frame_data = (hi_u8 *)hi_malloc(HI_MOD_ID_WIFI_DRV, len); in hi_wifi_send_custom_pkt()
|