From 4f7ff3c79e25e9076af03eab88e658d7448ae7de Mon Sep 17 00:00:00 2001 From: phamvinhdat <38470262+phamvinhdat@users.noreply.github.com> Date: Mon, 1 Apr 2024 10:29:50 +0700 Subject: [PATCH] add boringcrypto experiment pkg (#194) Signed-off-by: pham vinh dat --- Makefile | 2 +- pkg/section/standard_list.go | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4e75d57..c5b8ac7 100644 --- a/Makefile +++ b/Makefile @@ -15,4 +15,4 @@ test: clean @go test -v -count=1 -cover ./... generate: - @go generate ./... + @GOEXPERIMENT=arenas,boringcrypto go generate ./... diff --git a/pkg/section/standard_list.go b/pkg/section/standard_list.go index 551bba4..a2cd0a6 100644 --- a/pkg/section/standard_list.go +++ b/pkg/section/standard_list.go @@ -1,6 +1,6 @@ package section -// Code generated based on go1.22.0 X:arenas. DO NOT EDIT. +// Code generated based on go1.22.0 X:boringcrypto,arenas. DO NOT EDIT. var standardPackages = map[string]struct{}{ "archive/tar": {}, @@ -20,6 +20,7 @@ var standardPackages = map[string]struct{}{ "context": {}, "crypto": {}, "crypto/aes": {}, + "crypto/boring": {}, "crypto/cipher": {}, "crypto/des": {}, "crypto/dsa": {}, @@ -37,6 +38,7 @@ var standardPackages = map[string]struct{}{ "crypto/sha512": {}, "crypto/subtle": {}, "crypto/tls": {}, + "crypto/tls/fipsonly": {}, "crypto/x509": {}, "crypto/x509/pkix": {}, "database/sql": {},