19#include "hitls_build.h"
20#if defined(HITLS_CRYPTO_CMVP_ISO19790) || defined(HITLS_CRYPTO_CMVP_SM) || defined(HITLS_CRYPTO_CMVP_FIPS)
25#include "crypt_cmvp.h"
26#include "crypt_types.h"
27#include "crypt_algid.h"
33uint8_t *CMVP_StringsToBins(
const char *in, uint32_t *outLen);
35void CMVP_WriteSyslog(
const char *ident, int32_t priority,
const char *format, ...)
36 __attribute__((format(printf, 3, 4)));
38char *CMVP_ReadFile(const
char *path, const
char *mode, uint32_t *bufLen);
40int32_t CMVP_CheckIntegrity(
void *libCtx, const
char *attrName,
CRYPT_MAC_AlgId macId);
42int32_t CMVP_CreateInternalLibCtx(BSL_Param *param, CRYPT_EAL_LibCtx **libCtx,
void *func);
44bool CMVP_CheckIsInternalLibCtx(BSL_Param *param);
CRYPT_MAC_AlgId
定义 crypt_algid.h:91