Searched refs:crypto_save_work_key (Results 1 - 3 of 3) sorted by relevance
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/ |
H A D | kernel_crypto.c | 283 static hi_u32 crypto_save_work_key(crypto_workkey_partition part, hi_flash_crypto_content *key_content) in crypto_save_work_key() function 436 ret = crypto_save_work_key(werk_content, key_content); in crypto_decrypt() 543 ret = crypto_save_work_key(werk_content, new_content); in encrypt_upg_data() 553 ret = crypto_save_work_key(werk_content_bak, new_content); in encrypt_upg_data()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/secure/ |
H A D | load_crypto.c | 263 static hi_u32 crypto_save_work_key(crypto_workkey_partition part, hi_flash_crypto_content *key_content) in crypto_save_work_key() function 321 ret = crypto_save_work_key(CRYPTO_WORKKEY_KERNEL_A, &tmp_content); in crypto_is_need_gen_key() 446 if (crypto_save_work_key(CRYPTO_WORKKEY_KERNEL_A_BOTH, key_content) != HI_ERR_SUCCESS) { in crypto_burn_encrypt()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/secure/ |
H A D | crypto.c | 294 static hi_u32 crypto_save_work_key(crypto_workkey_partition part, hi_flash_crypto_content *key_content) in crypto_save_work_key() function 603 ret = crypto_save_work_key(work_content, key_content); in crypto_decrypt() 687 ret = crypto_save_work_key(CRYPTO_WORKKEY_KERNEL_A, new_content); in encrypt_upg_data() 698 ret = crypto_save_work_key(CRYPTO_WORKKEY_KERNEL_A_BACKUP, new_content); in encrypt_upg_data()
|
Completed in 4 milliseconds