]> wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - e_gost_err.h
Formatting fix
[openssl-gost/engine.git] / e_gost_err.h
index 1caaa9488b4676ec1293d372102a0ae7fdf60aa0..c62471343d9b361c63037f1d1f77cfa0b8230919 100644 (file)
  */
 
 #ifndef HEADER_GOST_ERR_H
-#define HEADER_GOST_ERR_H
+# define HEADER_GOST_ERR_H
 
-#ifdef  __cplusplus
+# ifdef  __cplusplus
 extern "C" {
-#endif
+# endif
 
 /* 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.
  */
-void ERR_load_GOST_strings(void);
-void ERR_unload_GOST_strings(void);
-void ERR_GOST_error(int function, int reason, char *file, int line);
+    void ERR_load_GOST_strings(void);
+    void ERR_unload_GOST_strings(void);
+    void ERR_GOST_error(int function, int reason, char *file, int line);
 # define GOSTerr(f,r) ERR_GOST_error((f),(r),__FILE__,__LINE__)
 
 /* Error codes for the GOST functions. */
@@ -120,6 +120,9 @@ void ERR_GOST_error(int function, int reason, char *file, int line);
 # define GOST_R_INVALID_DIGEST_TYPE                       111
 # define GOST_R_INVALID_IV_LENGTH                         112
 # define GOST_R_INVALID_MAC_KEY_LENGTH                    113
+# define GOST_R_INVALID_MAC_KEY_SIZE                      128
+# define GOST_R_INVALID_MAC_PARAMS                        130
+# define GOST_R_INVALID_MAC_SIZE                          129
 # define GOST_R_INVALID_PARAMSET                          114
 # define GOST_R_KEY_IS_NOT_INITIALIZED                    115
 # define GOST_R_KEY_PARAMETERS_MISSING                    116
@@ -135,7 +138,7 @@ void ERR_GOST_error(int function, int reason, char *file, int line);
 # define GOST_R_UNSUPPORTED_CIPHER_CTL_COMMAND            126
 # define GOST_R_UNSUPPORTED_PARAMETER_SET                 127
 
-#ifdef  __cplusplus
+# ifdef  __cplusplus
 }
-#endif
+# endif
 #endif