22#ifndef CRYPT_EAL_CMVP_H
23#define CRYPT_EAL_CMVP_H
26#include "bsl_params.h"
27#include "crypt_types.h"
46 CRYPT_CTRL_SET_SELFTEST_FLAG = CRYPT_CTRL_RAND_MAX + 1,
int32_t CRYPT_CMVP_Selftest(CRYPT_SelftestCtx *ctx, const BSL_Param *param)
Run the self-test.
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
const char * CRYPT_CMVP_GetVersion(CRYPT_SelftestCtx *ctx)
Get the version of the provider.
CRYPT_CMVP_SELFTEST_TYPE
The type of the self-test.
定义 crypt_eal_cmvp.h:37
CRYPT_SelftestCtx * CRYPT_CMVP_SelftestNewCtx(CRYPT_EAL_LibCtx *libCtx, const char *attrName)
Create a new context for self-test.
void CRYPT_CMVP_SelftestFreeCtx(CRYPT_SelftestCtx *ctx)
Free the context of the self-test.
@ CRYPT_CMVP_KAT_TEST
定义 crypt_eal_cmvp.h:39
@ CRYPT_CMVP_RANDOMNESS_TEST
定义 crypt_eal_cmvp.h:40
@ CRYPT_CMVP_INTEGRITY_TEST
定义 crypt_eal_cmvp.h:38
CRYPT_ALGO_TYPE
定义 crypt_types.h:843
CRYPT_EVENT_TYPE
定义 crypt_types.h:810