44 lines
1.6 KiB
Text
44 lines
1.6 KiB
Text
/* Error codes for the EVP functions. */
|
|
|
|
/* Function codes. */
|
|
#define EVP_F_D2I_PKEY 100
|
|
#define EVP_F_EVP_DECRYPTFINAL 101
|
|
#define EVP_F_EVP_MD_CTX_COPY 110
|
|
#define EVP_F_EVP_OPENINIT 102
|
|
#define EVP_F_EVP_PBE_ALGOR_CIPHERINIT 114
|
|
#define EVP_F_EVP_PBE_ALG_ADD 115
|
|
#define EVP_F_EVP_PBE_CIPHERINIT 116
|
|
#define EVP_F_EVP_PKCS82PKEY 111
|
|
#define EVP_F_EVP_PKCS8_SET_BROKEN 112
|
|
#define EVP_F_EVP_PKEY2PKCS8 113
|
|
#define EVP_F_EVP_PKEY_COPY_PARAMETERS 103
|
|
#define EVP_F_EVP_PKEY_DECRYPT 104
|
|
#define EVP_F_EVP_PKEY_ENCRYPT 105
|
|
#define EVP_F_EVP_PKEY_NEW 106
|
|
#define EVP_F_EVP_SIGNFINAL 107
|
|
#define EVP_F_EVP_VERIFYFINAL 108
|
|
#define EVP_F_RC2_MAGIC_TO_METH 109
|
|
|
|
/* Reason codes. */
|
|
#define EVP_R_BAD_DECRYPT 100
|
|
#define EVP_R_BN_DECODE_ERROR 112
|
|
#define EVP_R_BN_PUBKEY_ERROR 113
|
|
#define EVP_R_DECODE_ERROR 114
|
|
#define EVP_R_DIFFERENT_KEY_TYPES 101
|
|
#define EVP_R_ENCODE_ERROR 115
|
|
#define EVP_R_EVP_PBE_CIPHERINIT_ERROR 119
|
|
#define EVP_R_INPUT_NOT_INITIALIZED 111
|
|
#define EVP_R_IV_TOO_LARGE 102
|
|
#define EVP_R_KEYGEN_FAILURE 120
|
|
#define EVP_R_MISSING_PARMATERS 103
|
|
#define EVP_R_NO_DSA_PARAMETERS 116
|
|
#define EVP_R_NO_SIGN_FUNCTION_CONFIGURED 104
|
|
#define EVP_R_NO_VERIFY_FUNCTION_CONFIGURED 105
|
|
#define EVP_R_PKCS8_UNKNOWN_BROKEN_TYPE 117
|
|
#define EVP_R_PUBLIC_KEY_NOT_RSA 106
|
|
#define EVP_R_UNKNOWN_PBE_ALGORITHM 121
|
|
#define EVP_R_UNSUPPORTED_CIPHER 107
|
|
#define EVP_R_UNSUPPORTED_KEY_SIZE 108
|
|
#define EVP_R_UNSUPPORTED_PRIVATE_KEY_ALGORITHM 118
|
|
#define EVP_R_WRONG_FINAL_BLOCK_LENGTH 109
|
|
#define EVP_R_WRONG_PUBLIC_KEY_TYPE 110
|