openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_MacNewCtx()

CRYPT_EAL_MacCtx * CRYPT_EAL_MacNewCtx ( CRYPT_MAC_AlgId  id)

Apply for a MAC context.

参数
id[IN] MAC algorithm ID
返回值
CRYPT_EAL_MacCtxPointer. NULL, if the operation fails.