Home
last modified time | relevance | path

Searched refs:file_size (Results 1 - 8 of 8) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
H A Dhi_fs.h320 * @param file_size [OUT] type #hi_u32*,file size. CNcomment:返回文件的大小。CNend
328 hi_s32 hi_stat(const hi_char *file_name, hi_u32* file_size);
339 * @param file_size [OUT] type #hi_u32*,file size. CNcomment:返回文件的大小。CNend
347 hi_s32 hi_fstat(hi_s32 fd, hi_u32 *file_size);
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/common/
H A Defuse_opt.c73 if (header->file_size != file_len) { in efuse_cfg_verify()
82 ret = hi_cipher_hash_sha256((uintptr_t)&(header->stru_ver), header->file_size - SHA_256_LENGTH, hash, in efuse_cfg_verify()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/include/
H A Defuse_opt.h36 hi_u32 file_size; /* Configuration file size. */ member
38 hi_u8 data[0]; /* Item: size = file_size - stru_size. */
/device/soc/rockchip/common/sdk_linux/scripts/
H A Dresource_tool.c1395 size_t file_size; in write_file() local
1402 file_size = get_file_size(src_path); in write_file()
1403 if (file_size < 0) { in write_file()
1407 buf = calloc(file_size, 1); in write_file()
1412 if (!fread(buf, file_size, 1, src_file)) { in write_file()
1416 if (!write_data(offset_block, buf, file_size)) { in write_file()
1421 sha1_csum((const unsigned char *)buf, file_size, (unsigned char *)hash); in write_file()
1423 sha256_csum((const unsigned char *)buf, file_size, (unsigned char *)hash); in write_file()
1428 ret = file_size; in write_file()
1469 size_t file_size in write_index_tbl() local
[all...]
/device/soc/rockchip/rk3588/kernel/scripts/
H A Dresource_tool.c1415 size_t file_size; in write_file() local
1423 file_size = get_file_size(src_path); in write_file()
1424 if (file_size < 0) { in write_file()
1428 buf = calloc(file_size, 1); in write_file()
1432 if (!fread(buf, file_size, 1, src_file)) in write_file()
1435 if (!write_data(offset_block, buf, file_size)) in write_file()
1439 sha1_csum((const unsigned char *)buf, file_size, in write_file()
1442 sha256_csum((const unsigned char *)buf, file_size, in write_file()
1447 ret = file_size; in write_file()
1487 size_t file_size in write_index_tbl() local
[all...]
/device/board/hisilicon/hispark_taurus/uboot/secureboot_release/
H A Dcreate_secure_boot.sh122 echo RSA_PUB file_size = $filesize
126 echo RSA_PUB file_size = $filesize
322 echo RSA_PUB file_size = $filesize
326 echo RSA_PUB file_size = $filesize
/device/board/hisilicon/hispark_aries/uboot/secureboot_release/
H A Dcreate_secure_boot.sh80 echo RSA_PUB file_size = $filesize
84 echo RSA_PUB file_size = $filesize
275 echo RSA_PUB file_size = $filesize
279 echo RSA_PUB file_size = $filesize
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_pcie.c2852 uint32 file_size = 0, read_len = 0; in dhdpcie_download_code_file() local
2879 file_size = dhd_os_get_image_size(imgbuf); in dhdpcie_download_code_file()
2880 if (!file_size) { in dhdpcie_download_code_file()
2913 if (read_len > file_size) { in dhdpcie_download_code_file()
2915 " file_size=%u truncating len to %d \n", __FUNCTION__, in dhdpcie_download_code_file()
2916 len, read_len, file_size, (len - (read_len - file_size)))); in dhdpcie_download_code_file()
2917 len -= (read_len - file_size); in dhdpcie_download_code_file()
2959 if (read_len >= file_size) { in dhdpcie_download_code_file()

Completed in 19 milliseconds