30 lines
973 B
Text
30 lines
973 B
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_BN2DEC 104
|
|
#define BN_F_BN_BN2HEX 105
|
|
#define BN_F_BN_CTX_NEW 106
|
|
#define BN_F_BN_DIV 107
|
|
#define BN_F_BN_EXPAND2 108
|
|
#define BN_F_BN_MOD_EXP_MONT 109
|
|
#define BN_F_BN_MOD_INVERSE 110
|
|
#define BN_F_BN_MOD_MUL_RECIPROCAL 111
|
|
#define BN_F_BN_MPI2BN 112
|
|
#define BN_F_BN_NEW 113
|
|
#define BN_F_BN_RAND 114
|
|
#define BN_F_BN_USUB 115
|
|
|
|
/* 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
|