openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_PkeyGetSecurityBits()

uint32_t CRYPT_EAL_PkeyGetSecurityBits ( const CRYPT_EAL_PkeyCtx pkey)

Obtain the key security strength. Only supports CRYPT_PKEY_RSA and CRYPT_PKEY_ECDSA.

参数
pkey[IN] Key session
返回值
Keysecurity strength, if successful. 0, if failed.