tree: b223c6a0143d8fd333b256ed8acf6372f0598824 [path history] [tgz]
  1. bbig/
  2. bcache/
  3. fipstls/
  4. sig/
  5. syso/
  6. aes.go
  7. boring.go
  8. boring_test.go
  9. build-boring.sh
  10. build-goboring.sh
  11. build.sh
  12. div_test.c
  13. doc.go
  14. Dockerfile
  15. ecdsa.go
  16. goboringcrypto.h
  17. hmac.go
  18. LICENSE
  19. notboring.go
  20. rand.go
  21. README.md
  22. rsa.go
  23. sha.go
src/crypto/internal/boring/README.md

This directory holds the core of the BoringCrypto implementation as well as the build scripts for the module itself: syso/*.syso.

syso/goboringcrypto_linux_amd64.syso is built with:

GOARCH=amd64 ./build.sh

syso/goboringcrypto_linux_arm64.syso is built with:

GOARCH=arm64 ./build.sh

Both run on an x86 Debian Linux system using Docker. For the arm64 build to run on an x86 system, you need

apt-get install qemu-user-static qemu-binfmt-support

to allow the x86 kernel to run arm64 binaries via QEMU.

See build.sh for more details.