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

宏定义 | |
| #define | MAX_DUMP_LENGHT (512) |
| #define | BYTES_IN_ONE_LINE (16) |
| #define | KERN_CONT |
函数 | |
| td_void * | crypto_malloc_coherent (td_u32 size) |
| td_void * | crypto_malloc_mmz (td_u32 size) |
| td_void | crypto_free_coherent (td_void *ptr) |
| td_phys_addr_t | crypto_get_phys_addr (td_void *ptr) |
| td_bool | crypto_smmu_support (td_void) |
| td_void | crypto_get_smmu_table_addr (unsigned long *table, unsigned long *rdaddr, unsigned long *wraddr) |
| td_s32 | drv_cipher_register_func (const crypto_drv_func *drv_func_list) |
| crypto_cpu_type | crypto_get_cpu_type (td_void) |
| td_u32 | crypto_get_pke_rom_lib_start_addr (td_void) |
| td_bool | __attribute__ ((weak)) |
| td_bool | crypto_rsa_support (td_u32 klen, drv_pke_rsa_scheme scheme) |
| td_bool | crypto_hash_support (crypto_hash_type hash_type) |
| td_bool | crypto_symc_support (crypto_symc_alg alg, crypto_symc_work_mode mode, crypto_symc_key_length key_len, crypto_symc_bit_width bit_width) |
| void | crypto_dump_data (const char *name, const td_u8 *data, td_u32 data_len) |
| td_s32 | crypto_get_value_by_index (const crypto_table_item *table, td_u32 table_size, td_u32 index, td_u32 *value) |
| #define BYTES_IN_ONE_LINE (16) |
| #define KERN_CONT |
| #define MAX_DUMP_LENGHT (512) |
Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved.
Description: Provides cipher driver common utils.
History:
2023-03-22, Create file.
| td_bool __attribute__ | ( | (weak) | ) |
| crypto_cpu_type crypto_get_cpu_type | ( | td_void | ) |
| td_phys_addr_t crypto_get_phys_addr | ( | td_void * | ptr | ) |
| td_void crypto_get_smmu_table_addr | ( | unsigned long * | table, |
| unsigned long * | rdaddr, | ||
| unsigned long * | wraddr | ||
| ) |
| td_s32 crypto_get_value_by_index | ( | const crypto_table_item * | table, |
| td_u32 | table_size, | ||
| td_u32 | index, | ||
| td_u32 * | value | ||
| ) |
| td_bool crypto_hash_support | ( | crypto_hash_type | hash_type | ) |
Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved.
Description: Provides cipher driver common utils.
History:
2023-03-22, Create file.
| td_bool crypto_rsa_support | ( | td_u32 | klen, |
| drv_pke_rsa_scheme | scheme | ||
| ) |
| td_bool crypto_symc_support | ( | crypto_symc_alg | alg, |
| crypto_symc_work_mode | mode, | ||
| crypto_symc_key_length | key_len, | ||
| crypto_symc_bit_width | bit_width | ||
| ) |
| td_s32 drv_cipher_register_func | ( | const crypto_drv_func * | drv_func_list | ) |