crypto: boringcrypto NewGCMTLS no longer accessible #56326
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?go1.19.2
Does this issue reproduce with the latest release?
Yes
What did you do?
Before go1.19, the dev.boringcrypto branch let you access the NewGCMTLS function because it was exposed on the AES cipher struct.
You could do the following:
But this is no longer possible as the method is no longer exposed on the internal/boring AES struct. It was removed by this CL: https://go-review.googlesource.com/c/go/+/403976 as part of #51940.
It is useful to be able to use this GCM mode directly from an application using the boringcrypto experiment. The way it was exposed on the aes struct previously was ideal since it was hidden unless boringcrypto was active, but any other way of exposing it would work as well.
The text was updated successfully, but these errors were encountered: