From f8ad4aabbb8b7b0671def7c36896615510f48905 Mon Sep 17 00:00:00 2001 From: J08nY Date: Tue, 24 Aug 2021 15:00:01 +0200 Subject: Bump BoringSSL and LibreSSL, include build information. --- README.md | 21 +++++++++++++++++++++ ext/boringssl | 2 +- ext/libressl | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7ed5f13..b7434db 100644 --- a/README.md +++ b/README.md @@ -344,6 +344,27 @@ g++ -fPIC -shared -O2 -o botan_provider.so -Wl,-rpath,'$ORIGIN/lib' botan.o cpp_ g++ -fPIC -shared -O2 -o cryptopp_provider.so -Wl,-rpath,'$ORIGIN/lib' cryptopp.o cpp_utils.o -L. -L/usr/local/lib -lcryptopp -l:lib_timing.so ``` +BoringSSL and LibreSSL are included as git submodules. Make sure you run: `git submodule update --init --recursive` +after checking out the ECTester repository to initialize them. To build BoringSSL do: +``` +cd ext/boringssl +mkdir build +cd build +cmake -GNinja -DBUILD_SHARED_LIBS=1 .. +ninja +``` + +To build LibreSSL do: +``` +cd ext/libressl +./autogen.sh +mkdir build +cd build +cmake -GNinja -DBUILD_SHARED_LIBS=1 .. +ninja +``` + + #### Java OpenJDK JRE is required to test ECDH on Windows properly, as Oracle JRE requires the Java Cryptography Providers diff --git a/ext/boringssl b/ext/boringssl index 74161f4..047ff64 160000 --- a/ext/boringssl +++ b/ext/boringssl @@ -1 +1 @@ -Subproject commit 74161f485b5d54fe963cbd3d081b718ec84d2e00 +Subproject commit 047ff6428714afed823815e53c26ffc3e9bf8cd3 diff --git a/ext/libressl b/ext/libressl index 22c6680..7072a55 160000 --- a/ext/libressl +++ b/ext/libressl @@ -1 +1 @@ -Subproject commit 22c6680f2ba626b52b3eb4e2d00e957151772751 +Subproject commit 7072a55b80256357b0f0da1ce55e2de6de517ae7 -- cgit v1.3.1