8#ifndef DRV_ROM_CIPHER_H
9#define DRV_ROM_CIPHER_H
16 unsigned int hash_length);
int drv_rom_cipher_deinit(void)
Definition drv_rom_cipher.c:58
int drv_rom_cipher_sha256(const unsigned char *data, unsigned int data_length, unsigned char *hash, unsigned int hash_length)
Definition drv_rom_cipher.c:22
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)
Definition drv_rom_cipher.c:82
int drv_rom_cipher_init(void)
Definition drv_rom_cipher.c:40
int drv_rom_cipher_get_randnum(unsigned int *randnum)
Definition drv_rom_cipher.c:70
Definition drv_rom_cipher.h:27
unsigned int length
Definition drv_rom_cipher.h:28
unsigned char * data
Definition drv_rom_cipher.h:29
Definition drv_rom_cipher.h:21
unsigned char * y
Definition drv_rom_cipher.h:23
unsigned char * x
Definition drv_rom_cipher.h:22
unsigned int length
Definition drv_rom_cipher.h:24
Definition drv_rom_cipher.h:32
unsigned char * r
Definition drv_rom_cipher.h:33
unsigned char * s
Definition drv_rom_cipher.h:34
unsigned int length
Definition drv_rom_cipher.h:35
Definition hal_uart_v151_regs_def.h:38