[update][lhal] update lhal

* update lhal api comments
* add cam driver
* add efuse driver
* add iso11898 driver
This commit is contained in:
jzlv 2022-12-21 20:20:33 +08:00
parent 185805cbbe
commit a77b0dc866
60 changed files with 8782 additions and 429 deletions

View file

@ -3,6 +3,14 @@
#include "bflb_core.h"
/** @addtogroup LHAL
* @{
*/
/** @addtogroup SEC_DSA
* @{
*/
struct bflb_dsa_crt_s {
uint32_t *dP;
uint32_t *dQ;
@ -28,12 +36,47 @@ struct bflb_dsa_s {
extern "C" {
#endif
/**
* @brief
*
* @param [in] handle
* @param [in] size
* @return int
*/
int bflb_sec_dsa_init(struct bflb_dsa_s *handle, uint32_t size);
/**
* @brief
*
* @param [in] handle
* @param [in] hash
* @param [in] hashLenInWord
* @param [in] s
* @return int
*/
int bflb_sec_dsa_sign(struct bflb_dsa_s *handle, const uint32_t *hash, uint32_t hashLenInWord, uint32_t *s);
/**
* @brief
*
* @param [in] handle
* @param [in] hash
* @param [in] hashLenInWord
* @param [in] s
* @return int
*/
int bflb_sec_dsa_verify(struct bflb_dsa_s *handle, const uint32_t *hash, uint32_t hashLenInWord, const uint32_t *s);
#ifdef __cplusplus
}
#endif
/**
* @}
*/
/**
* @}
*/
#endif