7.1.1 crypto_Kas_Status_E

Description

This enum is used to represent the return type of KAS algorithm APIs.

Enumeration Data TypesNumerical ValueDescription
CRYPTO_KAS_ERROR_CIPNOTSUPPTD-127Error when a KAS algorithm not supported by crypto software component
CRYPTO_KAS_ERROR_PUBKEY-126Error when public key length is above or below its range or key pointer is NULL
CRYPTO_KAS_ERROR_PRIVKEY-125Error when private key length is above or below its range or Key pointer is NULL
CRYPTO_KAS_ERROR_HDLR-124Error when handler type is invalid
CRYPTO_KAS_ERROR_SID-123Error when Session ID is zero or its value is more than max session configured in configurations
CRYPTO_KAS_ERROR_CURVE-122Error when curve type is invalid or not supported
CRYPTO_KAS_ERROR_ARG-121Error when any other argument is invalid
CRYPTO_KAS_ERROR_FAIL-120Error when Shared Secret Generation operation failed due to any reason
CRYPTO_KAS_SUCCESS0Shared Secret Generation operation is complete successfully