Fix more error codes.
[openssl.git] / crypto / rsa / rsa.h
index 4e28bbc39c3786a33e72597912ee71a179bccf5c..f8bcbc3b8d14bd79d07b066e5356b58145c9f9ef 100644 (file)
@@ -322,15 +322,20 @@ void ERR_load_RSA_strings(void);
 /* Error codes for the RSA functions. */
 
 /* Function codes. */
-#define RSA_F_MEMORY_LOCK                               100
+#define RSA_F_RSA_BUILTIN_KEYGEN                        105
 #define RSA_F_RSA_CHECK_KEY                             123
 #define RSA_F_RSA_EAY_PRIVATE_DECRYPT                   101
 #define RSA_F_RSA_EAY_PRIVATE_ENCRYPT                   102
 #define RSA_F_RSA_EAY_PUBLIC_DECRYPT                    103
 #define RSA_F_RSA_EAY_PUBLIC_ENCRYPT                    104
-#define RSA_F_RSA_GENERATE_KEY                          105
+#define RSA_F_RSA_MEMORY_LOCK                           100
 #define RSA_F_RSA_NEW_METHOD                            106
 #define RSA_F_RSA_NULL                                  124
+#define RSA_F_RSA_NULL_MOD_EXP                          126
+#define RSA_F_RSA_NULL_PRIVATE_DECRYPT                  127
+#define RSA_F_RSA_NULL_PRIVATE_ENCRYPT                  128
+#define RSA_F_RSA_NULL_PUBLIC_DECRYPT                   129
+#define RSA_F_RSA_NULL_PUBLIC_ENCRYPT                   130
 #define RSA_F_RSA_PADDING_ADD_NONE                      107
 #define RSA_F_RSA_PADDING_ADD_PKCS1_OAEP                121
 #define RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_1              108