From: Vitaly Chikunov Date: Wed, 8 Aug 2018 18:37:59 +0000 (+0300) Subject: Add NIDs to compile with vanilla OpenSSL_1_1_0-stable X-Git-Tag: v3.0.0~383 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=dd507838fbe0b7d8e56570384b5fd6b44a6403b6;p=openssl-gost%2Fengine.git Add NIDs to compile with vanilla OpenSSL_1_1_0-stable --- diff --git a/compat.h b/compat.h index 29a2ad3..f7effbe 100644 --- a/compat.h +++ b/compat.h @@ -344,4 +344,16 @@ static inline int (*EVP_MD_meth_get_ctrl(const EVP_MD *md))(EVP_MD_CTX *ctx, int # endif /* (OPENSSL_VERSION_NUMBER <= 0x10002100L) */ +# ifndef NID_id_tc26_cipher_gostr3412_2015_kuznyechik +# define NID_id_tc26_cipher_gostr3412_2015_kuznyechik 1176 +# define NID_id_tc26_cipher_gostr3412_2015_kuznyechik_ctracpkm 1177 +# define NID_id_tc26_cipher_gostr3412_2015_kuznyechik_ctracpkm_omac 1178 +# define NID_magma_ecb 1187 +# define NID_magma_ctr 1188 +# define NID_magma_ofb 1189 +# define NID_magma_cbc 1190 +# define NID_magma_cfb 1191 +# define NID_magma_mac 1192 +# endif + #endif /* !_GOST_COMPAT_H */