diff options
-rw-r--r-- | projects/cryptofuzz/Dockerfile | 1 | ||||
-rwxr-xr-x | projects/cryptofuzz/build.sh | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/projects/cryptofuzz/Dockerfile b/projects/cryptofuzz/Dockerfile index 4d4db367..fb668f2b 100644 --- a/projects/cryptofuzz/Dockerfile +++ b/projects/cryptofuzz/Dockerfile @@ -57,6 +57,7 @@ RUN git clone --depth 1 https://github.com/guidovranken/libfuzzer-js.git RUN git clone --depth 1 https://github.com/brix/crypto-js.git RUN git clone --depth 1 https://github.com/LoupVaillant/Monocypher.git RUN git clone --depth 1 https://github.com/trezor/trezor-firmware.git +RUN git clone --depth 1 https://github.com/Cyan4973/xxHash.git RUN apt-get remove -y libunwind8 RUN apt-get install -y libssl-dev RUN wget https://dl.bintray.com/boostorg/release/1.74.0/source/boost_1_74_0.tar.bz2 diff --git a/projects/cryptofuzz/build.sh b/projects/cryptofuzz/build.sh index fafb2932..e363114e 100755 --- a/projects/cryptofuzz/build.sh +++ b/projects/cryptofuzz/build.sh @@ -21,6 +21,10 @@ # Compile xxd $CC $SRC/xxd.c -o /usr/bin/xxd +# Copy the upstream checkout of xxHash over the old version +rm -rf $SRC/cryptofuzz/modules/reference/xxHash/ +cp -R $SRC/xxHash/ $SRC/cryptofuzz/modules/reference/ + # Install Boost headers cd $SRC/ tar jxf boost_1_74_0.tar.bz2 |