3. CMOX_DRBG_RETVALS

3.1. DRBG return values

group CMOX_DRBG_RETVALS

Defines

CMOX_DRBG_SUCCESS

DRBG operation successfully performed.

CMOX_DRBG_ERR_INTERNAL

DRBG generic internal error.

CMOX_DRBG_ERR_BAD_PARAMETER

DRBG One of the expected function parameters is invalid.

CMOX_DRBG_ERR_BAD_OPERATION

DRBG Invalid operation.

CMOX_DRBG_ERR_UNINIT_STATE

DRBG has not been correctly initialized.

CMOX_DRBG_ERR_RESEED_NEEDED

DRBG Reseed is needed.

CMOX_DRBG_ERR_BAD_ENTROPY_SIZE

DRBG Check the size of the entropy string.

CMOX_DRBG_ERR_BAD_PERS_STR_LEN

DRBG Check the size of the personalization string.

CMOX_DRBG_ERR_BAD_ADD_INPUT_LEN

DRBG Check the size of the additional input string.

CMOX_DRBG_ERR_BAD_REQUEST

DRBG Check the size of the random request.

CMOX_DRBG_ERR_BAD_NONCE_SIZE

DRBG Check the size of the nonce.

Typedefs

typedef uint32_t cmox_drbg_retval_t

DRBG module return value type.