aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Guido Vranken <guidovranken@users.noreply.github.com>2021-01-20 14:01:27 +0100
committerGravatar GitHub <noreply@github.com>2021-01-20 05:01:27 -0800
commitc3d69abf148c966f4ea11b2f56856df016fc5b00 (patch)
tree79e63690ef9db26f08887ce6b691ef8ad35688b6
parentdffc529a71ce548c10542ab393c48e33ef249c85 (diff)
[cryptofuzz] Use latest version of xxHash (#5003)
* [cryptofuzz] Use latest version of xxHash * [cryptofuzz] Trigger CI
-rw-r--r--projects/cryptofuzz/Dockerfile1
-rwxr-xr-xprojects/cryptofuzz/build.sh4
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