Searched refs:hi_flash_crypto_content (Results 1 - 6 of 6) sorted by relevance
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/secure/ |
H A D | load_crypto.c | 48 static hi_u32 crypto_load_salt(crypto_workkey_partition part, hi_flash_crypto_content *key_content) in crypto_load_salt() 57 ret = hi_factory_nv_read(HI_NV_FTM_KERNELA_WORK_ID, key_content, sizeof(hi_flash_crypto_content), 0); in crypto_load_salt() 62 ret = hi_factory_nv_read(HI_NV_FTM_BACKUP_KERNELA_WORK_ID, key_content, sizeof(hi_flash_crypto_content), 0); in crypto_load_salt() 76 static hi_u32 crypto_get_root_salt(hi_flash_crypto_content *key_content) in crypto_get_root_salt() 92 static hi_u32 crypto_prepare(hi_flash_crypto_content *save_content) in crypto_prepare() 130 static hi_u32 crypto_decrypt_hash(hi_flash_crypto_content *key_content) in crypto_decrypt_hash() 134 hi_u32 content_size = (hi_u32)sizeof(hi_flash_crypto_content); in crypto_decrypt_hash() 136 hi_flash_crypto_content *content_tmp = (hi_flash_crypto_content *)boot_malloc(content_size); in crypto_decrypt_hash() 176 static hi_u32 crypto_encrypt_hash(hi_flash_crypto_content *key_conten [all...] |
H A D | load_crypto.h | 78 } hi_flash_crypto_content; typedef
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/ |
H A D | kernel_crypto.c | 69 static hi_u32 crypto_load_salt(crypto_workkey_partition part, hi_flash_crypto_content *key_content) in crypto_load_salt() 76 ret = hi_factory_nv_read(HI_NV_FTM_KERNELA_WORK_ID, key_content, sizeof(hi_flash_crypto_content), 0); in crypto_load_salt() 81 ret = hi_factory_nv_read(HI_NV_FTM_BACKUP_KERNELA_WORK_ID, key_content, sizeof(hi_flash_crypto_content), 0); in crypto_load_salt() 95 static hi_u32 crypto_get_root_salt(hi_flash_crypto_content *key_content) in crypto_get_root_salt() 108 static hi_u32 crypto_prepare(hi_flash_crypto_content *save_content) in crypto_prepare() 147 static hi_u32 crypto_decrypt_hash(hi_flash_crypto_content *key_content) in crypto_decrypt_hash() 150 hi_u32 content_size = (hi_u32)sizeof(hi_flash_crypto_content); in crypto_decrypt_hash() 152 hi_flash_crypto_content *content_tmp = (hi_flash_crypto_content *)hi_malloc(HI_MOD_ID_CRYPTO, content_size); in crypto_decrypt_hash() 191 static hi_u32 crypto_encrypt_hash(hi_flash_crypto_content *key_conten [all...] |
H A D | kernel_crypto.h | 80 } hi_flash_crypto_content; typedef
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/secure/ |
H A D | crypto.c | 102 static hi_u32 crypto_load_salt(crypto_workkey_partition part, hi_flash_crypto_content *key_content) in crypto_load_salt() 110 ret = hi_factory_nv_read(HI_NV_FTM_KERNELA_WORK_ID, key_content, sizeof(hi_flash_crypto_content), 0); in crypto_load_salt() 115 ret = hi_factory_nv_read(HI_NV_FTM_BACKUP_KERNELA_WORK_ID, key_content, sizeof(hi_flash_crypto_content), 0); in crypto_load_salt() 129 static hi_u32 crypto_get_root_salt(hi_flash_crypto_content *key_content) in crypto_get_root_salt() 142 static hi_u32 crypto_prepare(hi_flash_crypto_content *save_content) in crypto_prepare() 202 static hi_u32 crypto_encrypt_hash(hi_flash_crypto_content *key_content) in crypto_encrypt_hash() 206 hi_u32 content_size = (hi_u32)sizeof(hi_flash_crypto_content); in crypto_encrypt_hash() 209 hi_flash_crypto_content *data_tmp = (hi_flash_crypto_content *)boot_malloc(content_size); in crypto_encrypt_hash() 248 static hi_u32 crypto_decrypt_hash(hi_flash_crypto_content *key_conten [all...] |
H A D | crypto.h | 78 } hi_flash_crypto_content; typedef
|
Completed in 4 milliseconds