API参考
载入中...
搜索中...
未找到
crypt_iso_selftest.h
1/*
2 * This file is part of the openHiTLS project.
3 *
4 * openHiTLS is licensed under the Mulan PSL v2.
5 * You can use this software according to the terms and conditions of the Mulan PSL v2.
6 * You may obtain a copy of Mulan PSL v2 at:
7 *
8 * http://license.coscl.org.cn/MulanPSL2
9 *
10 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
11 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
12 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
13 * See the Mulan PSL v2 for more details.
14 */
15
21
22#ifndef CRYPT_EAL_ISO_SELFTEST_H
23#define CRYPT_EAL_ISO_SELFTEST_H
24
25#ifdef HITLS_CRYPTO_CMVP_ISO19790
26
27#include <stdint.h>
28#include "crypt_iso_provider.h"
29#include "crypt_eal_provider.h"
30
31#ifdef __cplusplus
32extern "C" {
33#endif /* __cplusplus */
34
35int32_t CRYPT_Iso_Selftest(BSL_Param *param);
36
37int32_t CRYPT_Iso_Log(void *provCtx, CRYPT_EVENT_TYPE event, CRYPT_ALGO_TYPE type, int32_t id);
38
39int32_t CRYPT_Iso_EventOperation(void *provCtx, BSL_Param *param);
40
41int32_t CRYPT_Iso_GetLogFunc(BSL_Param *param, CRYPT_EAL_CMVP_LogFunc *logFunc);
42
43#ifdef __cplusplus
44}
45#endif /* __cplusplus */
46
47#endif /* HITLS_CRYPTO_CMVP_ISO19790 */
48#endif /* CRYPT_EAL_ISO_SELFTEST_H */
void(* CRYPT_EAL_CMVP_LogFunc)(CRYPT_EVENT_TYPE oper, CRYPT_ALGO_TYPE type, int32_t id, int32_t err)
Log function for provider.
定义 crypt_eal_cmvp.h:58
CRYPT_ALGO_TYPE
定义 crypt_types.h:843
CRYPT_EVENT_TYPE
定义 crypt_types.h:810