openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_MdGetDigestSize()

uint32_t CRYPT_EAL_MdGetDigestSize ( CRYPT_MD_AlgId  id)

Obtain the digest length of the algorithm output.

参数
id[IN] Algorithm ID
返回值
Digestlength, if successful. 0, if failed(in this case, the ID is invalid).