7. CMOX_CIPHER_RETVALS

7.1. Cipher return values

group CMOX_CIPHER_RETVALS

Defines

CMOX_CIPHER_SUCCESS

Cipher operation successfully performed.

CMOX_CIPHER_ERR_INTERNAL

Some error happens internally in the cipher module.

CMOX_CIPHER_ERR_NOT_IMPLEMENTED

The function is not implemented for the current algorithm.

CMOX_CIPHER_ERR_BAD_PARAMETER

One or more parameter has been wrongly passed to the function (e.g. pointer to NULL).

CMOX_CIPHER_ERR_BAD_OPERATION

Error on performing the operation (e.g. an operation has been called before initializing the handle).

CMOX_CIPHER_ERR_BAD_INPUT_SIZE

A buffer with a wrong size has been passed to the function.

CMOX_CIPHER_AUTH_SUCCESS

Authentication of the tag has been successful.

CMOX_CIPHER_AUTH_FAIL

Authentication of the tag failed.

Typedefs

typedef uint32_t cmox_cipher_retval_t

Cipher module return value type.