Searched refs:data_tmp (Results 1 - 5 of 5) sorted by relevance
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/secure/ |
H A D | load_crypto.c | 183 hi_flash_crypto_content *data_tmp = (hi_flash_crypto_content *)boot_malloc(content_size); in crypto_encrypt_hash() local 184 if (data_tmp == HI_NULL) { in crypto_encrypt_hash() 203 ret = hi_cipher_aes_crypto((uintptr_t)key_content->iv_content, (uintptr_t)(data_tmp->iv_content), in crypto_encrypt_hash() 209 cs = (uintptr_t)(key_content->iv_content) ^ encrypt_size ^ (uintptr_t)(data_tmp->iv_content) ^ encrypt_size; in crypto_encrypt_hash() 210 ret = (hi_u32)memcpy_s(key_content->iv_content, encrypt_size, data_tmp->iv_content, encrypt_size, cs); in crypto_encrypt_hash() 215 loader_clear_content((hi_u8 *)data_tmp, content_size); in crypto_encrypt_hash() 216 crypto_mem_free(data_tmp); in crypto_encrypt_hash()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/ |
H A D | kernel_crypto.c | 197 hi_flash_crypto_content *data_tmp = (hi_flash_crypto_content *)hi_malloc(HI_MOD_ID_CRYPTO, content_size); in crypto_encrypt_hash() local 198 if (data_tmp == HI_NULL) { in crypto_encrypt_hash() 215 ret = hi_cipher_aes_crypto((hi_u32)(uintptr_t)key_content->iv_content, (hi_u32)(uintptr_t)(data_tmp->iv_content), in crypto_encrypt_hash() 221 ret = (hi_u32)memcpy_s(key_content->iv_content, encrypt_size, data_tmp->iv_content, encrypt_size); in crypto_encrypt_hash() 226 crypto_clear_content((hi_u8 *)data_tmp, content_size); in crypto_encrypt_hash() 227 crypto_mem_free(data_tmp); in crypto_encrypt_hash()
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/i2c/std_i2c/ |
H A D | drv_i2c.c | 576 hi_u32 data_tmp = 0xff; in i2c_drv_read() local 616 data_tmp = i2c_read_reg((g_i2c_kernel_addr[i2c_num] + I2C_RXR_REG)); in i2c_drv_read() 617 *(p_data + i) = data_tmp & 0xff; in i2c_drv_read() 640 hi_u32 data_tmp = 0xff; in i2c_drv_read_si_labs() local 676 data_tmp = i2c_read_reg((g_i2c_kernel_addr[i2c_num] + I2C_RXR_REG)); in i2c_drv_read_si_labs() 677 *(p_data + i) = data_tmp & 0xff; in i2c_drv_read_si_labs() 760 hi_u32 data_tmp = 0xff; in i2c_drv_read_sony() local 787 data_tmp = i2c_read_reg((g_i2c_kernel_addr[i2c_num] + I2C_RXR_REG)); in i2c_drv_read_sony() 788 *(p_data + i) = data_tmp & 0xff; in i2c_drv_read_sony()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/secure/ |
H A D | crypto.c | 209 hi_flash_crypto_content *data_tmp = (hi_flash_crypto_content *)boot_malloc(content_size); in crypto_encrypt_hash() local 210 if (data_tmp == HI_NULL) { in crypto_encrypt_hash() 229 ret = hi_cipher_aes_crypto((hi_u32)(uintptr_t)key_content->iv_content, (hi_u32)(uintptr_t)(data_tmp->iv_content), in crypto_encrypt_hash() 236 hi_u8* data_tmp_ptr = data_tmp->iv_content; in crypto_encrypt_hash() 243 crypto_clear_content((hi_u8 *)data_tmp, content_size); in crypto_encrypt_hash() 244 crypto_mem_free(data_tmp); in crypto_encrypt_hash()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/drv/hi3516cv500/ |
H A D | hifb_graphic_drv.c | 1000 hi_u32 data_tmp; in vo_drv_write_ddr() local 1004 data_tmp = data_arr[ii]; in vo_drv_write_ddr() 1005 *(hi_u32 *)addr_tmp = data_tmp; in vo_drv_write_ddr()
|
Completed in 9 milliseconds