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

结构体 | |
| struct | drv_rom_cipher_ecc_point |
| struct | drv_rom_cipher_data |
| struct | drv_rom_cipher_ecc_sig |
函数 | |
| int | drv_rom_cipher_init (void) |
| int | drv_rom_cipher_deinit (void) |
| int | drv_rom_cipher_sha256 (const unsigned char *data, unsigned int data_length, unsigned char *hash, unsigned int hash_length) |
| int | drv_rom_cipher_get_randnum (unsigned int *randnum) |
| int | drv_rom_cipher_pke_bp256r_verify (const drv_rom_cipher_ecc_point *pub_key, const drv_rom_cipher_data *hash, const drv_rom_cipher_ecc_sig *sig) |
| int drv_rom_cipher_deinit | ( | void | ) |
| int drv_rom_cipher_get_randnum | ( | unsigned int * | randnum | ) |
| int drv_rom_cipher_init | ( | void | ) |
Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2022-2022. All rights reserved.
Description: security api for romboot.
Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved. Description: Corresponds ROM functions to their implementation ROM addresses.
Create: 2023-05-17
| int drv_rom_cipher_pke_bp256r_verify | ( | const drv_rom_cipher_ecc_point * | pub_key, |
| const drv_rom_cipher_data * | hash, | ||
| const drv_rom_cipher_ecc_sig * | sig | ||
| ) |
| int drv_rom_cipher_sha256 | ( | const unsigned char * | data, |
| unsigned int | data_length, | ||
| unsigned char * | hash, | ||
| unsigned int | hash_length | ||
| ) |