WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
crypto_drv_init.c 文件参考
#include "crypto_drv_common.h"
#include "crypto_curve_param.h"
#include "hal_cipher_trng.h"
#include "hal_pke.h"
#include "drv_common.h"
#include "kapi_inner.h"
#include "crypto_drv_irq.h"
#include "soc_osal.h"
#include "crypto_drv_init.h"
#include "efuse.h"
crypto_drv_init.c 的引用(Include)关系图:

宏定义

#define CACHE_LINE_SIZE   32
 
#define crypto_lock()
 
#define crypto_unlock()
 
#define EFUSE_SM_ENABLE_OFFSET   41
 

函数

td_bool crypto_sm_support (crypto_sm_alg alg)
 
td_s32 crypto_drv_mod_resume (td_void)
 
td_void crypto_drv_mod_suspend (td_void)
 
td_s32 crypto_drv_mod_init (td_void)
 
td_void crypto_drv_mod_deinit (td_void)
 
td_void crypto_wait_func_config (td_bool is_enable)
 
td_bool crypto_wait_func_is_support (void)
 

宏定义说明

◆ CACHE_LINE_SIZE

#define CACHE_LINE_SIZE   32

Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved. Description: drivers of drv_osal_init

Create: 2023-01-18

◆ crypto_lock

#define crypto_lock ( )
值:
do { \
crypto_mutex_lock(&g_crypto_mutex); \
} while (0)

◆ crypto_unlock

#define crypto_unlock ( )
值:
do { \
crypto_mutex_unlock(&g_crypto_mutex); \
} while (0)

◆ EFUSE_SM_ENABLE_OFFSET

#define EFUSE_SM_ENABLE_OFFSET   41

函数说明

◆ crypto_drv_mod_deinit()

td_void crypto_drv_mod_deinit ( td_void  )

◆ crypto_drv_mod_init()

td_s32 crypto_drv_mod_init ( td_void  )

Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved. Description: only use for init befor drv layer test.

Create: 2023-02-08

◆ crypto_drv_mod_resume()

td_s32 crypto_drv_mod_resume ( td_void  )

◆ crypto_drv_mod_suspend()

td_void crypto_drv_mod_suspend ( td_void  )

◆ crypto_sm_support()

td_bool crypto_sm_support ( crypto_sm_alg  alg)

◆ crypto_wait_func_config()

td_void crypto_wait_func_config ( td_bool  is_enable)

◆ crypto_wait_func_is_support()

td_bool crypto_wait_func_is_support ( void  )