WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
drv_rom_cipher.h 文件参考
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

结构体

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)
 

函数说明

◆ drv_rom_cipher_deinit()

int drv_rom_cipher_deinit ( void  )

◆ drv_rom_cipher_get_randnum()

int drv_rom_cipher_get_randnum ( unsigned int *  randnum)

◆ drv_rom_cipher_init()

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

◆ drv_rom_cipher_pke_bp256r_verify()

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 
)

◆ drv_rom_cipher_sha256()

int drv_rom_cipher_sha256 ( const unsigned char *  data,
unsigned int  data_length,
unsigned char *  hash,
unsigned int  hash_length 
)