libressl/PORTABLE-0041-kdftree-add-functions-implementing-KDF_TREE-function.patch
Mikhail Novosyolov faac7d3eaa Add gost-new patches sponsored by ROSA Linux
TODO: add tests
2020-08-05 12:58:06 +03:00

26 lines
979 B
Diff

Index: libressl-3.1.0/crypto/Makefile.am
===================================================================
--- libressl-3.1.0.orig/crypto/Makefile.am
+++ libressl-3.1.0/crypto/Makefile.am
@@ -721,6 +721,9 @@ libcrypto_la_SOURCES += idea/i_ofb64.c
libcrypto_la_SOURCES += idea/i_skey.c
noinst_HEADERS += idea/idea_lcl.h
+# kdftree
+libcrypto_la_SOURCES += kdftree/kdftree.c
+
# lhash
libcrypto_la_SOURCES += lhash/lh_stats.c
libcrypto_la_SOURCES += lhash/lhash.c
Index: libressl-3.1.0/include/openssl/Makefile.am
===================================================================
--- libressl-3.1.0.orig/include/openssl/Makefile.am
+++ libressl-3.1.0/include/openssl/Makefile.am
@@ -35,6 +35,7 @@ opensslinclude_HEADERS += gost.h
opensslinclude_HEADERS += hkdf.h
opensslinclude_HEADERS += hmac.h
opensslinclude_HEADERS += idea.h
+opensslinclude_HEADERS += kdftree.h
opensslinclude_HEADERS += lhash.h
opensslinclude_HEADERS += md4.h
opensslinclude_HEADERS += md5.h