|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|


函数 | |
| td_s32 | hal_klad_lock (td_void) |
| td_s32 | hal_klad_unlock (td_void) |
| td_s32 | hal_klad_set_key_crypto_cfg (td_bool encrypt_support, td_bool decrypt_support, crypto_klad_engine engine) |
| td_s32 | hal_klad_set_key_dest_cfg (crypto_klad_dest dest, crypto_klad_flash_key_type flash_key_type) |
| td_s32 | hal_klad_set_key_secure_cfg (const crypto_klad_key_secure_config *secure_cfg) |
| td_s32 | hal_klad_set_key_addr (crypto_klad_dest klad_dest, td_u32 keyslot_chn) |
| td_s32 | hal_klad_set_data (const td_u8 *data, td_u32 data_length) |
| td_s32 | hal_klad_start_clr_route (crypto_klad_dest klad_dest, const crypto_klad_clear_key *clear_key) |
| td_s32 | hal_klad_start_com_route (crypto_kdf_hard_key_type rk_type, const crypto_klad_effective_key *content_key, crypto_klad_dest klad_dest) |
Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved.
Description: hal klad header.
History:
2023-03-22, Create file.
| td_s32 hal_klad_set_key_addr | ( | crypto_klad_dest | klad_dest, |
| td_u32 | keyslot_chn | ||
| ) |
| td_s32 hal_klad_set_key_crypto_cfg | ( | td_bool | encrypt_support, |
| td_bool | decrypt_support, | ||
| crypto_klad_engine | engine | ||
| ) |
| td_s32 hal_klad_set_key_dest_cfg | ( | crypto_klad_dest | dest, |
| crypto_klad_flash_key_type | flash_key_type | ||
| ) |
| td_s32 hal_klad_set_key_secure_cfg | ( | const crypto_klad_key_secure_config * | secure_cfg | ) |
| td_s32 hal_klad_start_clr_route | ( | crypto_klad_dest | klad_dest, |
| const crypto_klad_clear_key * | clear_key | ||
| ) |
| td_s32 hal_klad_start_com_route | ( | crypto_kdf_hard_key_type | rk_type, |
| const crypto_klad_effective_key * | content_key, | ||
| crypto_klad_dest | klad_dest | ||
| ) |