WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hmac_wapi_wpi.c 文件参考
#include "hmac_wapi_wpi.h"
#include "hmac_wapi_sms4.h"
hmac_wapi_wpi.c 的引用(Include)关系图:

宏定义

#define THIS_FILE_ID   DIAG_FILE_ID_WIFI_HOST_HMAC_WAPI_WPI_C
 
#define THIS_MOD_ID   DIAG_MOD_ID_WIFI_HOST
 

函数

osal_u32 hmac_wpi_encrypt_etc (osal_u8 *iv, osal_u8 *bufin, osal_u32 buflen, osal_u8 *key, osal_u8 *bufout)
 
osal_u32 hmac_wpi_decrypt_etc (osal_u8 *iv, osal_u8 *bufin, osal_u32 buflen, osal_u8 *key, osal_u8 *bufout)
 
void hmac_wpi_swap_pn_etc (osal_u8 *pn, osal_u8 len)
 
osal_u32 hmac_wpi_pmac_etc (const osal_u8 *iv, osal_u8 *buf, osal_u32 pamclen, osal_u8 *key, osal_u8 *mic)
 

宏定义说明

◆ THIS_FILE_ID

#define THIS_FILE_ID   DIAG_FILE_ID_WIFI_HOST_HMAC_WAPI_WPI_C

◆ THIS_MOD_ID

#define THIS_MOD_ID   DIAG_MOD_ID_WIFI_HOST

函数说明

◆ hmac_wpi_decrypt_etc()

osal_u32 hmac_wpi_decrypt_etc ( osal_u8 iv,
osal_u8 bufin,
osal_u32  buflen,
osal_u8 key,
osal_u8 bufout 
)

◆ hmac_wpi_encrypt_etc()

osal_u32 hmac_wpi_encrypt_etc ( osal_u8 iv,
osal_u8 bufin,
osal_u32  buflen,
osal_u8 key,
osal_u8 bufout 
)

◆ hmac_wpi_pmac_etc()

osal_u32 hmac_wpi_pmac_etc ( const osal_u8 iv,
osal_u8 buf,
osal_u32  pamclen,
osal_u8 key,
osal_u8 mic 
)

◆ hmac_wpi_swap_pn_etc()

void hmac_wpi_swap_pn_etc ( osal_u8 pn,
osal_u8  len 
)