WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
drv_rom_table.c 文件参考
#include "crypto_osal_adapt.h"
#include "hal_hash.h"
#include "hal_cipher_trng.h"
#include "drv_common.h"
#include "drv_pke.h"
#include "crypto_hash_struct.h"
#include "crypto_pke_struct.h"
#include "crypto_curve_param.h"
#include "drv_rom_cipher.h"
#include "security_rom_table.h"
drv_rom_table.c 的引用(Include)关系图:

函数

int drv_rom_cipher_init (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_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_init()

int drv_rom_cipher_init ( void  )

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 
)