Home
last modified time | relevance | path

Searched refs:aes_iv (Results 1 - 9 of 9) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/
H A Dupg_check_boot_bin.h82 hi_u8 aes_iv[IV_BYTE_LEN]; /* AES-256 CBC mode, IV, 16 Bytes. */ member
106 hi_u8 aes_iv[IV_BYTE_LEN]; /* AES-256 CBC mode, IV, 16 Bytes. */ member
126 hi_u8 aes_iv[IV_BYTE_LEN]; /* AES-256 CBC mode, IV, 16 Bytes. */ member
H A Dupg_common.c994 (memcpy_s(iv, iv_len, comk->aes_iv, iv_len) != EOK)) { in upg_get_aes_info()
1113 hi_u8 aes_iv[IV_BYTE_LEN] = { 0 }; in upg_get_decrpt_rsa_key() local
1115 ret = upg_get_aes_info(head, boot_key, IV_BYTE_LEN, aes_iv, IV_BYTE_LEN); in upg_get_decrpt_rsa_key()
1141 ret = upg_boot_key_decrypt(raw_data, data_len, aes_iv, IV_BYTE_LEN); in upg_get_decrpt_rsa_key()
1163 hi_u8 aes_iv[IV_BYTE_LEN] = { 0 }; in upg_get_decrpt_ecc_key() local
1165 ret = upg_get_aes_info(head, boot_key, IV_BYTE_LEN, aes_iv, IV_BYTE_LEN); in upg_get_decrpt_ecc_key()
1191 ret = upg_boot_key_decrypt(raw_data, data_len, aes_iv, IV_BYTE_LEN); in upg_get_decrpt_ecc_key()
H A Dkernel_crypto.c584 ret = (hi_u32)memcpy_s(para->upg_iv, IV_BYTE_LENGTH, upg_head->common.aes_iv, IV_BYTE_LENGTH); in crypto_init_param()
H A Dupg_check_boot_bin.c219 if (memcpy_s(aes_ctrl->iv, sizeof(aes_ctrl->iv), sub_key_com->aes_iv, IV_BYTE_LEN) != EOK) { in upg_boot_decrypt()
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/
H A Dmake_upg_file.py110 ("aes_iv", hi_u8*16),
175 print("[aes_iv [0-1-14-15]=[0x%x][0x%x][0x%x][0x%x]]"%(
176 st_hupg.aes_iv[0], st_hupg.aes_iv[1], st_hupg.aes_iv[14], st_hupg.aes_iv[15]))
253 print("[aes_iv[0,1,14,15]=[0x%x][0x%x][0x%x][0x%x]]"%(
254 st_hupg.aes_iv[0], st_hupg.aes_iv[1], st_hupg.aes_iv[1
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/secure/
H A Dcrypto.c946 cs = (uintptr_t)(para->upg_iv) ^ IV_BYTE_LENGTH ^ (uintptr_t)(upg_head->aes_iv) ^ in decrypt_para_init()
947 sizeof(upg_head->aes_iv); in decrypt_para_init()
948 ret = memcpy_s((hi_void *)(para->upg_iv), IV_BYTE_LENGTH, (hi_void *)(upg_head->aes_iv), in decrypt_para_init()
949 sizeof(upg_head->aes_iv), cs); in decrypt_para_init()
969 crypto_clear_content(upg_head->aes_iv, (hi_u32)sizeof(upg_head->aes_iv)); in decrypt_para_init()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/secure/
H A Dburn_file.h125 hi_u8 aes_iv[IV_BYTE_LEN]; /**< The IV (AES-256 CBC-mode) to encrypt Section.CNcomment:AES初始向量。CNend */ member
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/include/
H A Dhi_upg_file.h137 hi_u8 aes_iv[IV_BYTE_LEN]; /**< The IV (AES-256 CBC-mode) to encrypt Section.CNcomment:AES初始向量。CNend */ member
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
H A Dhi_upg_file.h126 hi_u8 aes_iv[IV_BYTE_LEN]; /**< The IV (AES-256 CBC-mode) to encrypt Section.CNcomment:AES初始向量。CNend */ member

Completed in 9 milliseconds