Bouffalo SDK  1.0
Bouffalolab Software Development Kit
SEC_DSA
Collaboration diagram for SEC_DSA:

Data Structures

struct  bflb_dsa_crt_s
 
struct  bflb_dsa_s
 

Functions

int bflb_sec_dsa_init (struct bflb_dsa_s *handle, uint32_t size)
 
int bflb_sec_dsa_sign (struct bflb_dsa_s *handle, const uint32_t *hash, uint32_t hashLenInWord, uint32_t *s)
 
int bflb_sec_dsa_verify (struct bflb_dsa_s *handle, const uint32_t *hash, uint32_t hashLenInWord, const uint32_t *s)
 

Variables

struct bflb_dsa_crt_s __attribute__
 

Detailed Description

Function Documentation

◆ bflb_sec_dsa_init()

int bflb_sec_dsa_init ( struct bflb_dsa_s handle,
uint32_t  size 
)
Parameters
[in]handle
[in]size
Returns
int

◆ bflb_sec_dsa_sign()

int bflb_sec_dsa_sign ( struct bflb_dsa_s handle,
const uint32_t *  hash,
uint32_t  hashLenInWord,
uint32_t *  s 
)
Parameters
[in]handle
[in]hash
[in]hashLenInWord
[in]s
Returns
int

◆ bflb_sec_dsa_verify()

int bflb_sec_dsa_verify ( struct bflb_dsa_s handle,
const uint32_t *  hash,
uint32_t  hashLenInWord,
const uint32_t *  s 
)
Parameters
[in]handle
[in]hash
[in]hashLenInWord
[in]s
Returns
int

Variable Documentation

◆ __attribute__

struct bflb_aes_xts_link_s __attribute__