openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_PkeyGetSignLen()

uint32_t CRYPT_EAL_PkeyGetSignLen ( const CRYPT_EAL_PkeyCtx pkey)

Obtains the signature length of the key for signature, only support algorithm that can be signed.

Parameters
pkey[IN] Key session
Return values
Signaturelength, if successful. 0, if failed.