8.1.1 crypto_Rng_Status_E

Description

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

Enumeration Data TypesNumerical ValueDescription
CRYPTO_RNG_ERROR_ALGONOTSUPPTD-127Error when a Random number algorithm not supported by crypto software component
CRYPTO_RNG_ERROR_SEED-126Error when Seed generation is failed
CRYPTO_RNG_ERROR_NOUNCE-125Error when Nonce is NULL but has length above 0 or Nonce len is 0 but Nonce is not NULL
CRYPTO_RNG_ERROR_ARG-124Error when any other argument is invalid
CRYPTO_RNG_ERROR_SID-123Error when Session ID is zero or its value is more than max session configured in configurations
CRYPTO_RNG_ERROR_HDLR-122Error when random number generation handler is not correct
CRYPTO_RNG_ERROR_FAIL-121Error when random number generation operation failed due to any reason
CRYPTO_RNG_SUCCESS0Random Number Generation operation is complete successfully