8.1.1 crypto_Rng_Status_E
Description
This enum is used to represent the return type of Random Number algorithm APIs.
Enumeration Data Types | Numerical Value | Description |
---|---|---|
CRYPTO_RNG_ERROR_ALGONOTSUPPTD | -127 | Error when a Random number algorithm not supported by crypto software component |
CRYPTO_RNG_ERROR_SEED | -126 | Error when Seed generation is failed |
CRYPTO_RNG_ERROR_NOUNCE | -125 | Error when Nonce is NULL but has length above 0 or Nonce len is 0 but Nonce is not NULL |
CRYPTO_RNG_ERROR_ARG | -124 | Error when any other argument is invalid |
CRYPTO_RNG_ERROR_SID | -123 | Error when Session ID is zero or its value is more than max session configured in configurations |
CRYPTO_RNG_ERROR_HDLR | -122 | Error when random number generation handler is not correct |
CRYPTO_RNG_ERROR_FAIL | -121 | Error when random number generation operation failed due to any reason |
CRYPTO_RNG_SUCCESS | 0 | Random Number Generation operation is complete successfully |