XMSS Library
|
Public API for XMSS error handling. More...
#include <types.h>
Go to the source code of this file.
Macros | |
#define | XMSS_ERRORS_H_INCLUDED |
Include guard. | |
Functions | |
const char * | xmss_error_to_name (XmssError error) |
const char * | xmss_error_to_description (XmssError error) |
Public API for XMSS error handling.
const char* xmss_error_to_description | ( | XmssError | error | ) |
Translate an XMSS error to a human-readable message.
[in] | error | The error to translate. |
error
. const char* xmss_error_to_name | ( | XmssError | error | ) |
Translate an XMSS error to the string with the enumeration-constant name.
As an example, xmss_error_to_name(XMSS_OKAY)
returns "XMSS_OKAY"
.
"XmssError_Undefined"
for values of error
that are not defined in XmssError.[in] | error | The error to translate. |
error
.