32 lines
1 KiB
Text
32 lines
1 KiB
Text
/* Error codes for the BN functions. */
|
|
|
|
/* Function codes. */
|
|
#define BN_F_BN_BLINDING_CONVERT 100
|
|
#define BN_F_BN_BLINDING_INVERT 101
|
|
#define BN_F_BN_BLINDING_NEW 102
|
|
#define BN_F_BN_BLINDING_UPDATE 103
|
|
#define BN_F_BN_BL_CTX_INIT 104
|
|
#define BN_F_BN_BL_CTX_NEW 105
|
|
#define BN_F_BN_BN2DEC 106
|
|
#define BN_F_BN_BN2HEX 107
|
|
#define BN_F_BN_CTX_NEW 108
|
|
#define BN_F_BN_DIV 109
|
|
#define BN_F_BN_EXPAND2 110
|
|
#define BN_F_BN_MOD_EXP_MONT 111
|
|
#define BN_F_BN_MOD_INVERSE 112
|
|
#define BN_F_BN_MOD_MUL_RECIPROCAL 113
|
|
#define BN_F_BN_MPI2BN 114
|
|
#define BN_F_BN_NEW 115
|
|
#define BN_F_BN_RAND 116
|
|
#define BN_F_BN_USUB 117
|
|
|
|
/* Reason codes. */
|
|
#define BN_R_ARG2_LT_ARG3 100
|
|
#define BN_R_BAD_RECIPROCAL 101
|
|
#define BN_R_CALLED_WITH_EVEN_MODULUS 102
|
|
#define BN_R_DIV_BY_ZERO 103
|
|
#define BN_R_ENCODING_ERROR 104
|
|
#define BN_R_EXPAND_ON_STATIC_BIGNUM_DATA 105
|
|
#define BN_R_INVALID_LENGTH 106
|
|
#define BN_R_NOT_INITALISED 107
|
|
#define BN_R_NO_INVERSE 108
|