openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_GetMacLen()

uint32_t CRYPT_EAL_GetMacLen ( const CRYPT_EAL_MacCtx ctx)

Through the context, obtain the output MAC length of the corresponding algorithm.

Parameters
ctx[IN] MAC context
Return values
TheMAC length corresponding to the context.