• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

bbig/25-Apr-2025-3426

bcache/25-Apr-2025-271165

fipstls/25-Apr-2025-6520

sig/25-Apr-2025-9342

syso/25-Apr-2025-101

DockerfileD25-Apr-20252.2 KiB6453

LICENSED25-Apr-20259.5 KiB203185

README.mdD25-Apr-20251.4 KiB4025

aes.goD25-Apr-202510.2 KiB386284

boring.goD25-Apr-20253 KiB12476

boring_test.goD25-Apr-2025842 3520

build-boring.shD25-Apr-20251.5 KiB4523

build-goboring.shD25-Apr-20255.6 KiB238164

build.shD25-Apr-20251.4 KiB4733

div_test.cD25-Apr-20251.4 KiB8462

doc.goD25-Apr-2025826 203

ecdh.goD25-Apr-20256.2 KiB225189

ecdsa.goD25-Apr-20254.7 KiB173143

goboringcrypto.hD25-Apr-202514.1 KiB256191

hmac.goD25-Apr-20254 KiB154116

notboring.goD25-Apr-20254.9 KiB12392

rand.goD25-Apr-2025696 2511

rsa.goD25-Apr-202512 KiB380306

sha.goD25-Apr-202516.2 KiB600470

README.md

1We have been working inside Google on a fork of Go that uses
2BoringCrypto (the core of [BoringSSL](https://boringssl.googlesource.com/boringssl/))
3for various crypto primitives, in furtherance of some work related to FIPS 140.
4We have heard that some external users of Go would be
5interested in this code as well, so we have published this code
6here in the main Go repository behind the setting GOEXPERIMENT=boringcrypto.
7
8Use of GOEXPERIMENT=boringcrypto outside Google is _unsupported_.
9This mode is not part of the [Go 1 compatibility rules](https://go.dev/doc/go1compat),
10and it may change incompatibly or break in other ways at any time.
11
12To be clear, we are not making any statements or representations about
13the suitability of this code in relation to the FIPS 140 standard.
14Interested users will have to evaluate for themselves whether the code
15is useful for their own purposes.
16
17---
18
19This directory holds the core of the BoringCrypto implementation
20as well as the build scripts for the module itself: syso/*.syso.
21
22syso/goboringcrypto_linux_amd64.syso is built with:
23
24	GOARCH=amd64 ./build.sh
25
26syso/goboringcrypto_linux_arm64.syso is built with:
27
28	GOARCH=arm64 ./build.sh
29
30Both run on an x86 Debian Linux system using Docker.
31For the arm64 build to run on an x86 system, you need
32
33	apt-get install qemu-user-static qemu-binfmt-support
34
35to allow the x86 kernel to run arm64 binaries via QEMU.
36
37See build.sh for more details about the build.
38
39
40