]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.boringcrypto] cmd/compile: remove the awful boringcrypto kludge
authorRuss Cox <rsc@golang.org>
Wed, 27 Apr 2022 13:02:53 +0000 (09:02 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 29 Apr 2022 14:24:53 +0000 (14:24 +0000)
commitcdcb4b6ef37c1ce14637323dd00b5daad7e645c4
tree4808d511830e3492d46bb80f46118c974d966040
parente845f572ec6163fd3bad0267b5bb4f24d369bd93
[dev.boringcrypto] cmd/compile: remove the awful boringcrypto kludge

CL 60271 introduced this “AwfulBoringCryptoKludge.”
iant approved that CL saying “As long as it stays out of master...”

Now that the rsa and ecdsa code uses boring.Cache, the
“boring unsafe.Pointer” fields are gone from the key structs, and this
code is no longer needed. So delete it.

With the kludge deleted, we are one step closer to being able to merge
dev.boringcrypto into master.

For #51940.

Change-Id: Ie549db14b0b699c306dded2a2163f18f31d45530
Reviewed-on: https://go-review.googlesource.com/c/go/+/395884
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
misc/boring/VERSION
src/cmd/compile/internal/amd64/versions_test.go
src/cmd/compile/internal/reflectdata/reflect.go