-# define GOST_R_BAD_KEY_PARAMETERS_FORMAT 99
-# define GOST_R_BAD_PKEY_PARAMETERS_FORMAT 100
-# define GOST_R_CANNOT_PACK_EPHEMERAL_KEY 101
-# define GOST_R_CTRL_CALL_FAILED 132
-# define GOST_R_ERROR_COMPUTING_SHARED_KEY 102
-# define GOST_R_ERROR_PACKING_KEY_TRANSPORT_INFO 103
-# define GOST_R_ERROR_PARSING_KEY_TRANSPORT_INFO 104
-# define GOST_R_INCOMPATIBLE_ALGORITHMS 105
-# define GOST_R_INCOMPATIBLE_PEER_KEY 131
-# define GOST_R_INVALID_CIPHER_PARAMS 106
-# define GOST_R_INVALID_CIPHER_PARAM_OID 107
-# define GOST_R_INVALID_DIGEST_TYPE 108
-# define GOST_R_INVALID_GOST94_PARMSET 109
-# define GOST_R_INVALID_IV_LENGTH 110
-# define GOST_R_INVALID_MAC_KEY_LENGTH 111
-# define GOST_R_INVALID_PARAMSET 112
-# define GOST_R_KEY_IS_NOT_INITALIZED 113
-# define GOST_R_KEY_IS_NOT_INITIALIZED 114
-# define GOST_R_KEY_PARAMETERS_MISSING 115
-# define GOST_R_MAC_KEY_NOT_SET 116
-# define GOST_R_MALLOC_FAILURE 117
-# define GOST_R_NO_MEMORY 118
-# define GOST_R_NO_PARAMETERS_SET 119
-# define GOST_R_NO_PEER_KEY 120
-# define GOST_R_NO_PRIVATE_PART_OF_NON_EPHEMERAL_KEYPAIR 121
-# define GOST_R_PUBLIC_KEY_UNDEFINED 122
-# define GOST_R_RANDOM_GENERATOR_ERROR 123
-# define GOST_R_RANDOM_GENERATOR_FAILURE 124
-# define GOST_R_RANDOM_NUMBER_GENERATOR_FAILED 125
-# define GOST_R_SIGNATURE_MISMATCH 126
-# define GOST_R_SIGNATURE_PARTS_GREATER_THAN_Q 127
-# define GOST_R_UKM_NOT_SET 128
-# define GOST_R_UNSUPPORTED_CIPHER_CTL_COMMAND 129
-# define GOST_R_UNSUPPORTED_PARAMETER_SET 130
+# define GOST_R_BAD_KEY_PARAMETERS_FORMAT 100
+# define GOST_R_BAD_PKEY_PARAMETERS_FORMAT 101
+# define GOST_R_CANNOT_PACK_EPHEMERAL_KEY 102
+# define GOST_R_CTRL_CALL_FAILED 103
+# define GOST_R_ERROR_COMPUTING_SHARED_KEY 104
+# define GOST_R_ERROR_PARSING_KEY_TRANSPORT_INFO 105
+# define GOST_R_ERROR_POINT_MUL 106
+# define GOST_R_INCOMPATIBLE_ALGORITHMS 107
+# define GOST_R_INCOMPATIBLE_PEER_KEY 108
+# define GOST_R_INVALID_CIPHER_PARAMS 109
+# define GOST_R_INVALID_CIPHER_PARAM_OID 110
+# 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
+# define GOST_R_MAC_KEY_NOT_SET 117
+# define GOST_R_NO_PARAMETERS_SET 118
+# define GOST_R_NO_PEER_KEY 119
+# define GOST_R_NO_PRIVATE_PART_OF_NON_EPHEMERAL_KEYPAIR 120
+# define GOST_R_PUBLIC_KEY_UNDEFINED 121
+# define GOST_R_RNG_ERROR 122
+# define GOST_R_SIGNATURE_MISMATCH 123
+# define GOST_R_SIGNATURE_PARTS_GREATER_THAN_Q 124
+# define GOST_R_UKM_NOT_SET 125
+# define GOST_R_UNSUPPORTED_CIPHER_CTL_COMMAND 126
+# define GOST_R_UNSUPPORTED_PARAMETER_SET 127