WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hmac_wapi_wpi.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2020-2022. All rights reserved.
3 * Description: hmac_wapi_wpi.c的头文件.
4 */
5
6#ifndef __HMAC_WAPI_WPI_H__
7#define __HMAC_WAPI_WPI_H__
8
9#include "oal_types.h"
10
11#ifdef __cplusplus
12#if __cplusplus
13extern "C" {
14#endif
15#endif
16
17/*****************************************************************************
18 1 头文件包含
19*****************************************************************************/
20
21#undef THIS_FILE_ID
22#define THIS_FILE_ID OAM_FILE_ID_HMAC_WAPI_WPI_H
23
24/*****************************************************************************
25 2 宏定义
26*****************************************************************************/
27
28
29/*****************************************************************************
30 3 枚举定义
31*****************************************************************************/
32
33
34/*****************************************************************************
35 4 全局变量声明
36*****************************************************************************/
37
38
39/*****************************************************************************
40 5 消息头定义
41*****************************************************************************/
42
43
44/*****************************************************************************
45 6 消息定义
46*****************************************************************************/
47
48
49/*****************************************************************************
50 7 STRUCT定义
51*****************************************************************************/
52
53
54/*****************************************************************************
55 8 UNION定义
56*****************************************************************************/
57
58
59/*****************************************************************************
60 9 OTHERS定义
61*****************************************************************************/
62
63
64/*****************************************************************************
65 10 函数声明
66*****************************************************************************/
68 osal_u8 *key, osal_u8 *bufout);
69
71 osal_u8 *key, osal_u8 *bufout);
72
74
75osal_u32 hmac_wpi_pmac_etc(const osal_u8 *iv, osal_u8 *buf, osal_u32 pamclen,
76 osal_u8 *key, osal_u8 *mic);
77
78#ifdef __cplusplus
79#if __cplusplus
80}
81#endif
82#endif
83
84#endif /* end of hmac_wapi_wpi.h */
osal_u32 hmac_wpi_pmac_etc(const osal_u8 *iv, osal_u8 *buf, osal_u32 pamclen, osal_u8 *key, osal_u8 *mic)
Definition hmac_wapi_wpi.c:133
osal_void hmac_wpi_swap_pn_etc(osal_u8 *pn, osal_u8 len)
Definition hmac_wapi_wpi.c:110
osal_u32 hmac_wpi_encrypt_etc(osal_u8 *iv, osal_u8 *bufin, osal_u32 buflen, osal_u8 *key, osal_u8 *bufout)
Definition hmac_wapi_wpi.c:41
osal_u32 hmac_wpi_decrypt_etc(osal_u8 *iv, osal_u8 *bufin, osal_u32 buflen, osal_u8 *key, osal_u8 *bufout)
Definition hmac_wapi_wpi.c:98
unsigned char osal_u8
Definition osal_types.h:11
void osal_void
Definition osal_types.h:29
unsigned int osal_u32
Definition osal_types.h:13