/* Error codes for the EVP functions. */

/* Function codes. */
#define EVP_F_D2I_PKEY					 100
#define EVP_F_EVP_DECRYPTFINAL				 101
#define EVP_F_EVP_OPENINIT				 102
#define EVP_F_EVP_PKEY_COPY_PARAMETERS			 103
#define EVP_F_EVP_PKEY_NEW				 104
#define EVP_F_EVP_SEALINIT				 105
#define EVP_F_EVP_SIGNFINAL				 106
#define EVP_F_EVP_VERIFYFINAL				 107

/* Reason codes. */
#define EVP_R_BAD_DECRYPT				 100
#define EVP_R_DIFFERENT_KEY_TYPES			 101
#define EVP_R_IV_TOO_LARGE				 102
#define EVP_R_MISSING_PARMATERS				 103
#define EVP_R_NO_SIGN_FUNCTION_CONFIGURED		 104
#define EVP_R_NO_VERIFY_FUNCTION_CONFIGURED		 105
#define EVP_R_PUBLIC_KEY_NOT_RSA			 106
#define EVP_R_UNSUPPORTED_CIPHER			 107
#define EVP_R_WRONG_FINAL_BLOCK_LENGTH			 108
#define EVP_R_WRONG_PUBLIC_KEY_TYPE			 109
