X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=e_gost_err.h;h=e8a5f2877ba63740014a0ae5f8f09037ad3adeae;hb=56c5e3414135c9443739db3b2b1409c3be265a50;hp=b52811d403ffca00694d8cf9004391af57d17de2;hpb=2e3ebd289f98a4b3011cf28a8d2abf4f4398156c;p=openssl-gost%2Fengine.git diff --git a/e_gost_err.h b/e_gost_err.h index b52811d..e8a5f28 100644 --- a/e_gost_err.h +++ b/e_gost_err.h @@ -53,11 +53,11 @@ */ #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 */ /* @@ -98,6 +98,7 @@ void ERR_GOST_error(int function, int reason, char *file, int line); # define GOST_F_PKEY_GOST_MAC_CTRL 123 # define GOST_F_PKEY_GOST_MAC_CTRL_STR 124 # define GOST_F_PKEY_GOST_MAC_KEYGEN 125 +# define GOST_F_PKEY_GOST_MAC_SIGNCTX_INIT 132 # define GOST_F_PRINT_GOST_EC_PUB 126 # define GOST_F_PRIV_DECODE_GOST 127 # define GOST_F_PUB_DECODE_GOST_EC 128 @@ -121,6 +122,7 @@ void ERR_GOST_error(int function, int reason, char *file, int line); # 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