mirror of https://github.com/google/oss-fuzz.git
[bls-signatures] Add Arkworks (#9211)
This commit is contained in:
parent
b33da18913
commit
b8a9236e5e
|
@ -14,7 +14,7 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
FROM gcr.io/oss-fuzz-base/base-builder
|
||||
FROM gcr.io/oss-fuzz-base/base-builder-rust
|
||||
RUN apt-get update && apt-get install -y make autoconf automake libtool wget python lzip libgmp-dev
|
||||
RUN git clone --depth 1 https://github.com/guidovranken/cryptofuzz
|
||||
RUN git clone --depth 1 https://github.com/supranational/blst
|
||||
|
|
|
@ -74,8 +74,16 @@ echo -n "BignumCalc_Mod_BLS12_381_R," >>extra_options.h
|
|||
echo -n "KDF_HKDF," >>extra_options.h
|
||||
echo -n "Misc " >>extra_options.h
|
||||
echo -n "--digests=SHA256 " >>extra_options.h
|
||||
echo -n "--curves=BLS12_381 " >>extra_options.h
|
||||
echo -n '"' >>extra_options.h
|
||||
|
||||
# Build arkworks-algebra
|
||||
if [[ $CFLAGS != *-m32* && "$SANITIZER" != "memory" ]]
|
||||
then
|
||||
cd $SRC/cryptofuzz/modules/arkworks-algebra/
|
||||
make
|
||||
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_ARKWORKS_ALGEBRA"
|
||||
fi
|
||||
|
||||
if [[ $CFLAGS = *-m32* ]]
|
||||
then
|
||||
|
|
|
@ -17,3 +17,4 @@ auto_ccs:
|
|||
- "mariano@chia.net"
|
||||
- "arvid@chia.net"
|
||||
- "bill@chia.net"
|
||||
- "pratyush795@gmail.com"
|
||||
|
|
Loading…
Reference in New Issue