Because AEP and we used the same AEP_R_ prefix for error reasons,
[openssl.git] / crypto / engine / hw_aep_err.h
index 680b5cc2197c0b3bc18437671e571d2d3c0cb608..f6759f6c76f6b917a1531db1118e3393ea82af1f 100644 (file)
  *
  */
 
-#ifndef HEADER_AEP_ERR_H
-#define HEADER_AEP_ERR_H
+#ifndef HEADER_AEPHK_ERR_H
+#define HEADER_AEPHK_ERR_H
 
 /* BEGIN ERROR CODES */
 /* The following lines are auto generated by the script mkerr.pl. Any changes
  * made after this point may be overwritten when the script is next run.
  */
-static void ERR_load_AEP_strings(void);
-static void ERR_unload_AEP_strings(void);
-static void ERR_AEP_error(int function, int reason, char *file, int line);
-#define AEPerr(f,r) ERR_AEP_error((f),(r),__FILE__,__LINE__)
+static void ERR_load_AEPHK_strings(void);
+static void ERR_unload_AEPHK_strings(void);
+static void ERR_AEPHK_error(int function, int reason, char *file, int line);
+#define AEPHKerr(f,r) ERR_AEPHK_error((f),(r),__FILE__,__LINE__)
 
-/* Error codes for the AEP functions. */
+/* Error codes for the AEPHK functions. */
 
 /* Function codes. */
-#define AEP_F_AEP_CTRL                                  100
-#define AEP_F_AEP_FINISH                                101
-#define AEP_F_AEP_INIT                                  102
-#define AEP_F_AEP_MOD_EXP                               103
-#define AEP_F_AEP_MOD_EXP_CRT                           104
-#define AEP_F_AEP_RAND                                  105
-#define AEP_F_AEP_RSA_MOD_EXP                           106
+#define AEPHK_F_AEP_CTRL                                100
+#define AEPHK_F_AEP_FINISH                              101
+#define AEPHK_F_AEP_GET_CONNECTION                      102
+#define AEPHK_F_AEP_INIT                                103
+#define AEPHK_F_AEP_MOD_EXP                             104
+#define AEPHK_F_AEP_MOD_EXP_CRT                                 105
+#define AEPHK_F_AEP_RAND                                106
+#define AEPHK_F_AEP_RSA_MOD_EXP                                 107
 
 /* Reason codes. */
-#define AEP_R_ALREADY_LOADED                            100
-#define AEP_R_CLOSE_HANDLES_FAILED                      101
-#define AEP_R_CONNECTIONS_IN_USE                        102
-#define AEP_R_CTRL_COMMAND_NOT_IMPLEMENTED              103
-#define AEP_R_FINALIZE_FAILED                           104
-#define AEP_R_GENERAL_ERROR                             105
-#define AEP_R_GET_HANDLE_FAILED                                 106
-#define AEP_R_GET_RANDOM_FAILED                                 107
-#define AEP_R_INIT_FAILURE                              108
-#define AEP_R_MISSING_KEY_COMPONENTS                    109
-#define AEP_R_MOD_EXP_CRT_FAILED                        110
-#define AEP_R_MOD_EXP_FAILED                            111
-#define AEP_R_NOT_LOADED                                112
-#define AEP_R_OK                                        113
-#define AEP_R_RETURN_CONNECTION_FAILED                  114
-#define AEP_R_SETBNCALLBACK_FAILURE                     115
-#define AEP_R_UNIT_FAILURE                              116
+#define AEPHK_R_ALREADY_LOADED                          100
+#define AEPHK_R_CLOSE_HANDLES_FAILED                    101
+#define AEPHK_R_CONNECTIONS_IN_USE                      102
+#define AEPHK_R_CTRL_COMMAND_NOT_IMPLEMENTED            103
+#define AEPHK_R_FINALIZE_FAILED                                 104
+#define AEPHK_R_GET_HANDLE_FAILED                       105
+#define AEPHK_R_GET_RANDOM_FAILED                       106
+#define AEPHK_R_INIT_FAILURE                            107
+#define AEPHK_R_MISSING_KEY_COMPONENTS                  108
+#define AEPHK_R_MOD_EXP_CRT_FAILED                      109
+#define AEPHK_R_MOD_EXP_FAILED                          110
+#define AEPHK_R_NOT_LOADED                              111
+#define AEPHK_R_OK                                      112
+#define AEPHK_R_RETURN_CONNECTION_FAILED                113
+#define AEPHK_R_SETBNCALLBACK_FAILURE                   114
+#define AEPHK_R_UNIT_FAILURE                            115
 
 #ifdef  __cplusplus
 }