sidh: sidh support in boringssl
This commit is contained in:
parent
cb67de3e1f
commit
96db6f14d8
@ -3,6 +3,7 @@ FROM alpine
|
|||||||
RUN apk add --update \
|
RUN apk add --update \
|
||||||
git \
|
git \
|
||||||
cmake \
|
cmake \
|
||||||
|
patch \
|
||||||
perl \
|
perl \
|
||||||
python \
|
python \
|
||||||
build-base \
|
build-base \
|
||||||
@ -53,9 +54,12 @@ RUN mkdir boringssl/build
|
|||||||
# TLS 1.3
|
# TLS 1.3
|
||||||
ARG REVISION=d451453067cd665a5c38830fbbaac9e599234a5e
|
ARG REVISION=d451453067cd665a5c38830fbbaac9e599234a5e
|
||||||
|
|
||||||
|
ADD sidh_$REVISION.patch /
|
||||||
|
|
||||||
RUN cd boringssl && git fetch
|
RUN cd boringssl && git fetch
|
||||||
RUN cd boringssl && git checkout $REVISION
|
RUN cd boringssl && git checkout $REVISION
|
||||||
RUN cd boringssl/build && cmake -GNinja ..
|
RUN cd boringssl && patch -p1 < /sidh_$REVISION.patch
|
||||||
|
RUN cd boringssl/build && cmake -DEXP_SIDH=1 -GNinja ..
|
||||||
RUN cd boringssl && ninja -C build
|
RUN cd boringssl && ninja -C build
|
||||||
|
|
||||||
ADD httpreq.txt /httpreq.txt
|
ADD httpreq.txt /httpreq.txt
|
||||||
|
13967
_dev/boring/sidh_d451453067cd665a5c38830fbbaac9e599234a5e.patch
Normal file
13967
_dev/boring/sidh_d451453067cd665a5c38830fbbaac9e599234a5e.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user