7.1.1 crypto_Kas_Status_E
Description
This enum is used to represent the return type of KAS algorithm APIs.
Enumeration Data Types | Numerical Value | Description |
---|---|---|
CRYPTO_KAS_ERROR_CIPNOTSUPPTD | -127 | Error when a KAS algorithm not supported by crypto software component |
CRYPTO_KAS_ERROR_PUBKEY | -126 | Error when public key length is above or below its range or key pointer is NULL |
CRYPTO_KAS_ERROR_PRIVKEY | -125 | Error when private key length is above or below its range or Key pointer is NULL |
CRYPTO_KAS_ERROR_HDLR | -124 | Error when handler type is invalid |
CRYPTO_KAS_ERROR_SID | -123 | Error when Session ID is zero or its value is more than max session configured in configurations |
CRYPTO_KAS_ERROR_CURVE | -122 | Error when curve type is invalid or not supported |
CRYPTO_KAS_ERROR_ARG | -121 | Error when any other argument is invalid |
CRYPTO_KAS_ERROR_FAIL | -120 | Error when Shared Secret Generation operation failed due to any reason |
CRYPTO_KAS_SUCCESS | 0 | Shared Secret Generation operation is complete successfully |