@@ -13,15 +13,21 @@ WORKDIR /boring
1313ENV LANG=C
1414ENV LANGUAGE=
1515
16- # Following NIST submission draft dated July 3, 2021.
17- # This corresponds to boringssl.googlesource.com/boringssl tag fips-20210429.
18- ENV ClangV=12
16+ # Following NIST submission draft for In Progress module validation.
17+ # This corresponds to boringssl.googlesource.com/boringssl tag fips-20220613.
1918RUN apt-get update && \
20- apt-get install --no-install-recommends -y cmake xz-utils wget unzip ca-certificates clang-$ClangV python
19+ apt-get install --no-install-recommends -y cmake xz-utils wget unzip ca-certificates python lsb-release software-properties-common gnupg
20+
21+ # Install Clang.
22+ ENV ClangV=14
23+ RUN \
24+ wget https://apt.llvm.org/llvm.sh && \
25+ chmod +x llvm.sh && \
26+ ./llvm.sh $ClangV
2127
2228# Download, validate, unpack, build, and install Ninja.
23- ENV NinjaV=1.10.2
24- ENV NinjaH=ce35865411f0490368a8fc383f29071de6690cbadc27704734978221f25e2bed
29+ ENV NinjaV=1.10.1
30+ ENV NinjaH=a6b6f7ac360d4aabd54e299cc1d8fa7b234cd81b9401693da21221c62569a23e
2531RUN \
2632 wget https://github.com/ninja-build/ninja/archive/refs/tags/v$NinjaV.tar.gz && \
2733 echo "$NinjaH v$NinjaV.tar.gz" >sha && sha256sum -c sha && \
3339
3440# Download, validate, unpack, and install Go.
3541ARG GOARCH
36- ENV GoV=1.16.5
37- ENV GoHamd64=b12c23023b68de22f74c0524f10b753e7b08b1504cb7e417eccebdd3fae49061
38- ENV GoHarm64=d5446b46ef6f36fdffa852f73dfbbe78c1ddf010b99fa4964944b9ae8b4d6799
42+ ENV GoV=1.18.1
43+ ENV GoHamd64=b3b815f47ababac13810fc6021eb73d65478e0b2db4b09d348eefad9581a2334
44+ ENV GoHarm64=56a91851c97fb4697077abbca38860f735c32b38993ff79b088dac46e4735633
3945RUN \
4046 eval GoH=\$ {GoH$GOARCH} && \
4147 wget https://golang.org/dl/go$GoV.linux-$GOARCH.tar.gz && \
4551 ln -s /usr/local/go/bin/go /usr/local/bin/
4652
4753# Download, validate, and unpack BoringCrypto.
48- ENV BoringV=853ca1ea1168dff08011e5d42d94609cc0ca2e27
49- ENV BoringH=a4d069ccef6f3c7bc0c68de82b91414f05cb817494cd1ab483dcf3368883c7c2
54+ ENV BoringV=0c6f40132b828e92ba365c6b7680e32820c63fa7
55+ ENV BoringH=62f733289f2d677c2723f556aa58034c438f3a7bbca6c12b156538a88e38da8a
5056RUN \
5157 wget https://commondatastorage.googleapis.com/chromium-boringssl-fips/boringssl-$BoringV.tar.xz && \
5258 echo "$BoringH boringssl-$BoringV.tar.xz" >sha && sha256sum -c sha && \
0 commit comments