FCL
Free Cryptographic Library
ucl_retdefs.h File Reference

Macros

#define UCL_CARRY   1
 
#define UCL_DIVISION_BY_ZERO   -14
 
#define UCL_ECC_INVALID_KEY   -38
 
#define UCL_ERROR   -1
 
#define UCL_FALSE   0
 
#define UCL_FUNCTION_DISABLED   -21
 
#define UCL_INTEGER_NOT_ODD   -22
 
#define UCL_INVALID_ARG   -5
 
#define UCL_INVALID_CIPHER   -3
 
#define UCL_INVALID_HASH   -4
 
#define UCL_INVALID_INPUT   -6
 
#define UCL_INVALID_MODE   -15
 
#define UCL_INVALID_OUTPUT   -7
 
#define UCL_INVALID_PRECISION   -8
 
#define UCL_INVALID_RSACRTALTKEY   -12
 
#define UCL_INVALID_RSACRTKEY   -11
 
#define UCL_INVALID_RSAPRIVKEY   -10
 
#define UCL_INVALID_RSAPUBKEY   -9
 
#define UCL_INVALID_SIGN   -16
 
#define UCL_NO_TRNG_INTERFACE   -35
 
#define UCL_NO_UAES_INTERFACE   -31
 
#define UCL_NOP   -2
 
#define UCL_NOT_IMPLEMENTED   -99
 
#define UCL_NOT_INIT   -37
 
#define UCL_OK   0
 
#define UCL_OVERFLOW   -20
 
#define UCL_PKCS1_INVALID_SIGNATURE   -30
 
#define UCL_RNG_ERROR   -39
 
#define UCL_RNGTIMEOUT   -18
 
#define UCL_RSA_INVALID_EXPONANT   -23
 
#define UCL_RSA_INVALID_INPUT   -17
 
#define UCL_RSACRT_ERROR   -13
 
#define UCL_RSAPKCS1_DECRYPTERR   -19
 
#define UCL_STACK_DEFAULT   -27
 
#define UCL_STACK_ERROR   -28
 
#define UCL_STACK_INVALID_FREE   -26
 
#define UCL_STACK_NOT_INIT   -25
 
#define UCL_STACK_OVERFLOW   -24
 
#define UCL_TRNG_CORRUPTED   -36
 
#define UCL_TRNG_ERROR   -34
 
#define UCL_TRUE   1
 
#define UCL_UAES_CORRUPTED   -32
 
#define UCL_UAES_ERROR   -33
 
#define UCL_WARNING   -29