From d0dca40aabf970e230bf037138cf9765723fbeec Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 2 Mar 2024 11:17:27 +0000 Subject: Unhook and remove GOST and STREEBOG This stops compiling the GOST source. The current implementation is low quality and got in the way, especially in libssl. While we would be open for GOST support, it needs to be significantly better than what we have had and it also needs a maintainer. Add OPENSSL_NO_GOST to opensslfeatures and stop installing gost.h. Some code wrapped in #ifndef OPENSSL_NO_GOST will be removed later. ok jsing --- src/lib/libcrypto/Makefile | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'src/lib/libcrypto/Makefile') diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index 0e4c783d9e..5ef55c6b6c 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.172 2024/03/02 11:11:11 tb Exp $ +# $OpenBSD: Makefile,v 1.173 2024/03/02 11:17:27 tb Exp $ LIB= crypto LIBREBUILD=y @@ -357,7 +357,6 @@ SRCS+= e_chacha.c SRCS+= e_chacha20poly1305.c SRCS+= e_des.c SRCS+= e_des3.c -SRCS+= e_gost2814789.c SRCS+= e_idea.c SRCS+= e_null.c SRCS+= e_rc2.c @@ -373,8 +372,6 @@ SRCS+= evp_key.c SRCS+= evp_names.c SRCS+= evp_pbe.c SRCS+= evp_pkey.c -SRCS+= m_gost2814789.c -SRCS+= m_gostr341194.c SRCS+= m_md4.c SRCS+= m_md5.c SRCS+= m_md5_sha1.c @@ -394,22 +391,6 @@ SRCS+= pmeth_fn.c SRCS+= pmeth_gn.c SRCS+= pmeth_lib.c -# gost/ -SRCS+= gost2814789.c -SRCS+= gost89_keywrap.c -SRCS+= gost89_params.c -SRCS+= gost89imit_ameth.c -SRCS+= gost89imit_pmeth.c -SRCS+= gost_asn1.c -SRCS+= gost_err.c -SRCS+= gostr341001.c -SRCS+= gostr341001_ameth.c -SRCS+= gostr341001_key.c -SRCS+= gostr341001_params.c -SRCS+= gostr341001_pmeth.c -SRCS+= gostr341194.c -SRCS+= streebog.c - # hkdf/ SRCS+= hkdf.c @@ -728,7 +709,6 @@ HDRS=\ ${LCRYPTO_SRC}/engine/engine.h \ ${LCRYPTO_SRC}/err/err.h \ ${LCRYPTO_SRC}/evp/evp.h \ - ${LCRYPTO_SRC}/gost/gost.h \ ${LCRYPTO_SRC}/hkdf/hkdf.h \ ${LCRYPTO_SRC}/hmac/hmac.h \ ${LCRYPTO_SRC}/idea/idea.h \ -- cgit v1.2.3-55-g6feb