openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_CipherGetInfo()

int32_t CRYPT_EAL_CipherGetInfo ( CRYPT_CIPHER_AlgId  id,
int32_t  type,
uint32_t *  infoValue 
)

Obtain the type of an algorithm based on the algorithm ID.

参数
id[IN] Symmetric algorithm ID.
type[IN] Attribute type to be obtained.
infoValue[OUT] Obtained attribute data.
返回值
CRYPT_SUCCESS,successOther error codes see crypt_errno.h