CC23x0R5DriverLibrary
[sha2sw_common.h] SHA2 SW Status codes

Status codes returned by the SHA2 SW module. More...

Collaboration diagram for [sha2sw_common.h] SHA2 SW Status codes:

Macros

#define SHA2SW_STATUS_SUCCESS   ((int_fast16_t)0)
 Successful status code. More...
 
#define SHA2SW_STATUS_ERROR   ((int_fast16_t)-100)
 Generic error status code. More...
 
#define SHA2SW_STATUS_UNSUPPORTED   ((int_fast16_t)-102)
 Requested operation is not supported. More...
 
#define SHA2SW_STATUS_LENGTH_TOO_LARGE   ((int_fast16_t)-103)
 Too many data bytes have been requested to be hashed. More...
 
#define SHA2SW_STATUS_NULL_INPUT   ((int_fast16_t)-104)
 Input value was NULL. More...
 

Detailed Description

Status codes returned by the SHA2 SW module.

Macro Definition Documentation

§ SHA2SW_STATUS_SUCCESS

#define SHA2SW_STATUS_SUCCESS   ((int_fast16_t)0)

Successful status code.

Functions return SHA2SW_STATUS_SUCCESS if the function was executed successfully.

§ SHA2SW_STATUS_ERROR

#define SHA2SW_STATUS_ERROR   ((int_fast16_t)-100)

Generic error status code.

Functions return SHA2SW_STATUS_ERROR if the function was not executed successfully and no more specific error is applicable.

§ SHA2SW_STATUS_UNSUPPORTED

#define SHA2SW_STATUS_UNSUPPORTED   ((int_fast16_t)-102)

Requested operation is not supported.

The library (as built) does not support a requested feature.

§ SHA2SW_STATUS_LENGTH_TOO_LARGE

#define SHA2SW_STATUS_LENGTH_TOO_LARGE   ((int_fast16_t)-103)

Too many data bytes have been requested to be hashed.

The library supports a maximum length of 512MiB to be hashed.

§ SHA2SW_STATUS_NULL_INPUT

#define SHA2SW_STATUS_NULL_INPUT   ((int_fast16_t)-104)

Input value was NULL.

An input pointer was NULL. Operation not performed.